|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cocoon.portal.coplet.CopletData
A coplet data describes an available coplet. A coplet data can be seen
as a class. A user can create one or more instances of the coplet
(CopletInstanceData
s).
Field Summary | |
protected String |
allowedRoles
|
protected List |
allowedRolesList
|
protected Map |
attributes
|
protected CopletBaseData |
copletBaseData
|
protected String |
id
The unique identifier. |
protected String |
title
|
Constructor Summary | |
CopletData()
Constructor |
|
CopletData(String id)
|
Method Summary | |
void |
addToAllowedRoles(String role)
|
protected void |
buildRolesString(List fromList)
|
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 |
getId()
Return the unique identifier of this object. |
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. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected final String id
protected String title
protected CopletBaseData copletBaseData
protected Map attributes
protected String allowedRoles
protected transient List allowedRolesList
Constructor Detail |
public CopletData()
public CopletData(String id)
Method Detail |
public String getId()
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 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)
public String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |