public class BusinessPartnerOrgEntity extends OrganizationalContainerEntity
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SPONSOR
Constant (String) for the sponsor relationship name.
|
ORGANIZATION, PARENT| Constructor and Description |
|---|
BusinessPartnerOrgEntity(BusinessPartnerOrg bpo)
Constructs a BusinessPartnerOrgEntity with a value object.
|
BusinessPartnerOrgEntity(DirectoryObject bpo)
Constructs a BusinessPartnerOrgEntity, taking a DirectoryObject as the parameter.
|
BusinessPartnerOrgEntity(ObjectProfile profile,
BusinessPartnerOrg bpo)
Constructs an BusinessPartnerOrgEntity with a profile and value object.
|
| Modifier and Type | Method and Description |
|---|---|
OrganizationEntity |
getOrganization()
Returns the organization of the current object.
|
PersonEntity |
getSponsor()
Returns the sponsor for the business partner organization.
|
void |
setSponsor(PersonEntity sponsor)
Changes the sponsor for the business partner organization.
|
getLogicalNameContext, getParentContainer, hasDependencies, moveOrgTreeequals, getDirectoryObject, getDistinguishedName, getEntity, getLifecycle, getObjectCategory, getParent, getParentDN, getProfile, getRelationship, getSortValue, getSupportedRelationships, hashCode, initialize, initialize, isSupportedRelationship, remove, remove, setLifecycle, toString, update, updatepublic static final java.lang.String SPONSOR
public BusinessPartnerOrgEntity(ObjectProfile profile, BusinessPartnerOrg bpo)
profile - Profile identifying the type of this business partner
organization.bpo - BusinessParnterOrg object holding the attributes of the
business partner organization.public BusinessPartnerOrgEntity(BusinessPartnerOrg bpo)
bpo - BusinessPartnerOrg object holding the attributes of the
business partner organization.public BusinessPartnerOrgEntity(DirectoryObject bpo)
bpo - DirectoryObject holding the attributes of the
business partner organization.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(PersonEntity sponsor) throws ModelCommunicationException, ObjectNotFoundException
sponsor - PersonEntity representing the new sponsor.ModelCommunicationException - Thrown if unable to communicate
with the data store.ObjectNotFoundException - Thrown if unable to locate the
a sponsor. This may be due to a data integrity problem.public OrganizationEntity getOrganization() throws ModelCommunicationException, ModelIntegrityException
getOrganization in class OrganizationalContainerEntityModelCommunicationException - 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.