public interface BaseFragmentsElement extends Document
PATH_SEPARATOR, PATH_SEPARATOR_CHAR| Modifier and Type | Method and Description |
|---|---|
BaseFragmentElement |
getFragmentById(String id)
Retrieves the fragment contained within this page, with the
specified Id.
|
List<BaseFragmentElement> |
getFragmentsByInterface(Class interfaceFilter)
Retrieves the fragments contained within this page, with the
specified interface.
|
List<BaseFragmentElement> |
getFragmentsByName(String name)
Retrieves the fragments contained within this page, with the
specified name.
|
BaseFragmentElement |
getRootFragment()
Retrieves the top level fragment of this page.
|
BaseFragmentElement |
removeFragmentById(String id)
Removes the fragment contained within this page, with the
specified Id.
|
void |
setRootFragment(BaseFragmentElement fragment)
Sets the top level fragment of this page.
|
getVersion, isDirty, setDirty, setVersiongetMetadata, getName, getParent, getPath, getShortTitle, getTitle, getType, getUrl, isHidden, setHidden, setParent, setPathgetId, getShortTitle, getTitle, isStale, setShortTitle, setTitlecheckAccess, checkConstraints, checkPermissions, getConstraintsEnabled, getPermissionsEnabled, getSecurityConstraints, newSecurityConstraint, newSecurityConstraints, setSecurityConstraintsBaseFragmentElement getRootFragment()
void setRootFragment(BaseFragmentElement fragment)
BaseFragmentElement getFragmentById(String id)
id - the fragment id to look forBaseFragmentElement removeFragmentById(String id)
id - the fragment id to removeList<BaseFragmentElement> getFragmentsByName(String name)
name - the fragment name to look forList<BaseFragmentElement> getFragmentsByInterface(Class interfaceFilter)
interfaceFilter - the fragment interface to match or null for allCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.