|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ifs.server.S_LibraryObject | +--oracle.ifs.server.S_TieLibraryObject | +--oracle.ifs.server.S_PublicObject | +--oracle.ifs.server.S_TiePublicObject | +--oracle.ifs.server.S_DirectoryObject | +--oracle.ifs.server.S_TieDirectoryObject | +--oracle.ifs.server.S_DirectoryGroup
A S_DirectoryGroup is the server-side representation of a group of users and/or other groups.
S_LibraryService
,
S_LibrarySession
Method Summary | |
void |
addMember(S_DirectoryObject member,
S_LibraryObjectDefinition sdef)
Adds a member to a group, using a definition to define the membership relationship. |
void |
addMembers(S_DirectoryObject[] members)
Adds members to the group. |
void |
addMembers(S_DirectoryObject[] members,
S_LibraryObjectDefinition reldef)
Adds members to the group. |
protected void |
deriveDefinition(S_LibraryObjectDefinition def)
Adds to the S_LibraryObjectDefinition for this class. |
protected void |
extendedPreFree(OperationState opState,
S_LibraryObjectDefinition def)
Performs operations before freeing an object. |
protected void |
extendedPreInsert(OperationState opState,
S_LibraryObjectDefinition def)
Updates any system attributes appropriate for creating this object; in this case, invoke a name uniqueness enforcement method if specified by a Policy. |
protected void |
extendedPreUpdate(OperationState opState,
S_LibraryObjectDefinition def)
Update any system attributes appropriate for updating this ACL |
S_DirectoryObject[] |
getAllMembers()
Gets all members of the group, direct or indirect. |
S_DirectoryObject[] |
getAllUserMembers()
Gets all user members of the group, direct or indirect. |
java.lang.Long[] |
getDirectMemberIds()
Gets the direct members of this group. |
S_DirectoryObject[] |
getDirectMembers()
Gets the direct members of this DIRECTORYOBJECT. |
static S_DirectoryGroup |
getWorldDirectoryGroup(S_LibrarySession session)
Gets the DirectoryGroup that represents World access. |
boolean |
isMember(S_DirectoryObject obj)
Determines if the specified DirecotryObject is a member of the group. |
void |
removeMember(S_DirectoryObject member)
Removes a member from the group. |
void |
removeMembers(S_DirectoryObject[] members,
boolean bypass)
Removes members from a group. |
Methods inherited from class oracle.ifs.server.S_DirectoryObject |
extendedPostInsert, getAllAncestors, getDirectAncestorIds, getDirectAncestors |
Methods inherited from class oracle.ifs.server.S_LibraryObject |
equals, free, getAttribute, getAttributeByUpperCaseName, getClassId, getClassObject, getId, getSession, handleEvent, isTraced, postEvent, postEvent, renderAsReader, renderAsStream, setAttribute, setAttribute, toString, trace, update |
Methods inherited from interface oracle.ifs.common.LibraryObjectInterface |
getId |
Methods inherited from interface oracle.ifs.common.Traceable |
getTraceLogger, isTraced, trace |
Method Detail |
public static S_DirectoryGroup getWorldDirectoryGroup(S_LibrarySession session) throws IfsException
session
- the sessionIfsException
- if operation fails.protected void deriveDefinition(S_LibraryObjectDefinition def) throws IfsException
This this called by getDefinition() on S_LibraryObject.
This must call super.deriveDefinition() before applying any class-specific changes to S_LibraryObjectDefinition.
deriveDefinition
in class S_PublicObject
def
- the S_LibraryObjectDefinition that contains
the definition of the target object.IfsException
- if operation fails.protected void extendedPreInsert(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPreInsert
in class S_PublicObject
opState
- current operation statedef
- current object definition to be updated with system attributesIfsException
- if operation fails.protected void extendedPreUpdate(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPreUpdate
in class S_PublicObject
opState
- current operation statedef
- current object definition to be updated with system attributesIfsException
- if operation fails.protected void extendedPreFree(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
This is overridden by classes that need to perform operations after successfully deleting the rows for the freed instance.
extendedPreFree
in class S_DirectoryObject
IfsException
- if operation fails.public void addMember(S_DirectoryObject member, S_LibraryObjectDefinition sdef) throws IfsException
member
- the DirectoryObject to be added to the DirectoryGroupreldef
- the def for the relationshipsIfsException
- if any other aspect of the operation fails.public void addMembers(S_DirectoryObject[] members) throws IfsException
members
- the members to be added to the DirectoryGroupIfsException
- if any other aspect of the operation fails.public void addMembers(S_DirectoryObject[] members, S_LibraryObjectDefinition reldef) throws IfsException
members
- the members to be added to the DirectoryGroupreldef
- the def for the relationshipsIfsException
- if the operation fails.public void removeMember(S_DirectoryObject member) throws IfsException
member
- the member to be removed from the groupIfsException
- if operation failspublic void removeMembers(S_DirectoryObject[] members, boolean bypass) throws IfsException
members
- members to be removed from the DirectoryGroupbypass
- true if security is to be bypassedIfsException
- if the operation fails.public S_DirectoryObject[] getAllMembers() throws IfsException
getAllMembers
in class S_DirectoryObject
IfsException
- if the operation failspublic S_DirectoryObject[] getAllUserMembers() throws IfsException
IfsException
- if the operation failspublic boolean isMember(S_DirectoryObject obj) throws IfsException
obj
- the DirectoryObjectIfsException
- if the operation failspublic S_DirectoryObject[] getDirectMembers() throws IfsException
getDirectMembers
in class S_DirectoryObject
IfsException
- if the operation failspublic java.lang.Long[] getDirectMemberIds() throws IfsException
IfsException
- if the operation fails
|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |