|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.om.page.psml.AbstractBaseElement
org.apache.jetspeed.om.page.psml.FragmentImpl
public class 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()
Default Constructor. |
|
FragmentImpl(java.lang.String id)
|
Method Summary | |
---|---|
void |
checkPermissions(java.lang.String path,
int mask,
boolean checkNodeOnly,
boolean checkParentsOnly)
checkPermissions |
boolean |
equals(java.lang.Object obj)
equals |
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. |
java.lang.String |
getName()
getName |
boolean |
getPermissionsEnabled()
getPermissionsEnabled |
java.lang.String |
getPhysicalPermissionPath()
getPhysicalPermissionPath |
java.util.List |
getPreferences()
getPreferences |
java.util.Map |
getProperties()
getProperties Get writable Map of properties by name. |
java.util.List |
getPropertiesList()
|
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 |
int |
hashCode()
hashCode |
boolean |
isReference()
Test if this fragment is actually a reference to an external fragment. |
void |
marshalling()
marshalling - notification that this instance is to be saved to the persistent store |
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 |
setName(java.lang.String name)
setName |
void |
setPreferences(java.util.List preferences)
Set collection of fragment preference objects |
void |
setSkin(java.lang.String skin)
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 |
void |
unmarshalled()
unmarshalled - notification that this instance has been loaded from the persistent store |
Methods inherited from class org.apache.jetspeed.om.page.psml.AbstractBaseElement |
---|
checkAccess, checkAccess, checkConstraints, checkConstraints, checkPermissions, checkPermissions, getHandlerFactory, getId, getSecurityConstraints, getShortTitle, getTitle, grantViewActionAccess, newSecurityConstraint, newSecurityConstraints, setConstraintsEnabled, setHandlerFactory, setId, setPermissionsEnabled, setSecurityConstraints, setShortTitle, setTitle, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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()
Default Constructor.
public FragmentImpl(java.lang.String id)
Method Detail |
---|
public java.lang.String getType()
Fragment
getType
in interface Fragment
public void setType(java.lang.String type)
Fragment
setType
in interface Fragment
type
- the typepublic java.lang.String getState()
Fragment
getState
in interface Fragment
public void setState(java.lang.String state)
Fragment
setState
in interface Fragment
state
- the new fragment statepublic java.lang.String getMode()
Fragment
getMode
in interface Fragment
public void setMode(java.lang.String mode)
Fragment
setMode
in interface Fragment
mode
- the new fragment modepublic java.lang.String getDecorator()
Fragment
getDecorator
in interface Fragment
public void setDecorator(java.lang.String decoratorName)
Fragment
setDecorator
in interface Fragment
decoratorName
- the name of the decorator applied to this fragmentpublic java.lang.String getSkin()
Fragment
getSkin
in interface Fragment
public void setSkin(java.lang.String skin)
Fragment
setSkin
in interface Fragment
skin
- the name of the new skin applied to this fragmentpublic boolean isReference()
Fragment
isReference
in interface Fragment
public java.util.List getFragments()
Fragment
getFragments
in interface Fragment
public java.util.List getPropertiesList()
public java.lang.String getProperty(java.lang.String propName)
Fragment
getProperty
in interface Fragment
propName
- property name
Fragment.getProperty(java.lang.String)
public int getIntProperty(java.lang.String propName)
Fragment
getIntProperty
in interface Fragment
propName
- property name
Fragment.getIntProperty(java.lang.String)
public float getFloatProperty(java.lang.String propName)
Fragment
getFloatProperty
in interface Fragment
propName
- property name
Fragment.getFloatProperty(java.lang.String)
public java.util.Map getProperties()
Fragment
getProperties
in interface Fragment
Fragment.getProperties()
public int getLayoutRow()
Fragment
getLayoutRow
in interface Fragment
Fragment.getLayoutRow()
public void setLayoutRow(int row)
Fragment
setLayoutRow
in interface Fragment
Fragment.setLayoutRow(int)
public int getLayoutColumn()
Fragment
getLayoutColumn
in interface Fragment
Fragment.getLayoutColumn()
public void setLayoutColumn(int column)
Fragment
setLayoutColumn
in interface Fragment
Fragment.setLayoutColumn(int)
public java.lang.String getLayoutSizes()
Fragment
getLayoutSizes
in interface Fragment
Fragment.getLayoutSizes()
public void setLayoutSizes(java.lang.String sizes)
Fragment
setLayoutSizes
in interface Fragment
Fragment.setLayoutSizes(java.lang.String)
public float getLayoutX()
Fragment
getLayoutX
in interface Fragment
Fragment.getLayoutX()
public void setLayoutX(float x)
Fragment
setLayoutX
in interface Fragment
x
- the coordinate valueFragment.setLayoutX(float)
public float getLayoutY()
Fragment
getLayoutY
in interface Fragment
Fragment.getLayoutY()
public void setLayoutY(float y)
Fragment
setLayoutY
in interface Fragment
y
- the coordinate valueFragment.setLayoutY(float)
public float getLayoutZ()
Fragment
getLayoutZ
in interface Fragment
Fragment.getLayoutZ()
public void setLayoutZ(float z)
Fragment
setLayoutZ
in interface Fragment
z
- the coordinate valueFragment.setLayoutZ(float)
public float getLayoutWidth()
Fragment
getLayoutWidth
in interface Fragment
Fragment.getLayoutWidth()
public void setLayoutWidth(float width)
Fragment
setLayoutWidth
in interface Fragment
width
- the valueFragment.setLayoutWidth(float)
public float getLayoutHeight()
Fragment
getLayoutHeight
in interface Fragment
Fragment.getLayoutHeight()
public void setLayoutHeight(float height)
Fragment
setLayoutHeight
in interface Fragment
height
- the valueFragment.setLayoutHeight(float)
public boolean equals(java.lang.Object obj)
equals
equals
in class AbstractBaseElement
obj
-
Object.equals(java.lang.Object)
public int hashCode()
hashCode
hashCode
in class AbstractBaseElement
Object.hashCode()
public java.lang.String getName()
getName
getName
in interface Fragment
Fragment.getName()
public void setName(java.lang.String name)
setName
setName
in interface Fragment
name
- Fragment.setName(java.lang.String)
public java.util.List getPreferences()
getPreferences
getPreferences
in interface Fragment
name
-
Fragment.getPreferences()
public void setPreferences(java.util.List preferences)
Fragment
setPreferences
in interface Fragment
preferences
- list of FragmentPreference objectspublic PageSecurity getEffectivePageSecurity()
AbstractBaseElement
getEffectivePageSecurity
in class AbstractBaseElement
public java.lang.String getLogicalPermissionPath()
AbstractBaseElement
getLogicalPermissionPath
getLogicalPermissionPath
in class AbstractBaseElement
public java.lang.String getPhysicalPermissionPath()
AbstractBaseElement
getPhysicalPermissionPath
getPhysicalPermissionPath
in class AbstractBaseElement
public void checkPermissions(java.lang.String path, int mask, boolean checkNodeOnly, boolean checkParentsOnly) throws java.lang.SecurityException
AbstractBaseElement
checkPermissions
checkPermissions
in class AbstractBaseElement
mask
- Mask of actions requested
java.lang.SecurityException
public boolean getConstraintsEnabled()
AbstractBaseElement
getConstraintsEnabled
getConstraintsEnabled
in interface SecuredResource
getConstraintsEnabled
in class AbstractBaseElement
org.apache.jetspeed.om.common.SecureResource#getConstraintsEnabled()
public boolean getPermissionsEnabled()
AbstractBaseElement
getPermissionsEnabled
getPermissionsEnabled
in interface SecuredResource
getPermissionsEnabled
in class AbstractBaseElement
org.apache.jetspeed.om.common.SecureResource#getPermissionsEnabled()
public void unmarshalled()
unmarshalled
in class AbstractBaseElement
public void marshalling()
marshalling
in class AbstractBaseElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |