pyams_content.shared.common.zmi package¶
+Submodules¶
+pyams_content.shared.common.zmi.dashboard module¶
+-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
BaseDashboardTable
(context, request)¶
+ Bases:
+pyams_skin.table.BaseTable
Base dashboard table
+-
+
-
+
data_attributes
¶
+
-
+
-
+
dt_sort_order
= 'desc'¶
+
-
+
-
+
sortOn
= None¶
+
-
+
-
+
title
¶
+
-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
FavoritesColumnAddRemoveColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.JsActionColumn
Favorites column add/remove column
+-
+
-
+
cssClasses
= {'td': 'action switcher', 'th': 'action'}¶
+
-
+
-
+
get_icon
(item)¶
+
-
+
-
+
get_url
(item)¶
+
-
+
-
+
icon_class
= 'fa fa-fw fa-star'¶
+
-
+
-
+
icon_hint
= 'Add/remove from favorites'¶
+
-
+
-
+
url
= 'PyAMS_content.profile.switchFavorite'¶
+
-
+
-
+
weight
= 1¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolAllContentsMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared tool ‘all contents’ dashboard menu
+-
+
-
+
icon_class
= 'fa-pencil-square'¶
+
-
+
-
+
label
= 'Other interventions'¶
+
-
+
-
+
url
= '#'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolAllPublicationsHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_skin.page.DefaultPageHeaderAdapter
Shared tool published contents header adapter
+-
+
-
+
back_url
= '#dashboard.html'¶
+
-
+
-
+
icon_class
= 'fa fa-fw fa-pencil-square'¶
+
-
+
-
+
subtitle
= 'Last published contents'¶
+
-
+
-
+
title
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolAllPublicationsMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared tool published contents dashboard menu
+-
+
-
+
icon_class
= None¶
+
-
+
-
+
label
= 'Last publications'¶
+
-
+
-
+
url
= '#all-publications.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolAllPublicationsTable
(context, request)¶
+ Bases:
+pyams_content.shared.common.zmi.dashboard.BaseDashboardTable
Shared tool published contents table
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolAllPublicationsValues
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared tool published contents values adapter
+-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolAllPublicationsView
(context, request)¶
+ Bases:
+pyams_zmi.view.InnerAdminView
,pyams_skin.container.ContainerView
Shared tool published contents view
+-
+
-
+
table_class
¶
+ alias of
+SharedToolAllPublicationsTable
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolAllUpdatesHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_skin.page.DefaultPageHeaderAdapter
Shared tool updated contents header adapter
+-
+
-
+
back_url
= '#dashboard.html'¶
+
-
+
-
+
icon_class
= 'fa fa-fw fa-pencil-square'¶
+
-
+
-
+
subtitle
= 'Last updated contents'¶
+
-
+
-
+
title
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolAllUpdatesMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared tool updated contents dashboard menu
+-
+
-
+
icon_class
= None¶
+
-
+
-
+
label
= 'Last updates'¶
+
-
+
-
+
url
= '#all-updates.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolAllUpdatesTable
(context, request)¶
+ Bases:
+pyams_content.shared.common.zmi.dashboard.BaseDashboardTable
Shared tool updated contents table
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolAllUpdatesValues
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared tool updated contents values adapter
+-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolAllUpdatesView
(context, request)¶
+ Bases:
+pyams_zmi.view.InnerAdminView
,pyams_skin.container.ContainerView
Shared tool updated contents view
+-
+
-
+
table_class
¶
+ alias of
+SharedToolAllUpdatesTable
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolArchivedContentsHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_skin.page.DefaultPageHeaderAdapter
Shared tool archived contents header adapter
+-
+
-
+
back_url
= '#dashboard.html'¶
+
-
+
-
+
icon_class
= 'fa fa-fw fa-user'¶
+
-
+
-
+
subtitle
= 'Your archived contents'¶
+
-
+
-
+
title
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolArchivedContentsTable
(context, request)¶
+ Bases:
+pyams_content.shared.common.zmi.dashboard.BaseDashboardTable
Shared tool archived contents table
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolArchivedContentsValues
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared tool archived contents values adapter
+-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolArchivedContentsView
(context, request)¶
+ Bases:
+pyams_zmi.view.InnerAdminView
,pyams_skin.container.ContainerView
Shared tool archived contents view
+-
+
-
+
table_class
¶
+ alias of
+SharedToolArchivedContentsTable
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolArchivedMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared tool archived contents dashboard menu
+-
+
-
+
icon_class
= None¶
+
-
+
-
+
label
= 'My archived contents'¶
+
-
+
-
+
url
= '#my-archived-contents.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardContentNameAdapter
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared tool dashboard content name adapter
+-
+
-
+
name
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_skin.page.DefaultPageHeaderAdapter
Shared tool properties header adapter
+-
+
-
+
back_target
= None¶
+
-
+
-
+
back_url
= '/admin#dashboard.html'¶
+
-
+
-
+
icon_class
= 'fa fa-fw fa-line-chart'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardManagerWaitingTable
(context, request)¶
+ Bases:
+pyams_content.shared.common.zmi.dashboard.BaseDashboardTable
Shared tool dashboard waiting table
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardManagerWaitingValues
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared tool dashboard waiting values adapter
+-
+
-
+
check_access
(content)¶
+
-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared tool dashboard menu
+-
+
-
+
icon_class
= 'fa-line-chart'¶
+
-
+
-
+
label
= 'Dashboard'¶
+
-
+
-
+
url
= '#dashboard.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardModifiedColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.I18nColumn
,z3c.table.column.GetAttrColumn
Shared tool dashboard modified column
+-
+
-
+
getValue
(obj)¶
+
-
+
-
+
weight
= 40¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardNameAdapter
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared tool dashboard name adapter
+-
+
-
+
name
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardNameColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.NameColumn
Shared tool dashboard name column
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardOwnerColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.I18nColumn
,z3c.table.column.GetAttrColumn
Shared tool dashboard owner column
+-
+
-
+
cssClasses
= {'td': 'col-xs-hide', 'th': 'col-xs-hide'}¶
+
-
+
-
+
getValue
(obj)¶
+
-
+
-
+
weight
= 35¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardOwnerModifiedTable
(context, request)¶
+ Bases:
+pyams_content.shared.common.zmi.dashboard.BaseDashboardTable
Shared tool dashboard owned modified contents table
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardOwnerModifiedValues
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared tool dashboard waiting owned contents values adapter
+-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardOwnerWaitingTable
(context, request)¶
+ Bases:
+pyams_content.shared.common.zmi.dashboard.BaseDashboardTable
Shared tool dashboard waiting owned contents table
+-
+
-
+
dt_sort_order
= 'asc'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardOwnerWaitingValues
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared tool dashboard waiting owned contents values adapter
+-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardSequenceColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.I18nColumn
,z3c.table.column.GetAttrColumn
Shared tool dashboard sequence ID column
+-
+
-
+
getValue
(obj)¶
+
-
+
-
+
weight
= 15¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardStatusColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.I18nColumn
,z3c.table.column.GetAttrColumn
Shared tool dashboard status column
+-
+
-
+
getValue
(obj)¶
+
-
+
-
+
weight
= 20¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardStatusDateColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.I18nColumn
,z3c.table.column.GetAttrColumn
Shared tool dashboard status date column
+-
+
-
+
cssClasses
= {'td': 'col-xs-hide col-sm-hide', 'th': 'col-xs-hide col-sm-hide'}¶
+
-
+
-
+
getValue
(obj)¶
+
-
+
-
+
weight
= 21¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardStatusPrincipalColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.I18nColumn
,z3c.table.column.GetAttrColumn
Shared tool dashboard status principal column
+-
+
-
+
cssClasses
= {'td': 'col-xs-hide', 'th': 'col-xs-hide'}¶
+
-
+
-
+
getValue
(obj)¶
+
-
+
-
+
weight
= 30¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardVersionColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.I18nColumn
,z3c.table.column.GetAttrColumn
Shared tool dashboard version column
+-
+
-
+
getValue
(obj)¶
+
-
+
-
+
weight
= 25¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolDashboardView
(context, request)¶
+ Bases:
+pyams_zmi.view.InnerAdminView
Shared tool dashboard view
+-
+
-
+
header_title
¶
+
-
+
-
+
title
= 'Contents dashboard'¶
+
-
+
-
+
update
()¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolFavoritesHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_skin.page.DefaultPageHeaderAdapter
Shared tool favorites header adapter
+-
+
-
+
back_url
= '#dashboard.html'¶
+
-
+
-
+
icon_class
= 'fa fa-fw fa-user'¶
+
-
+
-
+
subtitle
= 'Your favorites'¶
+
-
+
-
+
title
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolFavoritesMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared tool favorites dashboard menu
+-
+
-
+
icon_class
= None¶
+
-
+
-
+
label
= 'My favorites'¶
+
-
+
-
+
url
= '#my-favorites.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolFavoritesTable
(context, request)¶
+ Bases:
+pyams_content.shared.common.zmi.dashboard.BaseDashboardTable
Shared tool favorites table
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolFavoritesValues
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared tool favorites values adapter
+-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolFavoritesView
(context, request)¶
+ Bases:
+pyams_zmi.view.InnerAdminView
,pyams_skin.container.ContainerView
Shared tool favorites view
+-
+
-
+
table_class
¶
+ alias of
+SharedToolFavoritesTable
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolMyDashboardMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared tool ‘my contents’ dashboard menu
+-
+
-
+
icon_class
= 'fa-user'¶
+
-
+
-
+
label
= 'My contents'¶
+
-
+
-
+
url
= '#'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolPreparationsHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_skin.page.DefaultPageHeaderAdapter
Shared tool preparations header adapter
+-
+
-
+
back_url
= '#dashboard.html'¶
+
-
+
-
+
icon_class
= 'fa fa-fw fa-user'¶
+
-
+
-
+
subtitle
= 'Your prepared contents'¶
+
-
+
-
+
title
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolPreparationsMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared tool preparations dashboard menu
+-
+
-
+
icon_class
= None¶
+
-
+
-
+
label
= 'My preparations'¶
+
-
+
-
+
url
= '#my-preparations.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolPreparationsTable
(context, request)¶
+ Bases:
+pyams_content.shared.common.zmi.dashboard.BaseDashboardTable
Shared tool preparations table
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolPreparationsValues
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared tool preparations values adapter
+-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolPreparationsView
(context, request)¶
+ Bases:
+pyams_zmi.view.InnerAdminView
,pyams_skin.container.ContainerView
Shared tool preparations view
+-
+
-
+
table_class
¶
+ alias of
+SharedToolPreparationsTable
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolPublicationsHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_skin.page.DefaultPageHeaderAdapter
Shared tool publications header adapter
+-
+
-
+
back_url
= '#dashboard.html'¶
+
-
+
-
+
icon_class
= 'fa fa-fw fa-user'¶
+
-
+
-
+
subtitle
= 'Your published contents'¶
+
-
+
-
+
title
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolPublicationsMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared tool publications dashboard menu
+-
+
-
+
icon_class
= None¶
+
-
+
-
+
label
= 'My publications'¶
+
-
+
-
+
url
= '#my-publications.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolPublicationsTable
(context, request)¶
+ Bases:
+pyams_content.shared.common.zmi.dashboard.BaseDashboardTable
Shared tool publications table
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolPublicationsValues
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared tool publications values adapter
+-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolPublicationsView
(context, request)¶
+ Bases:
+pyams_zmi.view.InnerAdminView
,pyams_skin.container.ContainerView
Shared tool publications view
+-
+
-
+
table_class
¶
+ alias of
+SharedToolPublicationsTable
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolRetiredContentsHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_skin.page.DefaultPageHeaderAdapter
Shared tool retired contents header adapter
+-
+
-
+
back_url
= '#dashboard.html'¶
+
-
+
-
+
icon_class
= 'fa fa-fw fa-user'¶
+
-
+
-
+
subtitle
= 'Your retired contents'¶
+
-
+
-
+
title
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolRetiredContentsTable
(context, request)¶
+ Bases:
+pyams_content.shared.common.zmi.dashboard.BaseDashboardTable
Shared tool retired contents table
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolRetiredContentsValues
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared tool retired contents values adapter
+-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolRetiredContentsView
(context, request)¶
+ Bases:
+pyams_zmi.view.InnerAdminView
,pyams_skin.container.ContainerView
Shared tool retired contents view
+-
+
-
+
table_class
¶
+ alias of
+SharedToolRetiredContentsTable
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolRetiredMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared tool retired contents dashboard menu
+-
+
-
+
icon_class
= None¶
+
-
+
-
+
label
= 'My retired contents'¶
+
-
+
-
+
url
= '#my-retired-contents.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolSubmissionsHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_skin.page.DefaultPageHeaderAdapter
Shared tool submissions header adapter
+-
+
-
+
back_url
= '#dashboard.html'¶
+
-
+
-
+
icon_class
= 'fa fa-fw fa-user'¶
+
-
+
-
+
subtitle
= 'Your submitted contents'¶
+
-
+
-
+
title
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolSubmissionsMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared tool submissions dashboard menu
+-
+
-
+
icon_class
= None¶
+
-
+
-
+
label
= 'My submissions'¶
+
-
+
-
+
url
= '#my-submissions.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolSubmissionsTable
(context, request)¶
+ Bases:
+pyams_content.shared.common.zmi.dashboard.BaseDashboardTable
Shared tool submissions table
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolSubmissionsValues
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared tool submissions values adapter
+-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.dashboard.
SharedToolSubmissionsView
(context, request)¶
+ Bases:
+pyams_zmi.view.InnerAdminView
,pyams_skin.container.ContainerView
Shared tool submissions view
+-
+
-
+
table_class
¶
+ alias of
+SharedToolSubmissionsTable
-
+
pyams_content.shared.common.zmi.header module¶
+-
+
-
+class
pyams_content.shared.common.zmi.header.
SharedContentHeaderContentProvider
(context, request, view)¶
+ Bases:
+object
Header for shared contents
+-
+
-
+
back_target
= None¶
+
-
+
-
+
back_url
= '#summary.html'¶
+
-
+
-
+
favorite_content
¶
+
-
+
-
+
hex_oid
¶
+
-
+
-
+
icon_class
= ''¶
+
-
+
-
+
title
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.header.
SharedContentInnerPageHeaderContentProvider
¶
+ Bases:
+object
Inner page header content provider
+-
+
-
+
render
()¶
+
-
+
-
+
update
()¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.header.
SharedContentTitlePrefixAdapter
(context, request)¶
+ Bases:
+pyams_skin.site.ContextTitlePrefixAdapter
Shared content title prefix adapter
+-
+
-
+
prefix
¶
+
-
+
pyams_content.shared.common.zmi.i18n module¶
+-
+
-
+class
pyams_content.shared.common.zmi.i18n.
SharedContentLanguageEditFormPermissionChecker
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
I18n manager language edit form permission checker
+-
+
-
+
edit_permission
= 'pyams.ManageContent'¶
+
-
+
pyams_content.shared.common.zmi.manager module¶
+-
+
-
+class
pyams_content.shared.common.zmi.manager.
SharedToolBreadcrumbAdapter
(context, request)¶
+ Bases:
+pyams_skin.viewlet.breadcrumb.BreadcrumbItem
Shared tool breadcrumb adapter
+-
+
-
+
css_class
= 'strong'¶
+
-
+
-
+
label
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.manager.
SharedToolLanguagesAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_content.shared.common.zmi.manager.SharedToolLanguagesEditForm
Shared tool languages edit form, JSON renderer
+
-
+
-
+class
pyams_content.shared.common.zmi.manager.
SharedToolLanguagesEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminEditForm
Shared tool languages edit form
+-
+
-
+
ajax_handler
= 'languages.json'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageTool'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
legend
= 'Content languages'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.manager.
SharedToolLanguagesEditFormHelp
(context, request, view)¶
+ Bases:
+pyams_form.help.FormHelp
Shared tool languages edit form help
+-
+
-
+
message
= 'Tool languages are used to translate own tool properties, and newly created contents will propose these languages by default'¶
+
-
+
-
+
message_format
= 'rest'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.manager.
SharedToolLanguagesMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared tool languages menu
+-
+
-
+
icon_class
= 'fa-flag'¶
+
-
+
-
+
label
= 'Languages'¶
+
-
+
-
+
url
= '#languages.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.manager.
SharedToolPropertiesAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_content.shared.common.zmi.manager.SharedToolPropertiesEditForm
Shared tool properties edit form, JSON renderer
+
-
+
-
+class
pyams_content.shared.common.zmi.manager.
SharedToolPropertiesEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminEditForm
Shared tool properties edit form
+-
+
-
+
ajax_handler
= 'properties.json'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageTool'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
legend
= 'Shared tool properties'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.manager.
SharedToolPropertiesHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_skin.page.DefaultPageHeaderAdapter
Shared tool properties header adapter
+-
+
-
+
back_target
= None¶
+
-
+
-
+
back_url
= '/admin#properties.html'¶
+
-
+
-
+
icon_class
= 'fa fa-fw fa-edit'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.manager.
SharedToolPropertiesHelpAdapter
(context, request, view)¶
+ Bases:
+pyams_form.help.FormHelp
Shared tool properties help adapter
+-
+
-
+
header
= 'WARNING'¶
+
-
+
-
+
message
= "Workflow shouldn't be modified if this tool already contains any shared content!"¶
+
-
+
-
+
message_format
= 'rest'¶
+
-
+
-
+
permission
= 'pyams.ManageTool'¶
+
-
+
-
+
status
= 'danger'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.manager.
SharedToolPropertiesMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared tool properties menu
+-
+
-
+
icon_class
= 'fa-edit'¶
+
-
+
-
+
label
= 'Properties'¶
+
-
+
-
+
url
= '#properties.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.manager.
SharedToolSiteManagementMenuHeader
(context, request)¶
+ Bases:
+pyams_utils.adapter.ContextRequestAdapter
Shared tool site management menu header adapter
+-
+
-
+
header
= 'Tool management'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.manager.
SharedToolTitleAdapter
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared tool title adapter
+-
+
-
+
title
¶
+
-
+
pyams_content.shared.common.zmi.owner module¶
+-
+
-
+class
pyams_content.shared.common.zmi.owner.
WfSharedContentOwnerChangeAJAXForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXAddForm
,pyams_content.shared.common.zmi.owner.WfSharedContentOwnerChangeForm
Shared content owner change form, JSON renderer
+-
+
-
+
get_ajax_output
(changes)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.owner.
WfSharedContentOwnerChangeForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogAddForm
Shared content owner change form
+-
+
-
+
ajax_handler
= 'change-owner.json'¶
+
-
+
-
+
buttons
= <z3c.form.button.Buttons object>¶
+
-
+
-
+
createAndAdd
(data)¶
+
-
+
-
+
edit_permission
= 'pyams.ManageSite'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
legend
= "Change content's owner"¶
+
-
+
-
+
updateActions
()¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.owner.
WfSharedContentOwnerChangeFormHelp
(context, request, view)¶
+ Bases:
+pyams_form.help.FormHelp
Shared content owner change form help
+-
+
-
+
message
= 'All versions of this content which are not archived will be transferred to newly selected owner'¶
+
-
+
-
+
message_format
= 'rest'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.owner.
WfSharedContentOwnerChangeMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared content owner change menu
+-
+
-
+
icon_class
= 'fa fa-fw fa-user'¶
+
-
+
-
+
label
= 'Change owner...'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'change-owner.html'¶
+
-
+
pyams_content.shared.common.zmi.properties module¶
+-
+
-
+class
pyams_content.shared.common.zmi.properties.
SharedContentCompositionMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared content properties menu
+-
+
-
+
icon_class
= 'fa-dropbox'¶
+
-
+
-
+
label
= 'Composition'¶
+
-
+
-
+
url
= '#summary.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.properties.
SharedContentPropertiesAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_content.shared.common.zmi.properties.SharedContentPropertiesEditForm
Shared content properties edit form, JSON renderer
+-
+
-
+
get_ajax_output
(changes)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.properties.
SharedContentPropertiesEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminEditForm
Shared content properties edit form
+-
+
-
+
ajax_handler
= 'properties.json'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
legend
= 'Content properties'¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.properties.
SharedContentPropertiesHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_content.shared.common.zmi.WfSharedContentHeaderAdapter
Shared content properties header adapter
+-
+
-
+
icon_class
= 'fa fa-fw fa-edit'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.properties.
SharedContentPropertiesMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared content properties menu
+-
+
-
+
icon_class
= 'fa-edit'¶
+
-
+
-
+
label
= 'Properties'¶
+
-
+
-
+
url
= '#properties.html'¶
+
-
+
pyams_content.shared.common.zmi.search module¶
+-
+
-
+class
pyams_content.shared.common.zmi.search.
SearchResultsViewValuesAdapter
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Search results view values adapter
+-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.search.
SharedToolAdvancedSearchForm
(context, request)¶
+ Bases:
+pyams_form.search.SearchForm
Shared tool advanced search form
+-
+
-
+
ajax_handler
= 'advanced-search-results.html'¶
+
-
+
-
+
fields
¶
+
-
+
-
+
legend
= 'Advanced search'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.search.
SharedToolAdvancedSearchFormSearchAdapter
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared tool adavanced search form search adapter
+-
+
-
+
get_search_results
(data)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.search.
SharedToolAdvancedSearchHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_skin.page.DefaultPageHeaderAdapter
Shared tool advanced search header adapter
+-
+
-
+
back_target
= None¶
+
-
+
-
+
back_url
= '#dashboard.html'¶
+
-
+
-
+
icon_class
= 'fa fa-fw fa-search'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.search.
SharedToolAdvancedSearchMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared tool advanced search menu
+-
+
-
+
icon_class
= None¶
+
-
+
-
+
label
= 'Advanced search'¶
+
-
+
-
+
url
= '#advanced-search.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.search.
SharedToolAdvancedSearchResultsView
(context, request)¶
+ Bases:
+pyams_zmi.view.AdminView
,pyams_form.search.SearchResultsView
Shared tool advanced search results view
+-
+
-
+
data_attributes
¶
+
-
+
-
+
search_form_factory
¶
+ alias of
+SharedToolAdvancedSearchForm
-
+
-
+
sortOn
= None¶
+
-
+
-
+
title
= 'Advanced search results'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.search.
SharedToolAdvancedSearchView
¶
+ Bases:
+pyams_form.search.SearchView
Shared tool advanced search view
+-
+
-
+
search_form_factory
¶
+ alias of
+SharedToolAdvancedSearchForm
-
+
-
+
-
+class
pyams_content.shared.common.zmi.search.
SharedToolQuickSearchResults
(context, request)¶
+ Bases:
+pyams_skin.table.BaseTable
Shared tool quick search results table
+-
+
-
+
data_attributes
¶
+
-
+
-
+
sortOn
= None¶
+
-
+
-
+
title
= 'Quick search results'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.search.
SharedToolQuickSearchValues
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared tool quick search results view values adapter
+-
+
-
+
values
¶
+
-
+
-
+
-
+
pyams_content.shared.common.zmi.search.
shared_tool_quick_search_view
(request)¶
+ Shared tool quick search view
+
pyams_content.shared.common.zmi.security module¶
+-
+
-
+class
pyams_content.shared.common.zmi.security.
PrincipalInfoElementEditor
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Principal info element editor
+-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
¶
+
-
+
-
+
view_name
= 'manager-restrictions.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.security.
SharedToolManagerRestrictionsAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_content.shared.common.zmi.security.SharedToolManagerRestrictionsEditForm
Shared tool manager restrictions edit form, JSON renderer
+-
+
-
+
get_ajax_output
(changes)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.security.
SharedToolManagerRestrictionsEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
Shared tool manager restrictions edit form
+-
+
-
+
ajax_handler
= 'manager-restrictions.json'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageTool'¶
+
-
+
-
+
fields
¶
+
-
+
-
+
getContent
()¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-lock'¶
+
-
+
-
+
interface
¶
+
-
+
-
+
legend
¶
+
-
+
-
+
principal
¶
+
-
+
-
+
principal_id
¶
+
-
+
-
+
update
()¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.security.
SharedToolManagerRestrictionsEnabledColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.I18nColumn
,z3c.table.column.GetAttrColumn
Shared tool manager enabled restrictions column
+-
+
-
+
cssClasses
= {'td': 'center'}¶
+
-
+
-
+
getValue
(obj)¶
+
-
+
-
+
weight
= 45¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.security.
SharedToolManagerRestrictionsNameColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.I18nColumn
,z3c.table.column.GetAttrColumn
Shared tool manager restrictions name column
+-
+
-
+
attrName
= 'title'¶
+
-
+
-
+
weight
= 10¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.security.
SharedToolManagerRestrictionsOwnersColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.I18nColumn
,z3c.table.column.GetAttrColumn
Shared tool manager owners restrictions column
+-
+
-
+
cssClasses
= {'td': 'center'}¶
+
-
+
-
+
getValue
(obj)¶
+
-
+
-
+
weight
= 50¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.security.
SharedToolManagerRestrictionsValuesAdapter
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared tool manager restrictions values adapter
+-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.security.
SharedToolManagersRestrictionsHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_skin.page.DefaultPageHeaderAdapter
Shared tool managers restrictions header adapter
+-
+
-
+
back_target
= None¶
+
-
+
-
+
back_url
= 'admin#protected-object-roles.html'¶
+
-
+
-
+
icon_class
= 'fa fa-fw fa-lock'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.security.
SharedToolManagersRestrictionsMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Shared tool managers restrictions menu
+-
+
-
+
icon_class
= 'fa-lock'¶
+
-
+
-
+
label
= 'Managers restrictions'¶
+
-
+
-
+
url
= '#managers-restrictions.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.security.
SharedToolManagersRestrictionsTable
(context, request)¶
+ Bases:
+pyams_skin.table.BaseTable
Shared tool manager restrictions table
+-
+
-
+
id
= 'security_manager_restrictions'¶
+
-
+
-
+
title
= 'Content managers restrictions'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.security.
SharedToolManagersRestrictionsView
(context, request)¶
+ Bases:
+pyams_zmi.view.AdminView
,pyams_skin.container.ContainerView
Shared tool managers restrictions view
+-
+
-
+
table_class
¶
+ alias of
+SharedToolManagersRestrictionsTable
-
+
pyams_content.shared.common.zmi.site module¶
+-
+
-
+class
pyams_content.shared.common.zmi.site.
SharedSiteDashboardSearchHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Site manager dashboard search header adapter
+-
+
-
+
title
¶
+
-
+
pyams_content.shared.common.zmi.summary module¶
+-
+
-
+class
pyams_content.shared.common.zmi.summary.
SharedContentDublinCoreSummary
(context, request, view=None)¶
+ Bases:
+pyams_zmi.form.InnerAdminDisplayForm
Shared content DublinCore summary
+-
+
-
+
css_class
= 'form-tight'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
tab_label
= 'Identity card'¶
+
-
+
-
+
weight
= 1¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.summary.
SharedContentSummaryForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDisplayForm
Shared content summary form
+-
+
-
+
css_class
= 'ams-form form-horizontal form-tight'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
legend
= 'Display content summary'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.summary.
SharedContentSummaryFormHeaderProvider
(context, request, view)¶
+ Bases:
+pyams_content.shared.common.zmi.header.SharedContentHeaderContentProvider
Shared content summary form header provider
+-
+
-
+
back_url
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.summary.
SharedContentWorkflowHistorySummary
(context, request, view=None)¶
+ Bases:
+pyams_zmi.form.InnerAdminDisplayForm
Shared content workflow history summary
+-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
legend
= 'Content history'¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
weight
= 40¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.summary.
SharedContentWorkflowPublicationState
(context, request, view=None)¶
+ Bases:
+pyams_zmi.form.InnerAdminDisplayForm
Shared content workflow publication state summary
+-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
legend
= 'Publication and retire dates'¶
+
-
+
-
+
weight
= 20¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.summary.
SharedContentWorkflowVersionSummary
(context, request, view=None)¶
+ Bases:
+pyams_zmi.form.InnerAdminDisplayForm
Shared content workflow version summary
+-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
legend
= 'Current version'¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
weight
= 30¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.summary.
SharedContentWorkflowWaitingState
(context, request, view=None)¶
+ Bases:
+pyams_zmi.form.InnerAdminAddForm
Shared content workflow waiting state summary
+-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
legend
= 'Requested action'¶
+
-
+
-
+
mode
= 'display'¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
weight
= 10¶
+
-
+
pyams_content.shared.common.zmi.types module¶
+-
+
-
+class
pyams_content.shared.common.zmi.types.
DataSubtypeAJAXAddForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXAddForm
,pyams_content.shared.common.zmi.types.DataSubtypeAddForm
Data subtype add form, JSON renderer
+-
+
-
+
get_ajax_output
(changes)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
DataSubtypeAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_content.shared.common.zmi.types.DataSubtypeEditForm
Data subtype edit form, JSON renderer
+-
+
-
+
get_ajax_output
(changes)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
DataSubtypeAddAction
(context, request, view, manager)¶
+ Bases:
+pyams_skin.viewlet.toolbar.ToolbarAction
Data subtype adding action
+-
+
-
+
label
= 'Add subtype'¶
+
-
+
-
+
label_css_class
= 'fa fa-fw fa-plus'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'add-data-subtype.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
DataSubtypeAddForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogAddForm
Data subtype add form
+-
+
-
+
add
(object)¶
+
-
+
-
+
ajax_handler
= 'add-data-subtype.json'¶
+
-
+
-
+
create
(data)¶
+
-
+
-
+
edit_permission
= 'pyams.ManageTool'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-folder-o'¶
+
-
+
-
+
input_css_class
= 'col-md-8'¶
+
-
+
-
+
label_css_class
= 'control-label col-md-4'¶
+
-
+
-
+
legend
= 'Add new subtype'¶
+
-
+
-
+
nextURL
()¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
DataSubtypeEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
Data subtype edit form
+-
+
-
+
ajax_handler
= 'properties.json'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageTool'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-folder-o'¶
+
-
+
-
+
input_css_class
= 'col-md-8'¶
+
-
+
-
+
label_css_class
= 'control-label col-md-4'¶
+
-
+
-
+
legend
= 'Data subtype properties'¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
DataTypeAJAXAddForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXAddForm
,pyams_content.shared.common.zmi.types.DataTypeAddForm
Data type add form, JSON renderer
+-
+
-
+
nextURL
()¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
DataTypeAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_content.shared.common.zmi.types.DataTypeEditForm
Data type edit form, JSON renderer
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
DataTypeAddAction
(context, request, view, manager)¶
+ Bases:
+pyams_skin.viewlet.toolbar.ToolbarAction
Data type adding action
+-
+
-
+
label
= 'Add data type'¶
+
-
+
-
+
label_css_class
= 'fa fa-fw fa-plus'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'add-data-type.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
DataTypeAddForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogAddForm
Data type add form
+-
+
-
+
add
(object)¶
+
-
+
-
+
ajax_handler
= 'add-data-type.json'¶
+
-
+
-
+
create
(data)¶
+
-
+
-
+
edit_permission
= 'pyams.ManageTool'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-folder-o'¶
+
-
+
-
+
input_css_class
= 'col-md-8'¶
+
-
+
-
+
label_css_class
= 'control-label col-md-4'¶
+
-
+
-
+
legend
= 'Add new data type'¶
+
-
+
-
+
nextURL
()¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
DataTypeEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
Data type edit form
+-
+
-
+
ajax_handler
= 'properties.json'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageTool'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-folder-o'¶
+
-
+
-
+
input_css_class
= 'col-md-8'¶
+
-
+
-
+
label_css_class
= 'control-label col-md-4'¶
+
-
+
-
+
legend
= 'Data type properties'¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
DataTypeElementNameAdapter
(context, request)¶
+ Bases:
+pyams_utils.adapter.ContextRequestAdapter
Types shared tool types name adapter
+-
+
-
+
name
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
DatatypeSubtypesTable
(context, request)¶
+ Bases:
+pyams_skin.table.BaseTable
Data type subtypes table
+-
+
-
+
cssClasses
= {'table': 'table table-bordered table-striped table-hover table-tight table-dnd'}¶
+
-
+
-
+
data_attributes
¶
+
-
+
-
+
hide_header
= True¶
+
-
+
-
+
id
¶
+
-
+
-
+
sortOn
= None¶
+
-
+
-
+
values
¶
+
-
+
-
+
widget_class
= 'ams-widget margin-top-5'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
DatatypeSubtypesTableAssociationsColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.ActionColumn
Data type subtypes associations column
+-
+
-
+
icon_class
= 'fa fa-fw fa-link'¶
+
-
+
-
+
icon_hint
= 'Default associations'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
permission
= 'pyams.ManageTool'¶
+
-
+
-
+
url
= 'associations-dialog.html'¶
+
-
+
-
+
weight
= 110¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
DatatypeSubtypesTableNameColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.NameColumn
Data type subtypes table name column
+-
+
-
+
renderHeadCell
()¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
DatatypeSubtypesTableParagraphsColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.ActionColumn
Data type subtypes paragraphs column
+-
+
-
+
icon_class
= 'fa fa-fw fa-paragraph'¶
+
-
+
-
+
icon_hint
= 'Default paragraphs'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
permission
= 'pyams.ManageTool'¶
+
-
+
-
+
url
= 'paragraphs-dialog.html'¶
+
-
+
-
+
weight
= 100¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
DatatypeSubtypesTableSorterColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.SorterColumn
Data type subtypes table sorter column
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
DatatypeSubtypesTableTrashColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.TrashColumn
Data type subtypes table trash column
+-
+
-
+
permission
= 'pyams.ManageTool'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
DatatypeSubtypesTableValues
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Data type subtypes table values adapter
+-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
TypedSharedToolTypesAssociationsColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.ActionColumn
Typed shared tool types associations column
+-
+
-
+
icon_class
= 'fa fa-fw fa-link'¶
+
-
+
-
+
icon_hint
= 'Default associations'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
permission
= 'pyams.ManageTool'¶
+
-
+
-
+
url
= 'associations-dialog.html'¶
+
-
+
-
+
weight
= 110¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
TypedSharedToolTypesMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Typed shared tool types menu
+-
+
-
+
icon_class
= 'fa-folder-o'¶
+
-
+
-
+
label
= 'Data types'¶
+
-
+
-
+
url
= '#data-types.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
TypedSharedToolTypesNameColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.NameColumn
Typed shared tool types name column
+-
+
-
+
renderCell
(item)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
TypedSharedToolTypesParagraphsColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.ActionColumn
Typed shared tool types paragraphs column
+-
+
-
+
icon_class
= 'fa fa-fw fa-paragraph'¶
+
-
+
-
+
icon_hint
= 'Default paragraphs'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
permission
= 'pyams.ManageTool'¶
+
-
+
-
+
url
= 'paragraphs-dialog.html'¶
+
-
+
-
+
weight
= 100¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
TypedSharedToolTypesSorterColumn
(context, request, table)¶
+ Bases:
+pyams_form.security.ProtectedFormObjectMixin
,pyams_skin.table.SorterColumn
Typed shared tool types sorter column
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
TypedSharedToolTypesTable
(context, request)¶
+ Bases:
+pyams_form.security.ProtectedFormObjectMixin
,pyams_skin.table.BaseTable
Typed shared tool types table
+-
+
-
+
cssClasses
¶
+
-
+
-
+
data_attributes
¶
+
-
+
-
+
hide_header
= True¶
+
-
+
-
+
id
= 'types_list'¶
+
-
+
-
+
render
()¶
+
-
+
-
+
sortOn
= None¶
+
-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
TypedSharedToolTypesTrashColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.TrashColumn
Typed shared tool types trash column
+-
+
-
+
permission
= 'pyams.ManageTool'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
TypedSharedToolTypesValues
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Typed shared tool types table values adapter
+-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.types.
TypedSharedToolTypesView
(context, request)¶
+ Bases:
+pyams_zmi.view.ContainerAdminView
Typed shared tool types view
+-
+
-
+
table_class
¶
+ alias of
+TypedSharedToolTypesTable
-
+
-
+
title
= 'Content data types'¶
+
-
+
-
+
-
+
pyams_content.shared.common.zmi.types.
delete_data_type
(request)¶
+ Data type delete view
+
-
+
-
+
pyams_content.shared.common.zmi.types.
delete_subtype
(request)¶
+ Data subtype delete view
+
-
+
-
+
pyams_content.shared.common.zmi.types.
get_subtypes_table
(request)¶
+ Get subtypes table
+
-
+
-
+
pyams_content.shared.common.zmi.types.
handle_datatype_add_form_data_extraction
(event)¶
+ Check new data type for existing name
+
-
+
-
+
pyams_content.shared.common.zmi.types.
handle_subtype_add_form_data_extraction
(event)¶
+ Check new data subtype for existing name
+
-
+
-
+
pyams_content.shared.common.zmi.types.
set_data_types_order
(request)¶
+ Update data types order
+
-
+
-
+
pyams_content.shared.common.zmi.types.
set_subtypes_order
(request)¶
+ Update subtypes order
+
pyams_content.shared.common.zmi.workflow module¶
+-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationAJAXForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionAJAXForm
,pyams_content.shared.common.zmi.workflow.PublicationForm
Shared content publication form, JSON renderer
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationArchiveAJAXForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionAJAXForm
,pyams_content.shared.common.zmi.workflow.PublicationArchiveForm
Shared content publication archive form, JSON renderer
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationArchiveCancelAJAXForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionAJAXForm
,pyams_content.shared.common.zmi.workflow.PublicationArchiveCancelForm
Shared content publication archive request cancel form, JSON renderer
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationArchiveCancelForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionForm
Shared content publication archive request cancel form
+-
+
-
+
ajax_handler
= 'wf-cancel-archiving.json'¶
+
-
+
-
+
buttons
= <z3c.form.button.Buttons object>¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationArchiveCancelFormMessage
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication archive cancel form info message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationArchiveCancelFormWarning
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication archive cancel form warning message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationArchiveForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionForm
Shared content publication archive form
+-
+
-
+
ajax_handler
= 'wf-archive.json'¶
+
-
+
-
+
buttons
= <z3c.form.button.Buttons object>¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationArchiveFormMessage
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication archive form info message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationArchiveFormWarning
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication archive form warning message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationArchiveRequestAJAXForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionAJAXForm
,pyams_content.shared.common.zmi.workflow.PublicationArchiveRequestForm
Shared content publication archive request form, JSON renderer
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationArchiveRequestForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionForm
Shared content publication request archive form
+-
+
-
+
ajax_handler
= 'wf-archiving.json'¶
+
-
+
-
+
buttons
= <z3c.form.button.Buttons object>¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationArchiveRequestFormMessage
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication archive request form info message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationArchiveRequestFormWarning
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication archive request form warning message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionForm
Shared content publication form
+-
+
-
+
ajax_handler
= 'wf-publish.json'¶
+
-
+
-
+
buttons
= <z3c.form.button.Buttons object>¶
+
-
+
-
+
createAndAdd
(data)¶
+
-
+
-
+
fields
¶
+
-
+
-
+
input_css_class
= 'col-md-8'¶
+
-
+
-
+
label_css_class
= 'control-label col-md-4'¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationFormMessage
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Shared content publication form info message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationFormWarning
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Shared content publication form warning message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRequestAJAXForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionAJAXForm
,pyams_content.shared.common.zmi.workflow.PublicationRequestForm
Shared content publication request form, JSON renderer
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRequestCancelAJAXForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionAJAXForm
,pyams_content.shared.common.zmi.workflow.PublicationRequestCancelForm
Shared content publication request cancel form, JSON renderer
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRequestCancelForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionForm
Shared content publication request cancel form
+-
+
-
+
ajax_handler
= 'wf-cancel-propose.json'¶
+
-
+
-
+
buttons
= <z3c.form.button.Buttons object>¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRequestCancelFormMessage
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication request cancel form info message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRequestCancelFormWarning
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication request cancel form warning message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRequestForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionForm
Shared content publication request form
+-
+
-
+
ajax_handler
= 'wf-propose.json'¶
+
-
+
-
+
buttons
= <z3c.form.button.Buttons object>¶
+
-
+
-
+
createAndAdd
(data)¶
+
-
+
-
+
fields
¶
+
-
+
-
+
input_css_class
= 'col-md-8'¶
+
-
+
-
+
label_css_class
= 'control-label col-md-4'¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRequestFormMessage
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication request form info message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRequestFormWarning
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication request form warning message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRequestRefuseAJAXForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionAJAXForm
,pyams_content.shared.common.zmi.workflow.PublicationRequestRefuseForm
Shared content publication request refuse form, JSON renderer
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRequestRefuseForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionForm
Shared content publication request refuse form
+-
+
-
+
ajax_handler
= 'wf-refuse.json'¶
+
-
+
-
+
buttons
= <z3c.form.button.Buttons object>¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRequestRefuseFormMessage
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication request refuse form info message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRequestRefuseFormWarning
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication request refuse form warning message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRetireAJAXForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionAJAXForm
,pyams_content.shared.common.zmi.workflow.PublicationRetireForm
Shared content publication retire form, JSON renderer
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRetireCancelAJAXForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionAJAXForm
,pyams_content.shared.common.zmi.workflow.PublicationRetireCancelForm
Shared content publication retire request cancel form, JSON renderer
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRetireCancelForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionForm
Shared content publication retire request cancel form
+-
+
-
+
ajax_handler
= 'wf-cancel-retiring.json'¶
+
-
+
-
+
buttons
= <z3c.form.button.Buttons object>¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRetireCancelFormMessage
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication retire request form info message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRetireCancelFormWarning
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication retire request cancel form warning message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRetireForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionForm
Shared content publication retire form
+-
+
-
+
ajax_handler
= 'wf-retire.json'¶
+
-
+
-
+
buttons
= <z3c.form.button.Buttons object>¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRetireFormMessage
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication retire form info message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRetireFormWarning
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication retire form warning message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRetireRequestAJAXForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionAJAXForm
,pyams_content.shared.common.zmi.workflow.PublicationRetireRequestForm
Shared content publication retire request form, JSON renderer
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRetireRequestForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionForm
Shared content publication request refuse form
+-
+
-
+
ajax_handler
= 'wf-retiring.json'¶
+
-
+
-
+
buttons
= <z3c.form.button.Buttons object>¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRetireRequestFormMessage
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication retire request form info message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
PublicationRetireRequestFormWarning
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication retire request form warning message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
SharedContentCloneAJAXForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXAddForm
,pyams_content.shared.common.zmi.workflow.SharedContentCloneForm
Shared content clone form, JSON rendener
+-
+
-
+
get_ajax_output
(changes)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
SharedContentCloneForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionForm
Shared content clone form
+-
+
-
+
ajax_handler
= 'wf-clone.json'¶
+
-
+
-
+
buttons
= <z3c.form.button.Buttons object>¶
+
-
+
-
+
createAndAdd
(data)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
SharedContentCloneFormMessage
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Shared content clone form info message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
SharedContentCloneFormWarning
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Shared content clone form warning message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
SharedContentDeleteAJAXForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXAddForm
,pyams_content.shared.common.zmi.workflow.SharedContentDeleteForm
Shared content delete form, JSON rendener
+-
+
-
+
get_ajax_output
(changes)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
SharedContentDeleteForm
(context, request)¶
+ Bases:
+pyams_workflow.zmi.transition.WorkflowContentTransitionForm
Shared content delete form
+-
+
-
+
ajax_handler
= 'wf-delete.json'¶
+
-
+
-
+
buttons
= <z3c.form.button.Buttons object>¶
+
-
+
-
+
createAndAdd
(data)¶
+
-
+
-
+
fields
¶
+
-
+
-
+
legend
¶
+
-
+
-
+
updateActions
()¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
SharedContentDeleteFormMessage
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Shared content delete form info message
+-
+
-
+
version_id
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
SharedContentDeleteFormWarning
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Shared content delete form warning message
+
-
+
-
+class
pyams_content.shared.common.zmi.workflow.
WorkflowContentTransitionFormInfo
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Publication request form info message
+-
+
-
+
next_step
¶
+
-
+
-
+
previous_message
¶
+
-
+
-
+
previous_step
¶
+
-
+
-
+
-
+
pyams_content.shared.common.zmi.workflow.
handle_publication_form_data_extraction
(event)¶
+ Handle publication form data extraction
+
-
+
-
+
pyams_content.shared.common.zmi.workflow.
handle_publication_request_form_data_extraction
(event)¶
+ Handle publication request form data extraction
+
-
+
-
+
pyams_content.shared.common.zmi.workflow.
handle_publication_request_refuse_form_data_extraction
(event)¶
+ Handle publication request refuse form data extraction
+
-
+
-
+
pyams_content.shared.common.zmi.workflow.
handle_publication_retire_request_form_data_extraction
(event)¶
+ Handle publication retire request form data extraction
+
Module contents¶
+-
+
-
+class
pyams_content.shared.common.zmi.
SharedContentAJAXAddForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXAddForm
Shared event add form, JSON renderer
+-
+
-
+
get_ajax_output
(changes)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.
SharedContentAddForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogAddForm
Shared content add form
+-
+
-
+
add
(wf_content)¶
+
-
+
-
+
ajax_handler
= 'add-shared-content.json'¶
+
-
+
-
+
create
(data)¶
+
-
+
-
+
edit_permission
= 'pyams.CreateContent'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-plus'¶
+
-
+
-
+
nextURL
()¶
+
-
+
-
+
title
¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
update_content
(content, data)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.
SharedContentAddFormMessage
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Shared content add form info message
+
-
+
-
+class
pyams_content.shared.common.zmi.
WfModifiedContentColumnMixin
¶
+ Bases:
+object
Shared content modified column mixin
+-
+
-
+
renderCell
(item)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.
WfSharedContentBreadcrumbAdapter
(context, request)¶
+ Bases:
+pyams_skin.viewlet.breadcrumb.BreadcrumbItem
Shared content breadcrumb adapter
+-
+
-
+
label
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.
WfSharedContentDuplicateAJAXForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXAddForm
,pyams_content.shared.common.zmi.WfSharedContentDuplicateForm
Shared content duplicate form, JSON renderer
+-
+
-
+
get_ajax_output
(changes)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.
WfSharedContentDuplicateForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogAddForm
Shared content duplicate form
+-
+
-
+
ajax_handler
= 'duplicate.json'¶
+
-
+
-
+
buttons
= <z3c.form.button.Buttons object>¶
+
-
+
-
+
createAndAdd
(data)¶
+
-
+
-
+
edit_permission
= 'pyams.CreateContent'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-files-o'¶
+
-
+
-
+
legend
= 'Duplicate content'¶
+
-
+
-
+
updateActions
()¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.
WfSharedContentDuplicateFormMessage
(context, request, view, manager)¶
+ Bases:
+pyams_viewlet.viewlet.Viewlet
Shared content add form info message
+
-
+
-
+class
pyams_content.shared.common.zmi.
WfSharedContentDuplicateMenu
(context, request, view, manager)¶
+ Bases:
+pyams_skin.viewlet.toolbar.ToolbarMenuItem
Shared content duplication menu item
+-
+
-
+
label
= 'Duplicate content...'¶
+
-
+
-
+
label_css_class
= 'fa fa-fw fa-files-o'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'duplicate.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.
WfSharedContentDuplicationMenuDivider
(context, request, view, manager)¶
+ Bases:
+pyams_skin.viewlet.toolbar.ToolbarMenuDivider
Shared content duplication menu divider
+
-
+
-
+class
pyams_content.shared.common.zmi.
WfSharedContentElementEditor
(context, request, view)¶
+ Bases:
+pyams_skin.table.DefaultElementEditorAdapter
Shared content element editor
+-
+
-
+
modal_target
= False¶
+
-
+
-
+
view_name
= 'admin'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.
WfSharedContentHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_skin.page.DefaultPageHeaderAdapter
Shared content header adapter
+-
+
-
+
back_target
= None¶
+
-
+
-
+
back_url
¶
+
-
+
-
+
icon_class
= 'fa fa-fw fa-edit'¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.
WfSharedContentPermissionChecker
(context)¶
+ Bases:
+pyams_utils.adapter.ContextAdapter
Shared content form permission checker
+-
+
-
+
edit_permission
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.
WfSharedContentPermissionMixin
¶
+ Bases:
+object
Shared content permission checker
+-
+
-
+
permission
¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.
WfSharedContentSiteManagementMenuHeader
(context, request)¶
+ Bases:
+pyams_utils.adapter.ContextRequestAdapter
Shared content site management menu header adapter
+-
+
-
+
header
= ' '¶
+
-
+
-
+
-
+class
pyams_content.shared.common.zmi.
WfSharedContentTitleAdapter
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Shared content title adapter
+-
+
-
+
title
¶
+
-
+