|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPTAccessList
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 |
---|
IPTAccessListEntry GetItem(int nIndex)
index
- index of entry to retrieve
com.plumtree.openfoundation.util.IXPEnumerator GetEnumerator()
int GetCount()
void Remove(int nIndex)
index
- index of entry to removeIPTAccessListEntry 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_LEVELS
void Clear()
IPTAccessList Clone()
IPTAccessListEntry Find(int nClassID, int nObjectID)
classID
- must be either PT_USER_ID or PT_USERGROUPIDobjectID
- object id
void Merge(IPTAccessList pACL)
pACL
- IPTAccessList to merge withvoid AggressiveMerge(IPTAccessList pACL)
pACL
- IPTAccessList to merge withvoid ClearCompletely()
boolean IsDifferent(IPTAccessList spACL)
list
- IPTAccessList to check against
boolean IsAdminModified(IPTAccessList spOldACL)
list
- IPTAccessList old ACL to check against
IPTAccessList GetAdminACLs()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |