|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flexive.shared.AbstractSelectableObjectWithName
com.flexive.shared.security.ACL
public class ACL
Data class for the access control lists
| Field Summary | |
|---|---|
static long |
ACL_CONTACTDATA
Contact Data ACL |
static long |
MAX_INTERNAL_ID
Max. |
static long |
NULL_ACL_ID
ID for an empty placeholder ACL. |
| Constructor Summary | |
|---|---|
ACL()
Constructor |
|
ACL(ACL acl)
Copy Constructor |
|
ACL(long id,
java.lang.String name,
FxString label,
long mandatorId,
java.lang.String mandator,
java.lang.String description,
java.lang.String color,
ACLCategory category,
LifeCycleInfo lifeCycleInfo)
Constructor. |
|
| Method Summary | |
|---|---|
ACLCategory |
getCategory()
Returns the category of the ACL. |
java.lang.String |
getColor()
Returns the color of the ACL. |
java.lang.String |
getDescription()
Returns the description of the ACL. |
java.lang.String |
getDisplayName()
Return the ACL name as it should be displayed to the user. |
long |
getId()
Returns the unique id of the ACL. |
FxString |
getLabel()
Get the display label of this ACL |
LifeCycleInfo |
getLifeCycleInfo()
Get lifecycle information |
long |
getMandatorId()
Returns the mandator the ACL belongs to. |
java.lang.String |
getMandatorName()
Returns the name of the mandator. |
java.lang.String |
getName()
Returns the unique name of the ACL. |
void |
setCategory(ACLCategory cat)
Returns the category of the ACL. |
void |
setColor(java.lang.String color)
Sets the color of the ACL. |
void |
setDescription(java.lang.String desc)
Sets the the description of the ACL. |
void |
setLabel(FxString label)
Set the display label of this ACL |
void |
setName(java.lang.String name)
Sets the unique name of the ACL. |
java.lang.String |
toString()
|
| Methods inherited from class com.flexive.shared.AbstractSelectableObjectWithName |
|---|
equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long NULL_ACL_ID
public static final long MAX_INTERNAL_ID
public static final long ACL_CONTACTDATA
| Constructor Detail |
|---|
public ACL()
public ACL(ACL acl)
acl - ACL to copy
public ACL(long id,
java.lang.String name,
FxString label,
long mandatorId,
java.lang.String mandator,
java.lang.String description,
java.lang.String color,
ACLCategory category,
LifeCycleInfo lifeCycleInfo)
id - the unique idname - the namelabel - display labelmandatorId - the id of the mandator the acl belongs tomandator - the name of the mandatordescription - the descriptioncolor - the color (RGB code or style class)category - the categorylifeCycleInfo - lifecycle information| Method Detail |
|---|
public long getId()
getId in interface SelectableObjectpublic java.lang.String getName()
getName in interface SelectableObjectWithNamepublic java.lang.String getDescription()
public java.lang.String getColor()
getColor in interface ObjectWithColorpublic ACLCategory getCategory()
public LifeCycleInfo getLifeCycleInfo()
public long getMandatorId()
public void setName(java.lang.String name)
name - the new namepublic java.lang.String getDisplayName()
public FxString getLabel()
getLabel in interface ObjectWithLabelpublic void setLabel(FxString label)
label - display labelpublic void setDescription(java.lang.String desc)
desc - the new descriptionpublic void setColor(java.lang.String color)
color - the color of the ACLpublic void setCategory(ACLCategory cat)
cat - the category of the ACLpublic java.lang.String getMandatorName()
public java.lang.String toString()
AbstractSelectableObjectWithName
toString in class AbstractSelectableObjectWithName
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||