| Package | Description |
|---|---|
| com.citytechinc.aem.bedrock.api | |
| com.citytechinc.aem.bedrock.api.page | |
| com.citytechinc.aem.bedrock.api.request |
| Modifier and Type | Method and Description |
|---|---|
Optional<PageDecorator> |
Accessible.getAsPage(String propertyName)
Get a page instance from the value of the given property.
|
Optional<PageDecorator> |
Inheritable.getAsPageInherited(String propertyName)
Get a page from the value of the given property, using inheritance if the value does not exist on this component.
|
| Modifier and Type | Method and Description |
|---|---|
PageDecorator |
PageManagerDecorator.copy(Page page,
String destination,
String beforeName,
boolean shallow,
boolean resolveConflict)
Copies the given page to the new destination and automatically saves the modifications
|
PageDecorator |
PageManagerDecorator.copy(Page page,
String destination,
String beforeName,
boolean shallow,
boolean resolveConflict,
boolean autoSave)
Copies the given page to the new destination
|
PageDecorator |
PageManagerDecorator.create(String parentPath,
String pageName,
String template,
String title)
Creates a new page at the given path using the provided template as content template.
|
PageDecorator |
PageManagerDecorator.create(String parentPath,
String pageName,
String template,
String title,
boolean autoSave)
Creates a new page at the given path using the provided template as content template.
|
PageDecorator |
PageDecorator.getAbsoluteParent(int level)
Returns the absolute parent page.
|
PageDecorator |
PageManagerDecorator.getContainingPage(Resource resource)
Returns the page that contains this resource.
|
PageDecorator |
PageManagerDecorator.getContainingPage(String path)
Returns the page that contains the resource at the given path.
|
PageDecorator |
PageManagerDecorator.getPage(Page page)
Decorate the given page.
|
PageDecorator |
PageManagerDecorator.getPage(String path)
Convenience method that returns the page at the given path.
|
PageDecorator |
PageDecorator.getParent()
Returns the parent page if it's resource adapts to page.
|
PageDecorator |
PageDecorator.getParent(int level)
Returns the relative parent page.
|
PageDecorator |
PageManagerDecorator.move(Page page,
String destination,
String beforeName,
boolean shallow,
boolean resolveConflict,
String[] adjustRefs)
Moves the given page to the new destination.
|
PageDecorator |
PageManagerDecorator.restore(String path,
String revisionId)
Restore a revision of some page.
|
PageDecorator |
PageManagerDecorator.restoreTree(String path,
Calendar date)
Restore a tree.
|
| Modifier and Type | Method and Description |
|---|---|
List<PageDecorator> |
PageManagerDecorator.findPages(String rootPath,
Collection<String> tagIds,
boolean matchOne)
Find all descendant pages of the given path containing the specified tags.
|
List<PageDecorator> |
PageManagerDecorator.findPages(String rootPath,
Predicate<PageDecorator> predicate)
Find all descendant pages of the given path that match the predicate.
|
List<PageDecorator> |
PageManagerDecorator.findPages(String rootPath,
String templatePath)
Find all descendant pages of the given path matching the template path.
|
List<PageDecorator> |
PageDecorator.getChildren()
Get the child pages of the current page.
|
List<PageDecorator> |
PageDecorator.getChildren(boolean displayableOnly)
Get the child pages of the current page, excluding children that are not "displayable" (i.e.
|
List<PageDecorator> |
PageDecorator.getChildren(Predicate<PageDecorator> predicate)
Get the child pages of the current page filtered using the given predicate.
|
List<PageDecorator> |
PageManagerDecorator.search(javax.jcr.query.Query query)
Search for pages using a query.
|
List<PageDecorator> |
PageManagerDecorator.search(javax.jcr.query.Query query,
int limit)
Search for pages using a query with the given result limit.
|
| Modifier and Type | Method and Description |
|---|---|
List<PageDecorator> |
PageManagerDecorator.findPages(String rootPath,
Predicate<PageDecorator> predicate)
Find all descendant pages of the given path that match the predicate.
|
List<PageDecorator> |
PageDecorator.getChildren(Predicate<PageDecorator> predicate)
Get the child pages of the current page filtered using the given predicate.
|
| Modifier and Type | Method and Description |
|---|---|
PageDecorator |
ComponentResourceRequest.getCurrentPage() |
Copyright © 2015 CITYTECH, Inc.. All rights reserved.