Methods
CopyPermissionsToDescendants
(Site, Page, ClaimsPrincipal, CopyPermissionOperation) Method
CopyPermissionsToDescendants (Site site, Page page, ClaimsPrincipal user, CopyPermissionOperation operation)
Copy permissions from the specified page to its descendants.
CreateNew
(Site) Method
CreateNew (Site site)
CreatePermissions
(Site, Page, Role) Method
CreatePermissions (Site site, Page page, Role role)
Delete
(Page) Method
Delete (Page page)
Export
(Page) Method
Export (Page page)
Get
(Guid) Method
Get (Guid id)
Get
(Site, String) Method
Get (Site site, String path)
Retrieve an existing page from the database, specified by site and path.
Get
(PageModule) Method
Get (PageModule pageModule)
Retrive an existing page from the database. The returned page is the "owner" of the specified module.
GetAdminMenu (Site site, Page parentPage, ClaimsPrincipal user, Int32 levels)
Retrieve a "tree" representation of site pages, ignoring permissions and the disabled and show in menu flags.
GetAdminMenu (Site site, Page parentPage, ClaimsPrincipal user, Nullable<Guid> selectedPageId)
Retrieve a "tree" representation of site pages, ignoring permissions and the disabled and show in menu flags.
GetAdminMenu (Site site, Page parentPage, ClaimsPrincipal user, Int32 levels, Boolean ignoreDisabled, Boolean ignorePermissions, Boolean ignoreShowInMenu)
Retrieve a "tree" representation of site pages, with control over whether to ignore permissions, disabled flag and the show in menu flag flags.
GetMenu (Site site, Page parentPage, ClaimsPrincipal user, Boolean ignoreSettings)
Retrieve a "tree" representation of site pages which the specified user has view permissions for.
List
(Site) Method
List (Site site)
ListModules
(Page) Method
ListModules (Page page)
ListPagePermissionTypes
ListPagePermissionTypes ()
Return a list of available permission types, sorted by SortOrder
ListPermissions
(Page) Method
ListPermissions (Page page)
ListSitePages
(Site) Method
ListSitePages (Site site)
MoveDown
(Site, Guid) Method
MoveDown (Site site, Guid pageId)
Update the
SortOrder of the page module specifed by id by swapping it with the next-highest
SortOrder.
MoveUp
(Site, Guid) Method
MoveUp (Site site, Guid pageId)
Update the
SortOrder of the page module specifed by id by swapping it with the previous
SortOrder.
ParseTemplate
(Stream) Method
ParseTemplate (Stream stream)
Parse a page template.
Save
(Site, Page) Method
Save (Site site, Page page)
Search
(Site, String, IEnumerable<Role>, PagingSettings) Method
Search (Site site, String searchTerm, IEnumerable<Role> userRoles, PagingSettings pagingSettings)
Return a list of all
Models.Pages for the site which match the specified search term.