|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
An Access List describes the security attributes of a Plumtree Object. An Access List is a collection of Access List Entries. Each Access List Entry describes a level of access that has been assigned to a particular user or group.
IPTAccessListEntry| Method Summary | |
IPTAccessListEntry |
Add(int nClassID,
int nObjectID,
int AccessLevel,
java.lang.String bstrName,
int nIndex,
boolean bReadonly)
Adds a new entry to the access list |
void |
AggressiveMerge(IPTAccessList pACL)
Similar to Merge, but without accounting for read-only items (i.e. |
void |
Clear()
Removes the non-read only entries from the access list |
void |
ClearCompletely()
Removes all entries in the list without regards to read-only attributes |
IPTAccessList |
Clone()
Clones the access list |
IPTAccessListEntry |
Find(int nClassID,
int nObjectID)
Finds an entry in the list that matches the given classID and objectID |
IPTAccessList |
GetAdminACLs()
Returns the Admin only entries in the current ACL |
int |
GetCount()
Gets the number of access list entries |
com.plumtree.openfoundation.util.IXPEnumerator |
GetEnumerator()
Returns the enumerator over the access list |
IPTAccessListEntry |
GetItem(int nIndex)
Retrieves an access list entry |
boolean |
IsAdminModified(IPTAccessList spOldACL)
Checks if there are new Admin entries or existing ones modified to Admin. |
boolean |
IsDifferent(IPTAccessList spACL)
Checks if the passed-in IPTAccessList is different from this one |
void |
Merge(IPTAccessList pACL)
Merges access list with the spFromACL argument. |
void |
Remove(int nIndex)
Removes a particular access list entry as specified by index |
| Methods inherited from interface com.plumtree.server.IPTUnknown |
GetInterfaces |
| Method Detail |
public IPTAccessListEntry GetItem(int nIndex)
index - index of entry to retrievepublic com.plumtree.openfoundation.util.IXPEnumerator GetEnumerator()
public int GetCount()
public void Remove(int nIndex)
index - index of entry to remove
public IPTAccessListEntry Add(int nClassID,
int nObjectID,
int AccessLevel,
java.lang.String bstrName,
int nIndex,
boolean bReadonly)
classID - class id - PT_CLASSIDSobjectID - object id of objectaccessLevel - Access Level PT_ACCESS_LEVELSname - nameindex - defaultvalue(-1)readOnly - defaultvalue(FALSE)IPTAccessListEntry,
PT_CLASSIDS,
PT_ACCESS_LEVELSpublic void Clear()
public IPTAccessList Clone()
public IPTAccessListEntry Find(int nClassID,
int nObjectID)
classID - must be either PT_USER_ID or PT_USERGROUPIDobjectID - object idpublic void Merge(IPTAccessList pACL)
pACL - IPTAccessList to merge withpublic void AggressiveMerge(IPTAccessList pACL)
pACL - IPTAccessList to merge withpublic void ClearCompletely()
public boolean IsDifferent(IPTAccessList spACL)
list - IPTAccessList to check againstpublic boolean IsAdminModified(IPTAccessList spOldACL)
list - IPTAccessList old ACL to check againstpublic IPTAccessList GetAdminACLs()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||