public class BusinessPartnerEntity extends PersonEntity
PersonEntity,
Serialized FormORGANIZATION, PARENT, ROLE, ROLE_ASSIGNMENT_DATA_DELIMETER, ROLE_ASSIGNMENT_KEY_DELIMETER, ROLE_ASSIGNMENT_VALUE_DELIMETER, SUPERVISOR| Constructor and Description |
|---|
BusinessPartnerEntity(DirectoryObject person)
Constructs a BusinessPartnerEntity with a DirectoryObject.
|
BusinessPartnerEntity(ObjectProfile profile,
Person person)
Constructs a BusinessPartnerEntity with a profile and value object.
|
BusinessPartnerEntity(Person person)
Constructs a BusinessPartnerEntity with a value object.
|
| Modifier and Type | Method and Description |
|---|---|
PersonEntity |
getSponsor()
Returns the BusinessPartnerEntity's sponsor.
|
void |
setSponsor(DistinguishedName sponsorDN)
Sets the BusinessPartnerEntity's sponsor.
|
addRole, cleanupRoleAssignmentData, getAccounts, getImmediateSupervisor, getOrganization, getRoleAssignmentData, getRoleAssignmentData, getRoles, getRolesChanges, getRolesChanges, getSupervisor, isComparableTo, isMemberOfRole, move, removeAllRoleAssignmentData, removeRole, removeRoleAssignmentData, setImmediateSupervisor, setRoles, update, update, updateRoleAssignmentDataequals, getDirectoryObject, getDistinguishedName, getEntity, getLifecycle, getObjectCategory, getParent, getParentDN, getProfile, getRelationship, getSortValue, getSupportedRelationships, hashCode, initialize, initialize, isSupportedRelationship, remove, remove, setLifecycle, toString, updatepublic BusinessPartnerEntity(ObjectProfile profile, Person person)
profile - Profile identifying the type of this business partner.person - Person object holding the attributes of the business partner.public BusinessPartnerEntity(Person person)
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.)public BusinessPartnerEntity(DirectoryObject person)
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.)public PersonEntity getSponsor() throws ModelCommunicationException, ModelIntegrityException
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.public void setSponsor(DistinguishedName sponsorDN) throws ModelCommunicationException, ObjectNotFoundException
sponsorDN - DistinguishedName sponsorDNModelCommunicationException - 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.