|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dotmarketing.business.PermissionSummary
public class PermissionSummary
Bean used to store information about a permission for displaying it on a page
| Constructor Summary | |
|---|---|
PermissionSummary()
|
|
PermissionSummary(java.lang.String label,
java.lang.String description,
int permissionBit)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDescription()
Returns the description i18n key to be used to present the permission description |
java.lang.String |
getLabel()
Returns the label i18n key to be used to present the permission name |
int |
getPermission()
Returns the permission bit (I.E 1 = View permission) |
void |
setDescription(java.lang.String description)
Sets the description i18n key |
void |
setLabel(java.lang.String label)
Set the label i18nable key |
void |
setPermission(int permissionBit)
Sets the permission bit |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PermissionSummary()
public PermissionSummary(java.lang.String label,
java.lang.String description,
int permissionBit)
| Method Detail |
|---|
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
label - public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - public int getPermission()
public void setPermission(int permissionBit)
permission - public boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||