|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BaseFragmentElement
A BaseFragmentElement
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 fragment
also holds layout and rendering properties/preferences.
Field Summary | |
---|---|
static java.lang.String |
COLUMN_PROPERTY_NAME
column standard layout property name |
static java.lang.String |
DECORATOR_PROPERTY_NAME
decorator standard layout property name |
static java.lang.String |
GLOBAL_PROPERTY_SCOPE
global standard property scope |
static boolean |
GROUP_AND_ROLE_PROPERTY_SCOPES_ENABLED
group and role standard property scopes enabled flag |
static java.lang.String |
GROUP_PROPERTY_SCOPE
group standard property scope |
static java.lang.String |
HEIGHT_PROPERTY_NAME
height standard layout property name |
static java.lang.String |
MODE_PROPERTY_NAME
mode standard layout property name |
static java.lang.String |
ROLE_PROPERTY_SCOPE
role standard property scope |
static java.lang.String |
ROW_PROPERTY_NAME
row standard layout property name |
static java.lang.String |
SIZES_PROPERTY_NAME
sizes standard layout property name |
static java.lang.String |
SKIN_PROPERTY_NAME
skin standard layout property name |
static java.lang.String |
STATE_PROPERTY_NAME
state standard layout property name |
static java.lang.String |
USER_PROPERTY_SCOPE
user standard property scope |
static java.lang.String |
WIDTH_PROPERTY_NAME
width standard layout property name |
static java.lang.String |
X_PROPERTY_NAME
x coordinate standard layout property name |
static java.lang.String |
Y_PROPERTY_NAME
y coordinate standard layout property name |
static java.lang.String |
Z_PROPERTY_NAME
z coordinate standard layout property name |
Method Summary | |
---|---|
java.lang.String |
getDecorator()
Returns the name of the decorator bound to this fragment Property value is returned for the most specific scope found, (i.e. |
float |
getFloatProperty(java.lang.String propName)
Get named property value as float. |
float |
getFloatProperty(java.lang.String propName,
java.lang.String propScope,
java.lang.String propScopeValue)
Get named property value as float. |
int |
getIntProperty(java.lang.String propName)
Get named property value as integer. |
int |
getIntProperty(java.lang.String propName,
java.lang.String propScope,
java.lang.String propScopeValue)
Get named property value as integer. |
int |
getLayoutColumn()
Get layout column property. |
float |
getLayoutHeight()
Get layout height property. |
int |
getLayoutRow()
Get layout row property. |
java.lang.String |
getLayoutSizes()
Get layout sizes property, (i.e. |
float |
getLayoutWidth()
Get layout width property. |
float |
getLayoutX()
Get layout x coordinate property. |
float |
getLayoutY()
Get layout y coordinate property. |
float |
getLayoutZ()
Get layout z coordinate property. |
java.lang.String |
getMode()
Returns the display mode of this fragment. |
java.util.List |
getPreferences()
Get collection of fragment preference objects used to initialize user preferences |
java.util.List |
getProperties()
Get writable list of fragment property objects that initially returns the set of properties for all scopes found for the current user. |
java.lang.String |
getProperty(java.lang.String propName)
Get named property value. |
java.lang.String |
getProperty(java.lang.String propName,
java.lang.String propScope,
java.lang.String propScopeValue)
Get named property value. |
java.lang.String |
getSkin()
Returns the name of the skin associated to this fragment Property value is returned for the most specific scope found, (i.e. |
java.lang.String |
getState()
Returns the display state of this fragment. |
void |
setDecorator(java.lang.String decoratorName)
Defines the decorator for this fragment. |
void |
setDecorator(java.lang.String scope,
java.lang.String scopeValue,
java.lang.String decoratorName)
Defines the decorator for this fragment. |
void |
setId(java.lang.String fragmentId)
Sets the unique Id of this fragment. |
void |
setLayoutColumn(int column)
Set the layout column property. |
void |
setLayoutColumn(java.lang.String scope,
java.lang.String scopeValue,
int column)
Set the layout column property. |
void |
setLayoutHeight(float height)
Set the layout height property. |
void |
setLayoutHeight(java.lang.String scope,
java.lang.String scopeValue,
float height)
Set the layout height property. |
void |
setLayoutRow(int row)
Set the layout row property. |
void |
setLayoutRow(java.lang.String scope,
java.lang.String scopeValue,
int row)
Set the layout row property. |
void |
setLayoutSizes(java.lang.String sizes)
Set the layout sizes. |
void |
setLayoutSizes(java.lang.String scope,
java.lang.String scopeValue,
java.lang.String sizes)
Set the layout sizes. |
void |
setLayoutWidth(float width)
Set the layout width property. |
void |
setLayoutWidth(java.lang.String scope,
java.lang.String scopeValue,
float width)
Set the layout width property. |
void |
setLayoutX(float x)
Set the layout x coordinate property. |
void |
setLayoutX(java.lang.String scope,
java.lang.String scopeValue,
float x)
Set the layout x coordinate property. |
void |
setLayoutY(float y)
Set the layout y coordinate property. |
void |
setLayoutY(java.lang.String scope,
java.lang.String scopeValue,
float y)
Set the layout y coordinate property. |
void |
setLayoutZ(float z)
Set the layout z coordinate property. |
void |
setLayoutZ(java.lang.String scope,
java.lang.String scopeValue,
float z)
Set the layout z coordinate property. |
void |
setMode(java.lang.String mode)
Sets the display mode of this fragment. |
void |
setMode(java.lang.String scope,
java.lang.String scopeValue,
java.lang.String mode)
Sets the display mode of this fragment. |
void |
setPreferences(java.util.List preferences)
Set collection of fragment preference objects |
void |
setProperties(java.util.List properties)
Set collection of fragment property objects |
void |
setProperty(java.lang.String propName,
java.lang.String propScope,
java.lang.String propScopeValue,
float propValue)
Set named float property value. |
void |
setProperty(java.lang.String propName,
java.lang.String propScope,
java.lang.String propScopeValue,
int propValue)
Set named int property value. |
void |
setProperty(java.lang.String propName,
java.lang.String propScope,
java.lang.String propScopeValue,
java.lang.String propValue)
Set named property value. |
void |
setSkin(java.lang.String skinName)
Defines the skin for this fragment. |
void |
setSkin(java.lang.String scope,
java.lang.String scopeValue,
java.lang.String skinName)
Defines the skin for this fragment. |
void |
setState(java.lang.String state)
Sets the display state of this fragment. |
void |
setState(java.lang.String scope,
java.lang.String scopeValue,
java.lang.String state)
Sets the display state of this fragment. |
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 SKIN_PROPERTY_NAME
static final java.lang.String DECORATOR_PROPERTY_NAME
static final java.lang.String STATE_PROPERTY_NAME
static final java.lang.String MODE_PROPERTY_NAME
static final java.lang.String ROW_PROPERTY_NAME
static final java.lang.String COLUMN_PROPERTY_NAME
static final java.lang.String SIZES_PROPERTY_NAME
static final java.lang.String X_PROPERTY_NAME
static final java.lang.String Y_PROPERTY_NAME
static final java.lang.String Z_PROPERTY_NAME
static final java.lang.String WIDTH_PROPERTY_NAME
static final java.lang.String HEIGHT_PROPERTY_NAME
static final java.lang.String USER_PROPERTY_SCOPE
static final java.lang.String GROUP_PROPERTY_SCOPE
static final java.lang.String ROLE_PROPERTY_SCOPE
static final java.lang.String GLOBAL_PROPERTY_SCOPE
static final boolean GROUP_AND_ROLE_PROPERTY_SCOPES_ENABLED
Method Detail |
---|
void setId(java.lang.String fragmentId)
fragmentId
- the unique id of this fragment.java.lang.String getSkin()
void setSkin(java.lang.String skinName)
skinName
- the name of the new skin applied to this fragmentvoid setSkin(java.lang.String scope, java.lang.String scopeValue, java.lang.String skinName)
scope
- the name of the property scope for settingscopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)skinName
- the name of the new skin applied to this fragmentjava.lang.String getDecorator()
void setDecorator(java.lang.String decoratorName)
decoratorName
- the name of the decorator applied to this fragmentvoid setDecorator(java.lang.String scope, java.lang.String scopeValue, java.lang.String decoratorName)
scope
- the name of the property scope for settingscopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)decoratorName
- the name of the decorator applied to this fragmentjava.lang.String getState()
void setState(java.lang.String state)
state
- the new fragment statevoid setState(java.lang.String scope, java.lang.String scopeValue, java.lang.String state)
scope
- the name of the property scope for settingscopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)state
- the new fragment statejava.lang.String getMode()
void setMode(java.lang.String mode)
mode
- the new fragment modevoid setMode(java.lang.String scope, java.lang.String scopeValue, java.lang.String mode)
scope
- the name of the property scope for settingscopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)mode
- the new fragment modejava.lang.String getProperty(java.lang.String propName)
propName
- property name
java.lang.String getProperty(java.lang.String propName, java.lang.String propScope, java.lang.String propScopeValue)
propName
- property namepropScope
- the name of the property scope to retrievepropScopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)
int getIntProperty(java.lang.String propName)
propName
- property name
int getIntProperty(java.lang.String propName, java.lang.String propScope, java.lang.String propScopeValue)
propName
- property namepropScope
- the name of the property scope to retrievepropScopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)
float getFloatProperty(java.lang.String propName)
propName
- property name
float getFloatProperty(java.lang.String propName, java.lang.String propScope, java.lang.String propScopeValue)
propName
- property namepropScope
- the name of the property scope to retrievepropScopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)
void setProperty(java.lang.String propName, java.lang.String propScope, java.lang.String propScopeValue, java.lang.String propValue)
propName
- property namepropScope
- the name of the property scope to retrievepropScopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)propValue
- property valuevoid setProperty(java.lang.String propName, java.lang.String propScope, java.lang.String propScopeValue, int propValue)
propName
- property namepropScope
- the name of the property scope to retrievepropScopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)propValue
- property valuevoid setProperty(java.lang.String propName, java.lang.String propScope, java.lang.String propScopeValue, float propValue)
propName
- property namepropScope
- the name of the property scope to retrievepropScopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)propValue
- property valuejava.util.List getProperties()
void setProperties(java.util.List properties)
preferences
- list of FragmentPreference objectsint getLayoutRow()
void setLayoutRow(int row)
row
- void setLayoutRow(java.lang.String scope, java.lang.String scopeValue, int row)
scope
- the name of the property scope for settingscopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)row
- int getLayoutColumn()
void setLayoutColumn(int column)
column
- void setLayoutColumn(java.lang.String scope, java.lang.String scopeValue, int column)
scope
- the name of the property scope for settingscopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)column
- java.lang.String getLayoutSizes()
void setLayoutSizes(java.lang.String sizes)
sizes
- void setLayoutSizes(java.lang.String scope, java.lang.String scopeValue, java.lang.String sizes)
scope
- the name of the property scope for settingscopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)sizes
- float getLayoutX()
void setLayoutX(float x)
x
- the coordinate valuevoid setLayoutX(java.lang.String scope, java.lang.String scopeValue, float x)
scope
- the name of the property scope for settingscopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)x
- the coordinate valuefloat getLayoutY()
void setLayoutY(float y)
y
- the coordinate valuevoid setLayoutY(java.lang.String scope, java.lang.String scopeValue, float y)
scope
- the name of the property scope for settingscopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)y
- the coordinate valuefloat getLayoutZ()
void setLayoutZ(float z)
z
- the coordinate valuevoid setLayoutZ(java.lang.String scope, java.lang.String scopeValue, float z)
scope
- the name of the property scope for settingscopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)z
- the coordinate valuefloat getLayoutWidth()
void setLayoutWidth(float width)
width
- the valuevoid setLayoutWidth(java.lang.String scope, java.lang.String scopeValue, float width)
scope
- the name of the property scope for settingscopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)width
- the valuefloat getLayoutHeight()
void setLayoutHeight(float height)
height
- the valuevoid setLayoutHeight(java.lang.String scope, java.lang.String scopeValue, float height)
scope
- the name of the property scope for settingscopeValue
- the scope discriminator value, (unless scope is GLOBAL
or USER where the default user name is used if null)height
- the valuejava.util.List getPreferences()
void setPreferences(java.util.List preferences)
preferences
- list of FragmentPreference objects
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |