|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.xsp.acl.ACL
public class ACL
ACL definition object. This corresponds to the xp:acl tag in the XPage source, that may be set in the "acl" property of the Panel or XPage root control.
Constructor Summary | |
---|---|
ACL()
|
Method Summary | |
---|---|
boolean |
addEntry(ACLEntry item)
Add a new item in the collection 'entries'. |
java.util.List<ACLEntry> |
getEntries()
Get the entire collection 'entries'. |
ACLEntry |
getEntry(int index)
Get an indexed item in the collection 'entries'. |
int |
getEntryCount()
Get the number of item in the collection 'entries'. |
int |
getUserRights(javax.faces.context.FacesContext context)
Get the rights for the current user |
boolean |
isEditor(javax.faces.context.FacesContext context)
Check if the current user has write access |
boolean |
isTransient()
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setTransient(boolean transientFlag)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ACL()
Method Detail |
---|
public int getUserRights(javax.faces.context.FacesContext context)
context
-
ACLEntry.ACL_EDITOR
.public boolean isEditor(javax.faces.context.FacesContext context)
public java.util.List<ACLEntry> getEntries()
public int getEntryCount()
public ACLEntry getEntry(int index)
index
- the index value
public boolean addEntry(ACLEntry item)
item
- the item to add
public void setTransient(boolean transientFlag)
setTransient
in interface javax.faces.component.StateHolder
public boolean isTransient()
isTransient
in interface javax.faces.component.StateHolder
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |