|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagedObject
Provides access to the attributes of managed objects that extend
this interface. Access to attributes is provided through the methods
inherited from AttributeCollection
.
Identity Manager administrators perform admin tasks against Identity Manager
managed objects.
Managed objects can be any of the following kinds of objects:
User
, Group
,
Organization
.
AdminRole
, AdminTask
,
AccessRole
, AccessTask
,
PasswordPolicy
.
ProvisioningRole
.ProviderAccessor
.
BLTHContext
get...
methods.
EventContext
or
EventROContext
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Method Summary | |
---|---|
void |
directAddAttributeValue(java.lang.String attributeName,
java.lang.String value)
Directly updates the attribute on the managed object by adding or setting the value. |
void |
directRemoveAttributeValue(java.lang.String attributeName,
java.lang.String value)
Directly updates the attribute on the managed object by remove or clearing the value. |
boolean |
equals(java.lang.Object other)
Internal use only. |
void |
fixUniqueNames(UniqueNameChangeHelper uniqueNameChanges)
Called when secondary events are started to correct the unique name references to objects that may have just been created as part of the primary events. |
ImsDirectory |
getImsDirectory()
Internal use only. |
ImsEnvironment |
getImsEnvironment()
Internal use only. |
ObjectType |
getObjectType()
Retrieves the type of this managed object. |
Organization |
getOrg(java.util.Enumeration attribs)
Retrieves the organization that is the parent of the current object. |
Organization |
getOrg(TSContext context,
AttributeRightsCollection attribs)
Retrieves the organization that is the parent of the current object, and includes access permissions for the retrieved object's attributes. |
ManagedObjectProvider |
getProvider()
Get managed object provider. |
int |
hashCode()
Internal use only. |
void |
move(Organization newParent)
Moves the object to a new organization. |
boolean |
persisted()
Checks if the ManagedObject has been persisted. |
Methods inherited from interface com.netegrity.llsdk6.imsapi.abstractinterface.NamedObject |
---|
getFriendlyName, getUniqueName, toString |
Methods inherited from interface com.netegrity.llsdk6.imsapi.abstractinterface.ModifiableObject |
---|
modifyObject, modifyObject |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Method Detail |
---|
ObjectType getObjectType()
boolean equals(java.lang.Object other)
equals
in interface java.util.Map
equals
in interface NamedObject
equals
in class java.lang.Object
true
if the objects are equal, or false
otherwise.int hashCode()
hashCode
in interface java.util.Map
hashCode
in interface NamedObject
hashCode
in class java.lang.Object
boolean persisted()
void move(Organization newParent) throws SmApiException
Moves the object to a new organization.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
com.netegrity.llsdk6.imsapi.exception.NoSessionException
com.netegrity.sdk.apiutil.SmApiException
SmApiException
Organization getOrg(java.util.Enumeration attribs) throws SmApiException
Retrieves the organization that is the parent of the current object.
Every managed object contains a reference to its parent in the hierarchy. Typically, the parent is the organization where the object is located. In special cases where an object has no parent object -- for example, the root organization of a hierarchy, and roles and tasks (which are not contained in an organizational hierarchy) -- this method returnsnull
.
attribs
- An Enumeration of Strings containing names of the attributes
to include in the retrieved object. If you pass
an empty Enumeration, no attributes are included.
If you pass null
, all attributes are included.
null
if the object is not contained in an organization.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
com.netegrity.llsdk6.imsapi.exception.NoSessionException
SmApiException
Organization getOrg(TSContext context, AttributeRightsCollection attribs) throws SmApiException
Retrieves the organization that is the parent of the current object, and includes access permissions for the retrieved object's attributes.
Every managed object contains a reference to its parent in the hierarchy. Typically, the parent is the organization where the object is located.null
in special cases where an object has
no parent object -- for example, the root organization of a hierarchy,
and roles and tasks (which are not contained in an organizational hierarchy).
context
- Context information for the current task session.attribs
- A collection of AttributeRight
objects, each containing the name of an attribute to include in the
retrieved objects, and the associated permission request.
null
if the object is not contained in an organization.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
com.netegrity.llsdk6.imsapi.exception.NoSessionException
SmApiException
ImsEnvironment getImsEnvironment() throws SmApiException
SmApiException
ImsDirectory getImsDirectory() throws SmApiException
SmApiException
void directAddAttributeValue(java.lang.String attributeName, java.lang.String value) throws SmApiException
attributeName
- value
-
SmApiException
ManagedObjectProvider getProvider() throws SmApiException
SmApiException
void directRemoveAttributeValue(java.lang.String attributeName, java.lang.String value) throws SmApiException
attributeName
- value
-
SmApiException
void fixUniqueNames(UniqueNameChangeHelper uniqueNameChanges) throws SmApiException
uniqueNameChanges
-
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 |