- -
-

pyams_content.root.zmi package

-
-

Submodules

-
-
-

pyams_content.root.zmi.search module

-
-
-class pyams_content.root.zmi.search.SearchResultsViewValuesAdapter(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Search results view values adapter

-
-
-values
-
- -
- -
-
-class pyams_content.root.zmi.search.SiteRootAdvancedSearchForm(context, request)
-

Bases: pyams_form.search.SearchForm

-

Site root advanced search form

-
-
-ajax_handler = 'advanced-search-results.html'
-
- -
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-legend = 'Advanced search'
-
- -
- -
-
-class pyams_content.root.zmi.search.SiteRootAdvancedSearchFormSearchAdapter(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Site root advanced search form search adapter

-
-
-get_search_results(data)
-
- -
- -
-
-class pyams_content.root.zmi.search.SiteRootAdvancedSearchHeaderAdapter(context, request, view)
-

Bases: pyams_skin.page.DefaultPageHeaderAdapter

-

Site root advanced search header adapter

-
-
-back_target = None
-
- -
-
-back_url = '#dashboard.html'
-
- -
-
-icon_class = 'fa fa-fw fa-search'
-
- -
- -
-
-class pyams_content.root.zmi.search.SiteRootAdvancedSearchMenu(context, request, view, manager=None)
-

Bases: pyams_skin.viewlet.menu.MenuItem

-

Site root advanced search menu

-
-
-icon_class = None
-
- -
-
-label = 'Advanced search'
-
- -
-
-url = '#advanced-search.html'
-
- -
- -
-
-class pyams_content.root.zmi.search.SiteRootAdvancedSearchResultsView(context, request)
-

Bases: pyams_zmi.view.AdminView, pyams_form.search.SearchResultsView

-

Site root advanced search results view

-
-
-data_attributes
-
- -
-
-search_form_factory
-

alias of SiteRootAdvancedSearchForm

-
- -
-
-sortOn = None
-
- -
-
-title = 'Advanced search results'
-
- -
- -
-
-class pyams_content.root.zmi.search.SiteRootAdvancedSearchView
-

Bases: pyams_form.search.SearchView

-

Site root advanced search view

-
-
-search_form_factory
-

alias of SiteRootAdvancedSearchForm

-
- -
- -
-
-class pyams_content.root.zmi.search.SiteRootQuickSearchResults(context, request)
-

Bases: pyams_skin.table.BaseTable

-

Site root quick search results table

-
-
-data_attributes
-
- -
-
-sortOn = None
-
- -
-
-title = 'Quick search results'
-
- -
- -
-
-class pyams_content.root.zmi.search.SiteRootQuickSearchValues(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Site root quick search results view values adapter

-
-
-values
-
- -
- -
-
-pyams_content.root.zmi.search.site_root_quick_search_view(request)
-

Site root quick search view

-
- -
-
-

pyams_content.root.zmi.sites module

-
-
-class pyams_content.root.zmi.sites.SiteTreValuesAdapter(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Site tree values adapter

-
-
-values
-
- -
- -
-
-class pyams_content.root.zmi.sites.SiteTreeMenu(context, request, view, manager=None)
-

Bases: pyams_skin.viewlet.menu.MenuItem

-

Site tree menu

-
-
-icon_class = 'fa-sitemap'
-
- -
-
-label = 'Site tree'
-
- -
-
-url = '#site-tree.html'
-
- -
- -
-
-class pyams_content.root.zmi.sites.SiteTreeOidColumn(context, request, table)
-

Bases: pyams_skin.table.I18nColumn, z3c.table.column.GetAttrColumn

-

Site tree OID column

-
-
-getValue(obj)
-
- -
-
-weight = 70
-
- -
- -
-
-class pyams_content.root.zmi.sites.SiteTreeTable(context, request)
-

Bases: pyams_skin.table.BaseTable

-

Site tree table

-
-
-data_attributes
-
- -
-
-id = 'site_tree_table'
-
- -
-
-sortOn = None
-
- -
-
-title = 'Blogs and shared sites'
-
- -
- -
-
-class pyams_content.root.zmi.sites.SiteTreeTrashColumn(context, request, table)
-

Bases: pyams_skin.table.TrashColumn

-

Site tree trash column

-
-
-has_permission(item)
-
- -
-
-icon_hint = 'Delete shared site'
-
- -
-
-permission = 'pyams.ManageSiteRoot'
-
- -
- -
-
-class pyams_content.root.zmi.sites.SiteTreeView(context, request)
-

Bases: pyams_zmi.view.AdminView, pyams_skin.container.ContainerView

-

Site tree view

-
-
-table_class
-

alias of SiteTreeTable

-
- -
- -
-
-class pyams_content.root.zmi.sites.SiteTreeVisibleColumn(context, request, table)
-

Bases: pyams_skin.table.ActionColumn

-

Site tree visible column

-
-
-cssClasses = {'td': 'action', 'th': 'action'}
-
- -
-
-get_icon(item)
-
- -
-
-icon_class = 'fa fa-fw fa-eye'
-
- -
-
-icon_hint = 'Visible site?'
-
- -
-
-renderCell(item)
-
- -
-
-weight = 5
-
- -
- -
-
-class pyams_content.root.zmi.sites.SiteViewHeaderAdapter(context, request, view)
-

Bases: pyams_skin.page.DefaultPageHeaderAdapter

-

Site tree view header adapter

-
-
-icon_class = 'fa fa-fw fa-sitemap'
-
- -
- -
-
-pyams_content.root.zmi.sites.delete_shared_site(request)
-

Delete shared site from site manager

-
- -
-
-

Module contents

-
-
-class pyams_content.root.zmi.BaseDashboardTable(context, request)
-

Bases: pyams_content.shared.common.zmi.dashboard.BaseDashboardTable

-

Base dashboard table

-
- -
-
-class pyams_content.root.zmi.SiteRootAllContentsMenu(context, request, view, manager=None)
-

Bases: pyams_skin.viewlet.menu.MenuItem

-

Site root ‘all contents’ dashboard menu

-
-
-icon_class = 'fa-pencil-square'
-
- -
-
-label = 'Other interventions'
-
- -
-
-url = '#'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootAllPublicationsHeaderAdapter(context, request, view)
-

Bases: pyams_skin.page.DefaultPageHeaderAdapter

-

Site root published contents header adapter

-
-
-icon_class = 'fa fa-fw fa-pencil-square'
-
- -
-
-title = 'Last published contents'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootAllPublicationsMenu(context, request, view, manager=None)
-

Bases: pyams_skin.viewlet.menu.MenuItem

-

Site root published contents dashboard menu

-
-
-icon_class = None
-
- -
-
-label = 'Last publications'
-
- -
-
-url = '#all-publications.html'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootAllPublicationsTable(context, request)
-

Bases: pyams_content.root.zmi.BaseDashboardTable

-

Site root published contents table

-
- -
-
-class pyams_content.root.zmi.SiteRootAllPublicationsValues(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Site root published contents values adapter

-
-
-values
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootAllPublicationsView(context, request)
-

Bases: pyams_zmi.view.AdminView, pyams_skin.container.ContainerView

-

Site root published contents view

-
-
-table_class
-

alias of SiteRootAllPublicationsTable

-
- -
- -
-
-class pyams_content.root.zmi.SiteRootAllUpdatesHeaderAdapter(context, request, view)
-

Bases: pyams_skin.page.DefaultPageHeaderAdapter

-

Site root updated contents header adapter

-
-
-icon_class = 'fa fa-fw fa-pencil-square'
-
- -
-
-title = 'Last updated contents'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootAllUpdatesMenu(context, request, view, manager=None)
-

Bases: pyams_skin.viewlet.menu.MenuItem

-

Site root updated contents dashboard menu

-
-
-icon_class = None
-
- -
-
-label = 'Last updates'
-
- -
-
-url = '#all-updates.html'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootAllUpdatesTable(context, request)
-

Bases: pyams_content.root.zmi.BaseDashboardTable

-

Site root updated contents table

-
- -
-
-class pyams_content.root.zmi.SiteRootAllUpdatesValues(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Site root updated contents values adapter

-
-
-values
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootAllUpdatesView(context, request)
-

Bases: pyams_zmi.view.AdminView, pyams_skin.container.ContainerView

-

Site root updated contents view

-
-
-table_class
-

alias of SiteRootAllUpdatesTable

-
- -
- -
-
-class pyams_content.root.zmi.SiteRootArchivedContentsHeaderAdapter(context, request, view)
-

Bases: pyams_skin.page.DefaultPageHeaderAdapter

-

Site root archived contents header adapter

-
-
-icon_class = 'fa fa-fw fa-user'
-
- -
-
-title = 'Your archived contents'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootArchivedContentsTable(context, request)
-

Bases: pyams_content.root.zmi.BaseDashboardTable

-

Site root archived contents table

-
- -
-
-class pyams_content.root.zmi.SiteRootArchivedContentsValues(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Site root archived contents values adapter

-
-
-values
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootArchivedContentsView(context, request)
-

Bases: pyams_zmi.view.AdminView, pyams_skin.container.ContainerView

-

Site root archived contents view

-
-
-table_class
-

alias of SiteRootArchivedContentsTable

-
- -
- -
-
-class pyams_content.root.zmi.SiteRootArchivedMenu(context, request, view, manager=None)
-

Bases: pyams_skin.viewlet.menu.MenuItem

-

Site root archived contents dashboard menu

-
-
-icon_class = None
-
- -
-
-label = 'My archived contents'
-
- -
-
-url = '#my-archived-contents.html'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootBreadcrumbAdapter(context, request)
-

Bases: pyams_skin.viewlet.breadcrumb.BreadcrumbItem

-

Site root breadcrumb adapter

-
-
-label = 'Home'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootDashboardContentTypeColumn(context, request, table)
-

Bases: pyams_skin.table.I18nColumn, z3c.table.column.GetAttrColumn

-

Shared tool dashboard content type column

-
-
-getValue(obj)
-
- -
-
-weight = 1
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootDashboardHeaderAdapter(context, request, view)
-

Bases: pyams_skin.page.DefaultPageHeaderAdapter

-

Site root properties header adapter

-
-
-icon_class = 'fa fa-fw fa-line-chart'
-
- -
-
-title
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootDashboardManagerWaitingTable(context, request)
-

Bases: pyams_content.root.zmi.BaseDashboardTable

-

Site root dashboard manager waiting contents table

-
- -
-
-class pyams_content.root.zmi.SiteRootDashboardManagerWaitingValues(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Site root dashboard manager waiting contents values adapter

-
-
-check_access(content)
-
- -
-
-values
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootDashboardMenu(context, request, view, manager=None)
-

Bases: pyams_skin.viewlet.menu.MenuItem

-

Site root dashboard menu

-
-
-icon_class = 'fa-line-chart'
-
- -
-
-label = 'Dashboard'
-
- -
-
-url = '#dashboard.html'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootDashboardOwnerModifiedTable(context, request)
-

Bases: pyams_content.root.zmi.BaseDashboardTable

-

Site root dashboard modified contents table

-
- -
-
-class pyams_content.root.zmi.SiteRootDashboardOwnerModifiedValues(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Site root dashboard modified contents values adapter

-
-
-values
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootDashboardOwnerWaitingTable(context, request)
-

Bases: pyams_content.root.zmi.BaseDashboardTable

-

Site root dashboard waiting owned contents table

-
-
-dt_sort_order = 'asc'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootDashboardOwnerWaitingValues(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Site root dashboard waiting owned contents values adapter

-
-
-values
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootDashboardView(context, request)
-

Bases: pyams_zmi.view.AdminView

-

Site root dashboard view

-
-
-title
-
- -
-
-update()
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootFavoritesHeaderAdapter(context, request, view)
-

Bases: pyams_skin.page.DefaultPageHeaderAdapter

-

Site root favorites header adapter

-
-
-icon_class = 'fa fa-fw fa-star'
-
- -
-
-title = 'Your favorites'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootFavoritesMenu(context, request, view, manager=None)
-

Bases: pyams_skin.viewlet.menu.MenuItem

-

Site root favorites dashboard menu

-
-
-icon_class = None
-
- -
-
-label = 'My favorites'
-
- -
-
-url = '#my-favorites.html'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootFavoritesTable(context, request)
-

Bases: pyams_content.root.zmi.BaseDashboardTable

-

Site root favorites table

-
- -
-
-class pyams_content.root.zmi.SiteRootFavoritesValues(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Site root favorites values adapter

-
-
-values
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootFavoritesView(context, request)
-

Bases: pyams_zmi.view.AdminView, pyams_skin.container.ContainerView

-

Site root favorites view

-
-
-table_class
-

alias of SiteRootFavoritesTable

-
- -
- -
-
-class pyams_content.root.zmi.SiteRootMyDashboardMenu(context, request, view, manager=None)
-

Bases: pyams_skin.viewlet.menu.MenuItem

-

Site root ‘my contents’ dashboard menu

-
-
-icon_class = 'fa-user'
-
- -
-
-label = 'My contents'
-
- -
-
-url = '#'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootPreparationsHeaderAdapter(context, request, view)
-

Bases: pyams_skin.page.DefaultPageHeaderAdapter

-

Site root preparations header adapter

-
-
-icon_class = 'fa fa-fw fa-user'
-
- -
-
-title = 'Your prepared contents'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootPreparationsMenu(context, request, view, manager=None)
-

Bases: pyams_skin.viewlet.menu.MenuItem

-

Site root preparations dashboard menu

-
-
-icon_class = None
-
- -
-
-label = 'My preparations'
-
- -
-
-url = '#my-preparations.html'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootPreparationsTable(context, request)
-

Bases: pyams_content.root.zmi.BaseDashboardTable

-

Site root preparations table

-
- -
-
-class pyams_content.root.zmi.SiteRootPreparationsValues(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Site root preparations values adapter

-
-
-values
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootPreparationsView(context, request)
-

Bases: pyams_zmi.view.AdminView, pyams_skin.container.ContainerView

-

Site root preparations view

-
-
-table_class
-

alias of SiteRootPreparationsTable

-
- -
- -
-
-class pyams_content.root.zmi.SiteRootPublicationsHeaderAdapter(context, request, view)
-

Bases: pyams_skin.page.DefaultPageHeaderAdapter

-

Site root publications header adapter

-
-
-icon_class = 'fa fa-fw fa-user'
-
- -
-
-title = 'Your published contents'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootPublicationsMenu(context, request, view, manager=None)
-

Bases: pyams_skin.viewlet.menu.MenuItem

-

Site root publications dashboard menu

-
-
-icon_class = None
-
- -
-
-label = 'My publications'
-
- -
-
-url = '#my-publications.html'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootPublicationsTable(context, request)
-

Bases: pyams_content.root.zmi.BaseDashboardTable

-

Site root publications table

-
- -
-
-class pyams_content.root.zmi.SiteRootPublicationsValues(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Site root publications values adapter

-
-
-values
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootPublicationsView(context, request)
-

Bases: pyams_zmi.view.AdminView, pyams_skin.container.ContainerView

-

Site root publications view

-
-
-table_class
-

alias of SiteRootPublicationsTable

-
- -
- -
-
-class pyams_content.root.zmi.SiteRootRetiredContentsHeaderAdapter(context, request, view)
-

Bases: pyams_skin.page.DefaultPageHeaderAdapter

-

Site root retired contents header adapter

-
-
-icon_class = 'fa fa-fw fa-user'
-
- -
-
-title = 'Your retired contents'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootRetiredContentsTable(context, request)
-

Bases: pyams_content.root.zmi.BaseDashboardTable

-

Site root retired contents table

-
- -
-
-class pyams_content.root.zmi.SiteRootRetiredContentsValues(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Site root retired contents values adapter

-
-
-values
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootRetiredContentsView(context, request)
-

Bases: pyams_zmi.view.AdminView, pyams_skin.container.ContainerView

-

Site root retired contents view

-
-
-table_class
-

alias of SiteRootRetiredContentsTable

-
- -
- -
-
-class pyams_content.root.zmi.SiteRootRetiredMenu(context, request, view, manager=None)
-

Bases: pyams_skin.viewlet.menu.MenuItem

-

Site root retired contents dashboard menu

-
-
-icon_class = None
-
- -
-
-label = 'My retired contents'
-
- -
-
-url = '#my-retired-contents.html'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootSubmissionsHeaderAdapter(context, request, view)
-

Bases: pyams_skin.page.DefaultPageHeaderAdapter

-

Site root submissions header adapter

-
-
-icon_class = 'fa fa-fw fa-user'
-
- -
-
-title = 'Your submitted contents'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootSubmissionsMenu(context, request, view, manager=None)
-

Bases: pyams_skin.viewlet.menu.MenuItem

-

Site root submissions dashboard menu

-
-
-icon_class = None
-
- -
-
-label = 'My submissions'
-
- -
-
-url = '#my-submissions.html'
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootSubmissionsTable(context, request)
-

Bases: pyams_content.root.zmi.BaseDashboardTable

-

Site root submissions table

-
- -
-
-class pyams_content.root.zmi.SiteRootSubmissionsValues(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Site root submissions values adapter

-
-
-values
-
- -
- -
-
-class pyams_content.root.zmi.SiteRootSubmissionsView(context, request)
-

Bases: pyams_zmi.view.AdminView, pyams_skin.container.ContainerView

-

Site root submissions view

-
-
-table_class
-

alias of SiteRootSubmissionsTable

-
- -
- -
-
- - -