|
Collaboration API Documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Classes that implement the AccessLevelsDefinition
specify a set of
Access Control List (ACL) definitions that are associated with various logical teamspace objects.
When this access level definition is assigned
to a member of a teamspace, the member is granted the specified access level
permissions to objects within the teamspace.
Teamspace
,
AccessLevelsStore
Field Summary | |
static int |
ALL_ACCESS_LEVEL_TYPES
Value of "3"; all access level definition types. |
static java.lang.String |
GUEST_ACCESS_LEVEL_STR
Value of "guest"; XML value.. |
static int |
GUEST_ACCESS_LEVEL_TYPE
Value of "2"; defines member type access level definition. |
static java.lang.String |
MEMBER_ACCESS_LEVEL_STR
Value of "member"; XML value. |
static int |
MEMBER_ACCESS_LEVEL_TYPE
Value of "1"; defines member type access level definition. |
static java.lang.String[] |
PROPERTIES
|
Method Summary | |
void |
checkAccessControl(Teamspace teamspace,
AccessControlInfo accessControlInfo)
Determine if this access level definition grants the requested access control. |
void |
generateAccessLevels(SubjectInfo subjectInfo,
java.lang.String teamspaceObjectName,
com.filenet.wcm.api.Permissions objectPermissions)
Generate permissions based on the name of the teamspace object, for the teamspace member of the given type. |
int |
getAccessLevelType()
Return the type of the access level definition (MEMBER or GUEST). |
com.filenet.wcm.api.BaseObject |
getBaseObject()
Returns a BaseObject , which provides access to the underlying
Content Java API object for this object. |
java.lang.String |
getDefinitionID()
Return the id of the access level definition in the Collaboration Store. |
java.lang.String |
getDescription()
Return the description of the access level definition |
java.lang.String |
getID()
Returns the ID (in GUID format) for this object. |
java.lang.String |
getLabel()
Return the label of the access level definition |
java.lang.String |
getName()
Return the symbolic name of the access level definition |
boolean |
hasAccess(SubjectInfo subjectInfo,
java.lang.String teamspaceObjectName)
Determine if the subject has access to the teamspace object |
Methods inherited from interface com.filenet.bso.api.collaboration.CollaborationObject |
getSymbolicName, getType |
Field Detail |
public static final java.lang.String[] PROPERTIES
public static final int MEMBER_ACCESS_LEVEL_TYPE
public static final int GUEST_ACCESS_LEVEL_TYPE
public static final int ALL_ACCESS_LEVEL_TYPES
public static final java.lang.String MEMBER_ACCESS_LEVEL_STR
public static final java.lang.String GUEST_ACCESS_LEVEL_STR
Method Detail |
public java.lang.String getDefinitionID()
String
containing the access level definition id.public java.lang.String getName()
String
containing the symbolic name.public java.lang.String getLabel()
String
containing the label.public java.lang.String getDescription()
String
containing the description.public int getAccessLevelType()
int
values that specifies the type of access level definition.public void generateAccessLevels(SubjectInfo subjectInfo, java.lang.String teamspaceObjectName, com.filenet.wcm.api.Permissions objectPermissions)
Permission
objects.public void checkAccessControl(Teamspace teamspace, AccessControlInfo accessControlInfo)
public boolean hasAccess(SubjectInfo subjectInfo, java.lang.String teamspaceObjectName)
subjectInfo
- A SubjectInfo object.teamspaceObjectName
- Symbolic name of teamspace object.public com.filenet.wcm.api.BaseObject getBaseObject()
BaseObject
, which provides access to the underlying
Content Java API object for this object.
BsoBaseObject
.public java.lang.String getID()
String
containing an object GUID.
|
Collaboration API Documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |