|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.om.page.impl.BaseElementImpl
org.apache.jetspeed.om.page.impl.FragmentImpl
public class FragmentImpl
FragmentImpl
| Field Summary |
|---|
| Fields inherited from interface org.apache.jetspeed.om.page.Fragment |
|---|
COLUMN_PROPERTY_NAME, HEIGHT_PROPERTY_NAME, LAYOUT, PORTLET, ROW_PROPERTY_NAME, SIZES_PROPERTY_NAME, WIDTH_PROPERTY_NAME, X_PROPERTY_NAME, Y_PROPERTY_NAME, Z_PROPERTY_NAME |
| Constructor Summary | |
|---|---|
FragmentImpl()
|
|
| Method Summary | |
|---|---|
void |
checkPermissions(java.lang.String path,
int mask,
boolean checkNodeOnly,
boolean checkParentsOnly)
checkPermissions |
boolean |
getConstraintsEnabled()
getConstraintsEnabled |
java.lang.String |
getDecorator()
Returns the name of the decorator bound to this fragment |
PageSecurity |
getEffectivePageSecurity()
getEffectivePageSecurity |
float |
getFloatProperty(java.lang.String propName)
getFloatProperty Get named property value as float. |
java.util.List |
getFragments()
Returns all fragments used in this node. |
int |
getIntProperty(java.lang.String propName)
getIntProperty 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 |
getLogicalPermissionPath()
getLogicalPermissionPath |
java.lang.String |
getMode()
Returns the display mode of this fragment. |
boolean |
getPermissionsEnabled()
getPermissionsEnabled |
java.lang.String |
getPhysicalPermissionPath()
getPhysicalPermissionPath |
java.util.List |
getPreferences()
Get collection of fragment preference objects used to initialize user preferences |
java.util.Map |
getProperties()
getProperties Get writable Map of properties by name. |
java.lang.String |
getProperty(java.lang.String propName)
getProperty Get named property value. |
java.lang.String |
getSkin()
Returns the name of the skin associated to this fragment |
java.lang.String |
getState()
Returns the display state of this fragment. |
java.lang.String |
getType()
Returns the type of the class bound to this fragment |
boolean |
isReference()
Test if this fragment is actually a reference to an external fragment. |
void |
resetCachedSecurityConstraints()
resetCachedSecurityConstraints |
void |
setDecorator(java.lang.String decoratorName)
Defines the decorator for this fragment. |
void |
setLayoutColumn(int column)
set the layout column property |
void |
setLayoutHeight(float height)
set the layout height property |
void |
setLayoutRow(int row)
set the layout row property |
void |
setLayoutSizes(java.lang.String sizes)
set the layout sizes |
void |
setLayoutWidth(float width)
set the layout width property |
void |
setLayoutX(float x)
set the layout x coordinate property |
void |
setLayoutY(float y)
set the layout y coordinate property |
void |
setLayoutZ(float z)
set the layout z coordinate property |
void |
setMode(java.lang.String mode)
Sets the display mode of this fragment. |
void |
setPreferences(java.util.List preferences)
Set collection of fragment preference objects |
void |
setSkin(java.lang.String skinName)
Defines the skin for this fragment. |
void |
setState(java.lang.String state)
Sets the display state of this fragment. |
void |
setType(java.lang.String type)
Binds a type to this fragment |
| Methods inherited from class org.apache.jetspeed.om.page.impl.BaseElementImpl |
|---|
checkAccess, checkConstraints, checkConstraints, checkPermissions, checkPermissions, equals, getId, getName, getSecurityConstraints, getShortTitle, getTitle, grantViewActionAccess, hashCode, newSecurityConstraint, newSecurityConstraints, setConstraintsEnabled, setName, setPermissionsEnabled, setSecurityConstraints, setShortTitle, setTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.jetspeed.om.page.Fragment |
|---|
getName, setName |
| 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, getSecurityConstraints, newSecurityConstraint, newSecurityConstraints, setSecurityConstraints |
| Constructor Detail |
|---|
public FragmentImpl()
| Method Detail |
|---|
public PageSecurity getEffectivePageSecurity()
BaseElementImpl
getEffectivePageSecurity in class BaseElementImplpublic java.lang.String getLogicalPermissionPath()
BaseElementImpl
getLogicalPermissionPath in class BaseElementImplpublic java.lang.String getPhysicalPermissionPath()
BaseElementImpl
getPhysicalPermissionPath in class BaseElementImplpublic void resetCachedSecurityConstraints()
BaseElementImpl
resetCachedSecurityConstraints in class BaseElementImpl
public void checkPermissions(java.lang.String path,
int mask,
boolean checkNodeOnly,
boolean checkParentsOnly)
throws java.lang.SecurityException
BaseElementImpl
checkPermissions in class BaseElementImplpath - permissions path to checkmask - mask of actions to checkcheckNodeOnly - check node scope onlycheckParentsOnly - check parent folder scope only
java.lang.SecurityExceptionpublic boolean getConstraintsEnabled()
SecuredResourcegetConstraintsEnabled
getConstraintsEnabled in interface SecuredResourcegetConstraintsEnabled in class BaseElementImplpublic boolean getPermissionsEnabled()
SecuredResourcegetPermissionsEnabled
getPermissionsEnabled in interface SecuredResourcegetPermissionsEnabled in class BaseElementImplpublic java.lang.String getType()
Fragment
getType in interface Fragmentpublic void setType(java.lang.String type)
Fragment
setType in interface Fragmenttype - the typepublic java.lang.String getSkin()
Fragment
getSkin in interface Fragmentpublic void setSkin(java.lang.String skinName)
Fragment
setSkin in interface FragmentskinName - the name of the new skin applied to this fragmentpublic java.lang.String getDecorator()
Fragment
getDecorator in interface Fragmentpublic void setDecorator(java.lang.String decoratorName)
Fragment
setDecorator in interface FragmentdecoratorName - the name of the decorator applied to this fragmentpublic java.lang.String getState()
Fragment
getState in interface Fragmentpublic void setState(java.lang.String state)
Fragment
setState in interface Fragmentstate - the new fragment statepublic java.lang.String getMode()
Fragment
getMode in interface Fragmentpublic void setMode(java.lang.String mode)
Fragment
setMode in interface Fragmentmode - the new fragment modepublic java.util.List getFragments()
Fragment
getFragments in interface Fragmentpublic java.lang.String getProperty(java.lang.String propName)
Fragment
getProperty in interface FragmentpropName - property name
public int getIntProperty(java.lang.String propName)
Fragment
getIntProperty in interface FragmentpropName - property name
public float getFloatProperty(java.lang.String propName)
Fragment
getFloatProperty in interface FragmentpropName - property name
public java.util.Map getProperties()
Fragment
getProperties in interface Fragmentpublic int getLayoutRow()
Fragment
getLayoutRow in interface Fragmentpublic void setLayoutRow(int row)
Fragment
setLayoutRow in interface Fragmentpublic int getLayoutColumn()
Fragment
getLayoutColumn in interface Fragmentpublic void setLayoutColumn(int column)
Fragment
setLayoutColumn in interface Fragmentpublic java.lang.String getLayoutSizes()
Fragment
getLayoutSizes in interface Fragmentpublic void setLayoutSizes(java.lang.String sizes)
Fragment
setLayoutSizes in interface Fragmentpublic float getLayoutX()
Fragment
getLayoutX in interface Fragmentpublic void setLayoutX(float x)
Fragment
setLayoutX in interface Fragmentx - the coordinate valuepublic float getLayoutY()
Fragment
getLayoutY in interface Fragmentpublic void setLayoutY(float y)
Fragment
setLayoutY in interface Fragmenty - the coordinate valuepublic float getLayoutZ()
Fragment
getLayoutZ in interface Fragmentpublic void setLayoutZ(float z)
Fragment
setLayoutZ in interface Fragmentz - the coordinate valuepublic float getLayoutWidth()
Fragment
getLayoutWidth in interface Fragmentpublic void setLayoutWidth(float width)
Fragment
setLayoutWidth in interface Fragmentwidth - the valuepublic float getLayoutHeight()
Fragment
getLayoutHeight in interface Fragmentpublic void setLayoutHeight(float height)
Fragment
setLayoutHeight in interface Fragmentheight - the valuepublic boolean isReference()
Fragment
isReference in interface Fragmentpublic java.util.List getPreferences()
Fragment
getPreferences in interface Fragmentpublic void setPreferences(java.util.List preferences)
Fragment
setPreferences in interface Fragmentpreferences - list of FragmentPreference objects
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||