|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Fragment
A Fragment
is the basic element handled by the aggregation
engine to compose the final portal page. It represents a reserved screen
area whose layout is managed by a specified component.
The component that is responsible for the layout policy of the fragment is defined by two properties:
In addition to specifying the component responsible for the layout, the fragment also stores contextual information used for rendering:
Finally the fragment also holds layout and rendering properties that may be used by a parent fragment to layout all its inner fragments in an appropriate fashion.
Field Summary | |
---|---|
static java.lang.String |
LAYOUT
A fragment of type LAYOUT is a specific JSR 168 compliant portlet that knows how to layout a Page and depends on the Jetspeed layout service. |
static java.lang.String |
PORTLET
A fragment of type PORTLET is considered to be a compliant portlet in the sense of the JSR 168. |
Fields inherited from interface org.apache.jetspeed.om.page.BaseFragmentElement |
---|
COLUMN_PROPERTY_NAME, DECORATOR_PROPERTY_NAME, GLOBAL_PROPERTY_SCOPE, GROUP_AND_ROLE_PROPERTY_SCOPES_ENABLED, GROUP_PROPERTY_SCOPE, HEIGHT_PROPERTY_NAME, MODE_PROPERTY_NAME, ROLE_PROPERTY_SCOPE, ROW_PROPERTY_NAME, SIZES_PROPERTY_NAME, SKIN_PROPERTY_NAME, STATE_PROPERTY_NAME, USER_PROPERTY_SCOPE, WIDTH_PROPERTY_NAME, X_PROPERTY_NAME, Y_PROPERTY_NAME, Z_PROPERTY_NAME |
Method Summary | |
---|---|
BaseFragmentElement |
getFragmentById(java.lang.String id)
Retrieves the fragment contained within this fragment, with the specified Id. |
java.util.List |
getFragments()
Returns all fragments used in this node. |
java.lang.String |
getName()
Returns the administrative name of this fragment. |
java.lang.String |
getType()
Returns the type of the class bound to this fragment |
BaseFragmentElement |
removeFragmentById(java.lang.String id)
Removes the fragment contained within this fragment, with the specified Id. |
void |
setName(java.lang.String name)
Binds an administrative name to this fragment |
void |
setType(java.lang.String type)
Binds a type to this fragment |
Methods inherited from interface org.apache.jetspeed.om.page.BaseFragmentElement |
---|
getDecorator, getFloatProperty, getFloatProperty, getIntProperty, getIntProperty, getLayoutColumn, getLayoutHeight, getLayoutRow, getLayoutSizes, getLayoutWidth, getLayoutX, getLayoutY, getLayoutZ, getMode, getPreferences, getProperties, getProperty, getProperty, getSkin, getState, setDecorator, setDecorator, setId, setLayoutColumn, setLayoutColumn, setLayoutHeight, setLayoutHeight, setLayoutRow, setLayoutRow, setLayoutSizes, setLayoutSizes, setLayoutWidth, setLayoutWidth, setLayoutX, setLayoutX, setLayoutY, setLayoutY, setLayoutZ, setLayoutZ, setMode, setMode, setPreferences, setProperties, setProperty, setProperty, setProperty, setSkin, setSkin, setState, setState |
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 |
Field Detail |
---|
static final java.lang.String PORTLET
static final java.lang.String LAYOUT
Method Detail |
---|
java.lang.String getName()
void setName(java.lang.String name)
name
- the administrative namejava.lang.String getType()
void setType(java.lang.String type)
type
- the typejava.util.List getFragments()
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |