|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BaseFragmentsElement
This interface represents a generic document with fragments.
| Field Summary |
|---|
| Fields inherited from interface org.apache.jetspeed.page.document.Node |
|---|
PATH_SEPARATOR, PATH_SEPARATOR_CHAR |
| Method Summary | |
|---|---|
BaseFragmentElement |
getFragmentById(java.lang.String id)
Retrieves the fragment contained within this page, with the specified Id. |
java.util.List |
getFragmentsByInterface(java.lang.Class interfaceFilter)
Retrieves the fragments contained within this page, with the specified interface. |
java.util.List |
getFragmentsByName(java.lang.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(java.lang.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. |
| Methods inherited from interface org.apache.jetspeed.om.page.Document |
|---|
getVersion, isDirty, setDirty, setVersion |
| Methods inherited from interface org.apache.jetspeed.page.document.Node |
|---|
getMetadata, getName, getParent, getPath, getShortTitle, getTitle, getType, getUrl, isHidden, setHidden, setParent, setPath |
| Methods inherited from interface org.apache.jetspeed.om.page.BaseElement |
|---|
getId, getShortTitle, getTitle, isStale, setShortTitle, setTitle |
| Methods inherited from interface org.apache.jetspeed.om.common.SecuredResource |
|---|
checkAccess, checkConstraints, checkPermissions, getConstraintsEnabled, getPermissionsEnabled, getSecurityConstraints, newSecurityConstraint, newSecurityConstraints, setSecurityConstraints |
| Method Detail |
|---|
BaseFragmentElement getRootFragment()
void setRootFragment(BaseFragmentElement fragment)
BaseFragmentElement getFragmentById(java.lang.String id)
id - the fragment id to look for
BaseFragmentElement removeFragmentById(java.lang.String id)
id - the fragment id to remove
java.util.List getFragmentsByName(java.lang.String name)
name - the fragment name to look for
java.util.List getFragmentsByInterface(java.lang.Class interfaceFilter)
interfaceFilter - the fragment interface to match or null for all
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||