com.ibm.itim.dataservices.model.domain
Class BusinessPartnerEntity
java.lang.Object
com.ibm.itim.dataservices.model.DirectoryObjectEntity
com.ibm.itim.dataservices.model.domain.PersonEntity
com.ibm.itim.dataservices.model.domain.BusinessPartnerEntity
All Implemented Interfaces: com.ibm.itim.util.Sortable, java.io.Serializable
public class BusinessPartnerEntity extends PersonEntity
Represents a business partner in the data model.
See Also: PersonEntity
,
Serialized Form
Fields inherited from interface com.ibm.itim.util.Sortable
ATTR_NAME
Methods inherited from class com.ibm.itim.dataservices.model.domain.PersonEntity
addRole , cleanupRoleAssignmentData , getAccounts , getImmediateSupervisor , getOrganization , getRoleAssignmentData , getRoleAssignmentData , getRoles , getRolesChanges , getSupervisor , isComparableTo , isMemberOfRole , move , removeAllRoleAssignmentData , removeRole , removeRoleAssignmentData , setImmediateSupervisor , setRoles , update , updateRoleAssignmentData
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObjectEntity
equals , getDirectoryObject , getDistinguishedName , getEntity , getLifecycle , getObjectCategory , getParent , getParentDN , getProfile , getRelationship , getSortValue , getSupportedRelationships , hashCode , initialize , initialize , isSupportedRelationship , remove , remove , setLifecycle , toString , update
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
BusinessPartnerEntity
public BusinessPartnerEntity (ObjectProfile profile,
Person person)
Constructs a BusinessPartnerEntity with a profile and value object.
Parameters: profile
- Profile identifying the type of this business partner.person
- Person object holding the attributes of the business partner.
BusinessPartnerEntity
public BusinessPartnerEntity (Person person)
Constructs a BusinessPartnerEntity with a value object.
Parameters: person
- Person object holding the attributes of the business partner.
Note: the object must have the name of the profile identifying the
type of this business partner (i.e., Supplier, Manufacturer, etc.)
BusinessPartnerEntity
public BusinessPartnerEntity (DirectoryObject person)
Constructs a BusinessPartnerEntity with a DirectoryObject.
Parameters: person
- DirectoryObject holding the attributes of the business partner.
Note: the object must have the name of the profile identifying the
type of this business partner (i.e., Supplier, Manufacturer, etc.)
getSponsor
public PersonEntity getSponsor ()
throws ModelCommunicationException ,
ModelIntegrityException
Returns the BusinessPartnerEntity's sponsor. A business partner may
have 0 or 1 sponsors.
Returns: PersonEntity representing the sponsor, null if none present.
Throws:
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ModelIntegrityException
- Thrown if a problem exists with
the consistency of the data model preventing the
evaluation of the relationship.
setSponsor
public void setSponsor (DistinguishedName sponsorDN)
throws ModelCommunicationException ,
ObjectNotFoundException
Sets the BusinessPartnerEntity's sponsor.
Parameters: sponsorDN
- DistinguishedName sponsorDN
Throws:
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
business partner in the data store. This may be due to a data integrity
problem, or the entity may have been removed by another
client.
IBM Security Identity Manager 6.0.0 © Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.