Méthode | Description | |
---|---|---|
CanDelete ( Page item, string &errorMessage, bool includeSecondLvl ) : bool |
Determines whether the specified page can be deleted. Performs some additional checks that are missing from the auto-generated PageService.CanDelete().
|
|
CopyPage ( int pageId, int currentPersonAliasId = null ) : Guid? |
Copies the page.
|
|
GetAllDescendents ( int parentPageId ) : IEnumerable |
Returns an enumerable collection of Rock.Model.Page">Pages that are descendants of a |
|
GetByLayoutId ( int layoutId ) : IOrderedQueryable |
Gets an enumerable collection of Rock.Model.Page entities associated with a Rock.Model.Layout.
|
|
GetByParentPageId ( int parentPageId, string includes = null ) : IOrderedQueryable |
Gets an enumerable collection of Rock.Model.Page entities by the parent
|
|
GetBySiteId ( int siteId ) : IOrderedQueryable |
Gets an enumerable collection of Rock.Model.Page entities associated with a Rock.Model.Site.
|
|
GetGuid ( int id ) : Guid? |
Gets the Guid for the Page that has the specified Id
|
Méthode | Description | |
---|---|---|
CloneHtmlContent ( Guid>.Dictionary |
Copies any HtmlContent in the original page tree over to the corresponding blocks on the copied page tree.
|
|
GenerateBlockAttributeValues ( Guid>.Dictionary |
This method takes the attribute values of the original blocks, and creates copies of them that point to the copied blocks. In addition, any block attribute value pointing to a page in the original page tree is now updated to point to the corresponding page in the copied page tree.
|
|
GeneratePageBlockAuths ( Guid>.Dictionary |
Copies any auths for the original pages and blocks over to the copied pages and blocks.
|
|
GeneratePageCopy ( Rock sourcePage, Guid>.Dictionary |
This method generates a copy of the given page along with any descendant pages, as well as any blocks on any of those pages.
|
public CanDelete ( Page item, string &errorMessage, bool includeSecondLvl ) : bool | ||
item | Page | The item. |
errorMessage | string | The error message. |
includeSecondLvl | bool | If set to true, verifies that the item is not referenced by any second level relationships. |
Résultat | bool |
public CopyPage ( int pageId, int currentPersonAliasId = null ) : Guid? | ||
pageId | int | The page identifier. |
currentPersonAliasId | int | The current person alias identifier. |
Résultat | Guid? |
public GetAllDescendents ( int parentPageId ) : IEnumerable |
||
parentPageId | int | A |
Résultat | IEnumerable |
public GetByLayoutId ( int layoutId ) : IOrderedQueryable |
||
layoutId | int | The layout id. |
Résultat | IOrderedQueryable |
public GetByParentPageId ( int parentPageId, string includes = null ) : IOrderedQueryable |
||
parentPageId | int | The Id of the Parent |
includes | string | The includes. |
Résultat | IOrderedQueryable |
public GetBySiteId ( int siteId ) : IOrderedQueryable |
||
siteId | int | The site id. |
Résultat | IOrderedQueryable |