|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.portal.aspect.impl.AbstractAspectalizable org.apache.cocoon.portal.factory.impl.AbstractProducible org.apache.cocoon.portal.coplet.CopletData
public class CopletData
Field Summary | |
---|---|
protected String |
allowedRoles
|
protected List |
allowedRolesList
|
protected Map |
attributes
|
protected CopletBaseData |
copletBaseData
|
protected String |
title
|
Fields inherited from class org.apache.cocoon.portal.factory.impl.AbstractProducible |
---|
description, id, name |
Fields inherited from class org.apache.cocoon.portal.aspect.impl.AbstractAspectalizable |
---|
aspectDataHandler, persistentDatas |
Constructor Summary | |
---|---|
CopletData()
Constructor |
Method Summary | |
---|---|
void |
addToAllowedRoles(String role)
|
boolean |
applyDelta(Object object)
Applies the specified delta. |
protected void |
buildRolesString(List fromList)
|
boolean |
deltaApplied()
Checks if a delta has been applied. |
String |
getAllowedRoles()
|
List |
getAllowedRolesList()
Return the list of roles that are allowed to access this coplet |
Object |
getAttribute(String key)
|
Map |
getAttributes()
|
CopletBaseData |
getCopletBaseData()
Returns the copletBaseData. |
String |
getTitle()
Returns the title. |
Object |
removeAttribute(String key)
|
void |
removeFromAllowedRoles(String role)
|
void |
setAllowedRoles(String roles)
|
void |
setAttribute(String key,
Object value)
|
void |
setCopletBaseData(CopletBaseData copletBaseData)
Sets the copletBaseData. |
void |
setTitle(String title)
Sets the title. |
Methods inherited from class org.apache.cocoon.portal.factory.impl.AbstractProducible |
---|
clone, getId, getName, initialize, setDescription, setId, setName |
Methods inherited from class org.apache.cocoon.portal.aspect.impl.AbstractAspectalizable |
---|
addPersistentAspectData, getAspectData, getAspectDatas, getPersistentAspectData, isAspectSupported, setAspectData, setAspectDataHandler |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cocoon.portal.aspect.Aspectalizable |
---|
addPersistentAspectData, getAspectData, getAspectDatas, getPersistentAspectData, isAspectSupported, setAspectData, setAspectDataHandler |
Field Detail |
---|
protected String title
protected CopletBaseData copletBaseData
protected Map attributes
protected String allowedRoles
protected transient List allowedRolesList
Constructor Detail |
---|
public CopletData()
Method Detail |
---|
public String getTitle()
public void setTitle(String title)
title
- The title to setpublic CopletBaseData getCopletBaseData()
public void setCopletBaseData(CopletBaseData copletBaseData)
copletBaseData
- The copletBaseData to setpublic Object removeAttribute(String key)
public Object getAttribute(String key)
public void setAttribute(String key, Object value)
public Map getAttributes()
public boolean applyDelta(Object object)
applyDelta
in interface DeltaApplicable
ClassCastException
- If the object is not of the expected type.public boolean deltaApplied()
deltaApplied
in interface DeltaApplicable
public String getAllowedRoles()
public void setAllowedRoles(String roles)
roles
- The allowed roles to set.public List getAllowedRolesList()
public void addToAllowedRoles(String role)
public void removeFromAllowedRoles(String role)
protected void buildRolesString(List fromList)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |