|
Java SDK r12.5 SP 8 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GroupableObject
Defines an object that can become a member of a group.
| Method Summary | |
|---|---|
void |
addToGroup(Group group)
Adds the current object to the specified group. |
java.util.Vector |
getGroups(java.util.Enumeration attribs)
Retrieves all the groups that this object is a member of. |
java.util.Vector |
getGroups(java.util.Enumeration attribs,
GroupReturnType gType)
|
boolean |
isInGroup(Group group)
Determines whether the current object is a member of the specified group. |
void |
removeFromGroup(Group group)
Removes the current object from the specified group. |
| Method Detail |
|---|
void addToGroup(Group group)
throws SmApiException
Adds the current object to the specified group.
group - The group to which the current object is being added.
com.netegrity.llsdk6.imsapi.exception.NoSessionException - - If this GroupableObject is also a ConnectableObject that is not connected to a session (i.e. isConnected() would return false).
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException - - If this GroupableObject represents an object which can be deleted, that has already been deleted
com.netegrity.sdk.apiutil.SmApiException
SmApiException
void removeFromGroup(Group group)
throws SmApiException
Removes the current object from the specified group.
group - The group from which the current object is being removed.
com.netegrity.llsdk6.imsapi.exception.NoSessionException - - If this GroupableObject is also a ConnectableObject that is not connected to a session (i.e. isConnected() would return false).
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException - - If this GroupableObject represents an object which can be deleted, that has already been deleted
com.netegrity.sdk.apiutil.SmApiException
SmApiException
boolean isInGroup(Group group)
throws SmApiException
Determines whether the current object is a member of the specified group.
group - The group in question.
true if the object is a member of the group, or false otherwise.
com.netegrity.llsdk6.imsapi.exception.NoSessionException - - If this GroupableObject is also a ConnectableObject that is not connected to a session (i.e. isConnected() would return false).
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException - - If this GroupableObject represents an object which can be deleted, that has already been deleted
SmApiException
java.util.Vector getGroups(java.util.Enumeration attribs)
throws com.netegrity.sdk.apiutil.SmApiException
Retrieves all the groups that this object is a member of.
All groups are returned wether explictly a member of a group or implicitly as a result of a nested group or a dynamic group.
attributes - An Enumeration of Strings containing names of the attributes
to include in the retrieved objects. If you pass
an empty Enumeration, no attributes are included.
If you pass null, all attributes are included.
com.netegrity.llsdk6.imsapi.exception.NoSessionException - - If this GroupableObject is also a ConnectableObject that is not connected to a session (i.e. isConnected() would return false).
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException - - If this GroupableObject represents an object which can be deleted, that has already been deleted
com.netegrity.sdk.apiutil.SmApiException
java.util.Vector getGroups(java.util.Enumeration attribs,
GroupReturnType gType)
throws com.netegrity.sdk.apiutil.SmApiException
com.netegrity.sdk.apiutil.SmApiException
|
Java SDK r12.5 SP 8 06/13/2011 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||