public interface Organization extends CentraSiteRegistryObject
Modifier and Type | Method and Description |
---|---|
void |
addChildOrganization(Organization childOrganization)
Adds a child organization to this organization.
|
User |
getAdministrator()
Get one of the Administrator user(s) for the current Organization.
|
java.util.Collection<User> |
getAdministrators()
Get the administrators of the organization.
|
int |
getChildOrganizationCount()
Gets the count of child organizations for the current organization.
|
java.util.Collection<Organization> |
getChildOrganizations()
Gets all immediate children Organizations.
|
java.util.Collection<java.lang.String> |
getEmailAddresses()
Get the Email Address of the current Organization.
|
Organization |
getParentOrganization()
Gets the parent (container) organization.
|
PostalAddress |
getPostalAddress()
Gets the PostalAddress for this organization.
|
User |
getPrimaryContact()
Get the primary contact User for the current Organization.
|
Organization |
getRootOrganziation()
Gets the root organization.
|
java.util.Collection<Service> |
getServices()
Gets all the Services for the current Organization.
|
java.util.Collection<TelephoneNumber> |
getTelephoneNumbers(java.lang.String phoneType)
Gets the telephone numbers for this organization that match the specified telephone
number type.
|
java.util.Collection<User> |
getUsers()
Gets the Collection of Users affiliated with this Organization (belonging to this organization).
|
java.lang.String |
getWebPage()
Get the web page URL of current Organization.
|
void |
removeAdministrator(User user)
Remove a particular user from being the organization administrator.
|
void |
setAdministrators(java.util.Collection<User> users)
Set the administrators for the organization from the given collection.
|
void |
setPostalAddress(PostalAddress postalAddress)
Sets the postal address details of the current organization.
|
void |
setPrimaryContact(User user)
Set the primary contact for the organization.
|
void |
setWebPage(java.lang.String webPage)
Sets the web page address for the organization.
|
getConsumedAssets, getConsumers, getDescription, getDescription, getDisplayVersion, getInitialVirtualAssetName, getLastModifiedTimeStamp, getLCMAssignment, getLocalName, getMandatoryAttributeProfiles, getName, getName, getNameSpace, getNextVersion, getNextVersions, getOrganization, getOwner, getPendingApprovals, getPreviousVersion, getPreviousVersions, getRegistryObject, getRelationShipValueMap, getRequestedUser, getSubscribers, getSystemVersion, getTitle, getType, getUserVersion, getVisiblePrimaryProfiles, getVisibleProfile, isDeployedOn, isLatestVersionObject, isPropagatePermissions, isPropagateProfilePermissions, removeConsumedAssets, removeConsumers, setDescription, setDescription, setDisplayVersion, setLCMState, setLocalName, setName, setName, setNameSpace, setOrganization, setOwner, setPropagatePermissions, setPropagateProfilePermissions, setRelationShipValueMap, setUserVersion
delete, getAttributeLink, getAttributeValue, getAttributeValue, getAttributeValue, getId, isModified, isPredefined, isReadOnly, save, setAttributeValue, setAttributeValue, setAttributeValue
void setPrimaryContact(User user) throws CLLException
user
- The User
who should be set as the primary contactCLLException
- If an error occurs while trying to set the registry object propertyUser getPrimaryContact() throws CLLException
User
CLLException
- If an error occurs while trying to fetch the registry object propertyUser getAdministrator() throws CLLException
getAdministrators()
.User
CLLException
- If an error occurs while trying to fetch the registry object propertyvoid setAdministrators(java.util.Collection<User> users) throws CLLException
users
- The Collection
of User
s to set as organization administratorsCLLException
- If an error occurs while trying to set the registry object propertyjava.util.Collection<User> getAdministrators() throws CLLException
Collection
of User
s who are the organization administratorsCLLException
- If an error occurs while trying to fetch the registry object propertyvoid removeAdministrator(User user) throws CLLException
user
- The user who should be removedCLLException
- If an error occurs while trying to remove the userjava.util.Collection<User> getUsers() throws CLLException
Collection
of User
s who belong to this organizationCLLException
- If an error occurs while trying to fetch the registry object propertyjava.util.Collection<Service> getServices() throws CLLException
Collection
of Service
s that belong to this organizationCLLException
- If an error occurs while trying to fetch the registry object propertyjava.util.Collection<TelephoneNumber> getTelephoneNumbers(java.lang.String phoneType) throws CLLException
phoneType
- The phone type.Collection
of TelephoneNumber
s which belong to the given phoneTypeCLLException
- If an error occurs while trying to fetch the registry object propertyint getChildOrganizationCount() throws CLLException
CLLException
- If an error occurs while trying to fetch the registry object propertyjava.util.Collection<Organization> getChildOrganizations() throws CLLException
Collection
of Organization
instances which are child organizations for this organizationCLLException
- If an error occurs while trying to fetch the registry object propertyOrganization getParentOrganization() throws CLLException
Organization
instance if this organization is a child organization, null otherwiseCLLException
- If an error occurs while trying to fetch the registry object propertyvoid addChildOrganization(Organization childOrganization) throws CLLException
childOrganization
- The child Organization
to addCLLException
- If an error is encountered while trying to add a child organizationOrganization getRootOrganziation() throws CLLException
Organization
, if present. Otherwise, returns current organization.CLLException
- If an error occurs while trying to fetch the registry object propertyvoid setWebPage(java.lang.String webPage) throws CLLException
webPage
- The web page URL for the organizationCLLException
- If an error occurs while trying to fetch the registry object propertyjava.lang.String getWebPage() throws CLLException
CLLException
- If an error occurs while trying to fetch the registry object propertyjava.util.Collection<java.lang.String> getEmailAddresses() throws CLLException
Collection
of Email Address(es) of the current OrganizationCLLException
- If an error occurs while trying to fetch the registry object propertyvoid setPostalAddress(PostalAddress postalAddress) throws CLLException
postalAddress
- The PostalAddress
instance containing the address details for the organizationCLLException
- If an error occurs while trying to fetch the registry object propertyPostalAddress getPostalAddress() throws CLLException
PostalAddress
of this OrganizationCLLException
- If an error occurs while trying to fetch the registry object property