|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EditableSecurity
An interface to define security accessors for the associated Item
.
Note that all methods query or update the repository directly.
Any updates to security will be immediately applied.
Any queries on security will return the latest information from the repository.
Method Summary | |
---|---|
void |
addMembers(Access level,
java.lang.String[] members)
Adds each specified member to the list of members who have the specified Access
to the associated Item . |
void |
removeMembers(Access level,
java.lang.String[] members)
Removes each specified member from the list of members who have the specified Access
to the associated Item . |
void |
setInheritance(Access level,
boolean inherit)
Controls inheritance of access controls from the parent of the associated Item . |
Methods inherited from interface com.ibm.workplace.wcm.api.Security |
---|
getInheritedMembers, getMembers, hasAccess, hasAccess, isInherited |
Method Detail |
---|
void addMembers(Access level, java.lang.String[] members)
Access
to the associated Item
.
A member is not added if the string can not can be converted to a valid member.
Note: Duplicates are ignored.
level
- the Access
levelmembers
- the names of members to addvoid removeMembers(Access level, java.lang.String[] members)
Access
to the associated Item
.
A member is only removed if the string can be converted to a valid member.
level
- the Access
levelmembers
- the names of members to removevoid setInheritance(Access level, boolean inherit)
Item
.
level
- the Access
levelinherit
- true
will allow inheritance from the parent,
false
will block inheritance from the parent.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |