public class Company extends Organization
DomainObject.Factory
Constructor and Description |
---|
Company(java.lang.String objectId) |
Company(java.lang.String name,
java.lang.String revision,
java.lang.String vault) |
Company(java.lang.String type,
java.lang.String name,
java.lang.String revision,
java.lang.String vault) |
Modifier and Type | Method and Description |
---|---|
static Company |
getEmployerForPerson()
Convenienve method for retrieving the company businessobject for which
the current user is an employee.
|
static Company |
getEmployerForPerson(Person person)
Convenienve method for retrieving the company businessobject for which
the person is an employee.
|
static Company |
getEmployerForPerson(java.lang.String personObjectId)
Convenienve method for retrieving the company businessobject for which
the person is an employee.
|
static java.lang.String |
getEmployerObjectIDForPerson()
Convenienve method for retrieving the OID of the company businessobject
for which the current user is an employee.
|
static java.lang.String |
getEmployerObjectIDForPerson(Person person)
Convenienve method for retrieving the OID of the company businessobject
for which the person is an employee.
|
static java.lang.String |
getEmployerObjectIDForPerson(java.lang.String personObjectId)
Convenienve method for retrieving the OID of the company businessobject
for which the person is an employee.
|
java.lang.String |
getSecondaryVaults() |
void |
setSecondaryVaults(java.lang.String value) |
getAddress, getCageCode, getCity, getCountry, getDefaultPolicy, getDivision, getDUNSNumber, getFileSite, getFileStoreSymbolicName, getFTPDirectory, getFTPHost, getMeetingSiteID, getMeetingSiteName, getOrganizationFaxNumber, getOrganizationID, getOrganizationName, getOrganizationPhoneNumber, getOriginator, getPostalCode, getPrimaryKey, getStateRegion, getWebSite, isActive, isInactive, setAddress, setCageCode, setCity, setCountry, setDefaultPolicy, setDivision, setDUNSNumber, setFileSite, setFileStoreSymbolicName, setFTPDirectory, setFTPHost, setMeetingSiteID, setMeetingSiteName, setOrganizationFaxNumber, setOrganizationID, setOrganizationName, setOrganizationPhoneNumber, setOriginator, setPostalCode, setPrimaryKey, setStateRegion, setWebSite
connect, connect, connect, connect, createClone, createClone, createClone, delete, demote, equals, evaluate, evaluateToBoolean, evaluateToDouble, evaluateToInteger, expand, expand, expand, expandFrom, expandTo, getAttributeBooleanValue, getAttributeDateValue, getAttributeDoubleValue, getAttributeIntegerValue, getAttributes, getAttributeValue, getBasics, getCurrent, getDescription, getFiles, getFirstRevision, getLastRevision, getLatestRevisionInState, getLatestRevisionInState, getModified, getName, getNextRevision, getObjectId, getObjectIds, getOriginated, getOwner, getPolicy, getPolicyInfo, getPreviousRevision, getRelatedObjects, getRevision, getRevisions, getStateInfo, getTransferObject, getType, getTypeInfo, getVault, hashCode, isModified, lock, newInstance, newInstance, newInstance, newInstance, newInstance, onTrigger, promote, refresh, revise, revise, revise, save, select, select, select, select, select, selectList, selectList, selectList, selectList, setAttributeBooleanValue, setAttributeDateValue, setAttributeDoubleValue, setAttributeIntegerValue, setAttributes, setAttributeValue, setDescription, setOwner, toString, unlock
public Company(java.lang.String type, java.lang.String name, java.lang.String revision, java.lang.String vault) throws TVCException
type
- The type of the business object.name
- The name.revision
- The revision.vault
- The vault (optional).TVCException
- If unable to get the OID of the business object.public Company(java.lang.String name, java.lang.String revision, java.lang.String vault) throws TVCException
name
- The name.revision
- The revision.vault
- The vault (optional).TVCException
- If unable to get the OID of the business object.public Company(java.lang.String objectId)
objectId
- The ID of the business object.public static Company getEmployerForPerson() throws TVCException
TVCException
- If unable to get the OID.public static Company getEmployerForPerson(Person person) throws TVCException
person
- A person object.TVCException
- If unable to get the OID.public static Company getEmployerForPerson(java.lang.String personObjectId) throws TVCException
personObjectId
- The OID of the person businessobject.TVCException
- If unable to get the OID.public static java.lang.String getEmployerObjectIDForPerson() throws TVCException
TVCException
- If unable to get the OID.public static java.lang.String getEmployerObjectIDForPerson(Person person) throws TVCException
person
- A person object.TVCException
- If unable to get the OID.public static java.lang.String getEmployerObjectIDForPerson(java.lang.String personObjectId) throws TVCException
personObjectId
- The OID of the person businessobject.TVCException
- If unable to get the OID.public java.lang.String getSecondaryVaults() throws TVCException
TVCException
- If unable to get the secondary vaults.DomainObject.getAttributeValue(String)
public void setSecondaryVaults(java.lang.String value) throws TVCException
value
- The new value of attribute.TVCException
- If unable to resolve the attribute name.DomainObject.setAttributeValue(String, String)
Copyright © Technia AB. All Rights Reserved.