CA Identity Manager
Java SDK r12.5 SP 8

 

com.ca.identitymanager.provisioning.managedobject
Class UserAccounts

java.lang.Object
  extended by BaseRelationship
      extended by com.ca.identitymanager.provisioning.managedobject.UserAccounts

public class UserAccounts
extends BaseRelationship

Represents a relationship between Userand Accounts


Field Summary
static java.lang.String eTrustAdmin_Special_UserId
           
 
Constructor Summary
UserAccounts(RelationshipProvider provider, ManagedObject primaryObject)
           
 
Method Summary
 void addRelatedObject(ManagedObject relatedObj)
           
 void fixUniqueNames(java.util.Map oldToNew)
           
 java.util.Collection getAdded()
           
 ImsManagedObjectAttrDefinition getAttributeDefinition()
           
 java.lang.Object getLastCommittedValue()
           
 java.lang.Object getOriginalValue()
           
 java.util.Collection getRemoved()
           
 java.lang.Object getValue()
          Returns a collection of Account managed object objects that represents the managed objects related to the user managed object.
 boolean isObjectRelated(ManagedObject relatedObj)
          Indicates whether a given account managed object is related to the User managed object
 void persist()
           
 void persistAddRelatedObject(ManagedObject relatedObj)
           
 void persistRelatedObjectNameChange(java.lang.String oldUniqueName, java.lang.String newUniqueName)
           
 void persistRemoveRelatedObject(ManagedObject relatedObj)
           
 void prePersist()
           
 void removeRelatedObject(ManagedObject relatedObj)
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eTrustAdmin_Special_UserId

public static final java.lang.String eTrustAdmin_Special_UserId
See Also:
Constant Field Values
Constructor Detail

UserAccounts

public UserAccounts(RelationshipProvider provider,
                    ManagedObject primaryObject)
Method Detail

isObjectRelated

public boolean isObjectRelated(ManagedObject relatedObj)
                        throws SmApiException
Indicates whether a given account managed object is related to the User managed object

Parameters:
relatedObj - Account managed object
Returns:
boolean
Throws:
SmApiException

getValue

public java.lang.Object getValue()
                          throws SmApiException
Returns a collection of Account managed object objects that represents the managed objects related to the user managed object. Each managed object is returned with the requested attributes retrieved.

Returns:
Collection
Throws:
SmApiException

getLastCommittedValue

public java.lang.Object getLastCommittedValue()
                                       throws SmApiException
Throws:
SmApiException

getOriginalValue

public java.lang.Object getOriginalValue()
                                  throws SmApiException
Throws:
SmApiException

setValue

public void setValue(java.lang.Object value)
              throws SmApiException
Throws:
SmApiException

getAdded

public java.util.Collection getAdded()
                              throws SmApiException
Throws:
SmApiException

getRemoved

public java.util.Collection getRemoved()
                                throws SmApiException
Throws:
SmApiException

addRelatedObject

public void addRelatedObject(ManagedObject relatedObj)
                      throws SmApiException
Throws:
SmApiException

removeRelatedObject

public void removeRelatedObject(ManagedObject relatedObj)
                         throws SmApiException
Throws:
SmApiException

getAttributeDefinition

public ImsManagedObjectAttrDefinition getAttributeDefinition()

prePersist

public void prePersist()
                throws SmApiException
Throws:
SmApiException

persist

public void persist()
             throws SmApiException
Throws:
SmApiException

fixUniqueNames

public void fixUniqueNames(java.util.Map oldToNew)
                    throws SmApiException
Throws:
SmApiException

persistRelatedObjectNameChange

public void persistRelatedObjectNameChange(java.lang.String oldUniqueName,
                                           java.lang.String newUniqueName)
                                    throws SmApiException
Throws:
SmApiException

persistAddRelatedObject

public void persistAddRelatedObject(ManagedObject relatedObj)
                             throws SmApiException
Throws:
SmApiException

persistRemoveRelatedObject

public void persistRemoveRelatedObject(ManagedObject relatedObj)
                                throws SmApiException
Throws:
SmApiException

CA Identity Manager
Java SDK r12.5 SP 8

06/13/2011

© 2011 CA Technologies, Inc. All rights reserved.