|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentPage
PageFragment is a volatile wrapper around a
Page
metadata
object for use in rendering. As with
the Fragment
object,
Page
objects are persistent, single-instance
metadata objects that should not be used to hold per-request
content. ContentPage solves this by providing a thin, wrapper
interface that can be used for rendering requested content associated
with the wrapped page relative to the currect user-request.
Field Summary |
---|
Fields inherited from interface org.apache.jetspeed.om.page.Page |
---|
DOCUMENT_TYPE |
Fields inherited from interface org.apache.jetspeed.page.document.Node |
---|
PATH_SEPARATOR, PATH_SEPARATOR_CHAR |
Method Summary | |
---|---|
ContentFragment |
getContentFragmentById(String id)
Returns a ContentFragment that wraps the actual Fragment metadata represented by the id argument. |
List |
getContentFragmentsByName(String name)
Returns a list of ContentFragment that wrap the actual Fragment metadata represented by the name argument. |
Fragment |
getFragmentById(String id)
Overridden to to indicate that the Fragment returned
must also be an instance of ContentFragment. |
List |
getFragmentsByName(String name)
Overridden to to indicate that the list of Fragment
instances returned must also be instances of ContentFragment. |
ContentFragment |
getRootContentFragment()
Provides access to a per-request safe ContentFragment. |
Fragment |
getRootFragment()
Overridden to to indicate that the Fragment returned
must also be an instance of ContentFragment. |
void |
setRootContentFragment(ContentFragment frag)
|
Methods inherited from interface org.apache.jetspeed.om.page.Page |
---|
getDefaultDecorator, getEffectiveDefaultDecorator, getMenuDefinitions, getSkin, newMenuDefinition, newMenuExcludeDefinition, newMenuIncludeDefinition, newMenuOptionsDefinition, newMenuSeparatorDefinition, removeFragmentById, setDefaultDecorator, setMenuDefinitions, setRootFragment, setSkin |
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, setShortTitle, setTitle |
Methods inherited from interface org.apache.jetspeed.om.common.SecuredResource |
---|
checkAccess, checkConstraints, checkPermissions, getConstraintsEnabled, getPermissionsEnabled, getSecurityConstraints, newSecurityConstraint, newSecurityConstraints, setSecurityConstraints |
Method Detail |
---|
ContentFragment getRootContentFragment()
void setRootContentFragment(ContentFragment frag)
ContentFragment getContentFragmentById(String id)
id
- unique id of the Fragment we want to retrieve.
List getContentFragmentsByName(String name)
name
- name of the Fragments we want to retrieve.
Fragment getFragmentById(String id)
Fragment
returned
must also be an instance of ContentFragment.
getFragmentById
in interface Page
id
- the fragment id to look for
List getFragmentsByName(String name)
Fragment
instances returned must also be instances of ContentFragment.
getFragmentsByName
in interface Page
name
- the fragments name to look for
Fragment getRootFragment()
Fragment
returned
must also be an instance of ContentFragment.
getRootFragment
in interface Page
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |