|
|||||||||
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
An 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. |
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. |
S_DirectoryObject[] |
getAllMembers()
Gets all members of the group. |
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)
Removes members from a group. |
Methods inherited from class oracle.ifs.server.S_DirectoryObject |
getAllAncestors, getDirectAncestors, getDirectMembers |
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 |
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 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 DirectoryGroupsdef
- the definition to use to create the relationship objectIfsException
- 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 removeMember(S_DirectoryObject member) throws IfsException
member
- the member to be removed from the groupIfsException
- if operation failspublic void removeMembers(S_DirectoryObject[] members) throws IfsException
members
- members to be removed from the DirectoryGroupIfsException
- if any other aspect of the operation fails.public boolean isMember(S_DirectoryObject obj) throws IfsException
id
- a DirectoryObjectIfsException
- if the operation failspublic S_DirectoryObject[] getAllMembers() throws IfsException
getAllMembers
in class S_DirectoryObject
IfsException
- if the operation fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |