|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Security
An interface to define security accessors for a WCM item Note that all methods query or update the repository directly Any updates to security will be immedaiately applied Any queries on security will return the latest infomration from the repository
Method Summary | |
---|---|
java.lang.String[] |
getInheritedMembers(Access level)
Returns a string array of members who have inherited access at the specified level to the associated Item . |
java.lang.String[] |
getMembers(Access level)
Returns a string array of members who have the specified access to the associated Item . |
boolean |
hasAccess(Access level)
TODO: make clear in each method whether the access levels are nested TODO: i.e. |
boolean |
hasAccess(UserProfile user,
Access level)
Checks if the UserProfile has the specified access to the associated document. |
boolean |
isInherited(Access level)
Checks if the specified Access level will be inherited from the
parent of the associated Item . |
Method Detail |
---|
boolean hasAccess(Access level)
Workspace
has the specified access to the associated document.
level
- the access level to check
boolean hasAccess(UserProfile user, Access level)
UserProfile
has the specified access to the associated document.
user
- the UserProfile to perform the access check forlevel
- the access level to check
java.lang.String[] getMembers(Access level)
Item
.
The strings are either common names or distinguished names, depending on the configuration of the Workspace.
The returned array may contain the names of users or groups.
Returns an empty array if no users or groups have the specified access level.
This method does not return array of members who have inherited access.
To get array of members who have inherited access use @link #getInheritedMembers()
java.lang.String[] getInheritedMembers(Access level)
Item
.
The returned array may contain the names of users or groups.
Returns an empty array if no users or groups have inherited access at the specified level.
Returns an empty array if no users or groups have inherited access at the specified level.
Document
object.boolean isInherited(Access level)
Access
level will be inherited from the
parent of the associated Item
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |