public interface Organization extends RegistryObject
Service
Modifier and Type | Method and Description |
---|---|
void |
addChildOrganization(Organization organization)
Adds a child Organization.
|
void |
addChildOrganizations(java.util.Collection organizations)
Adds a Collection of Organization children.
|
void |
addService(Service service)
Adds a child Service.
|
void |
addServices(java.util.Collection services)
Adds a Collection of Service children.
|
void |
addUser(User user)
Adds a User.
|
void |
addUsers(java.util.Collection users)
Adds a Collection of Users.
|
int |
getChildOrganizationCount()
Gets number of children.
|
java.util.Collection |
getChildOrganizations()
Gets all immediate children Organizations.
|
java.util.Collection |
getDescendantOrganizations()
Gets all descendant Organizations.
|
Organization |
getParentOrganization()
Gets the parent (container) organization.
|
PostalAddress |
getPostalAddress()
Gets the Address for this Organization.
|
User |
getPrimaryContact()
Gets the primary Contact for this Organization.
|
Organization |
getRootOrganization()
Gets the root organization.
|
java.util.Collection |
getServices()
Gets all children Services.
|
java.util.Collection |
getTelephoneNumbers(java.lang.String phoneType)
Gets the telephone numbers for this User that match the specified telephone number type.
|
java.util.Collection |
getUsers()
Gets the Collection of Users affiliated with this Organization.
|
void |
removeChildOrganization(Organization organization)
Removes a child Organization.
|
void |
removeChildOrganizations(java.util.Collection organizations)
Removes a Collection of children Organizations.
|
void |
removeService(Service service)
Removes a Service from this object.
|
void |
removeServices(java.util.Collection services)
Removes a Collection of children Services from this object.
|
void |
removeUser(User user)
Removes a User.
|
void |
removeUsers(java.util.Collection users)
Removes a Collection of Users.
|
void |
setPostalAddress(PostalAddress address)
Sets the address for this Organization.
|
void |
setPrimaryContact(User primaryContact)
Sets the primary contact for this Organization.
|
void |
setTelephoneNumbers(java.util.Collection phoneNumbers)
Sets the various telephone numbers for this user.
|
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
PostalAddress getPostalAddress() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setPostalAddress(PostalAddress address) throws JAXRException
address
- the PostalAddress for this OrganizationJAXRException
- If the JAXR provider encounters an internal errorUser getPrimaryContact() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setPrimaryContact(User primaryContact) throws JAXRException
primaryContact
- the User that is the primary Contact for this OrganizationJAXRException
- If the JAXR provider encounters an internal errorvoid addUser(User user) throws JAXRException
user
- the User being added to this objectJAXRException
- If the JAXR provider encounters an internal errorvoid addUsers(java.util.Collection users) throws JAXRException
users
- the Collection of Users being added to this objectJAXRException
- If the JAXR provider encounters an internal errorvoid removeUser(User user) throws JAXRException
user
- the User being removed from this objectJAXRException
- If the JAXR provider encounters an internal errorvoid removeUsers(java.util.Collection users) throws JAXRException
users
- the Collection of Users being removed from this objectJAXRException
- If the JAXR provider encounters an internal errorjava.util.Collection getUsers() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorUser
java.util.Collection getTelephoneNumbers(java.lang.String phoneType) throws JAXRException
phoneType
- a String that specifies the type of phone numbers desiredJAXRException
- If the JAXR provider encounters an internal errorTelephoneNumber
void setTelephoneNumbers(java.util.Collection phoneNumbers) throws JAXRException
phoneNumbers
- the TelephoneNumbers being set for this objectJAXRException
- If the JAXR provider encounters an internal errorvoid addService(Service service) throws JAXRException
service
- the Service being added to this objectJAXRException
- If the JAXR provider encounters an internal errorvoid addServices(java.util.Collection services) throws JAXRException
services
- the Collection of Services being added to this objectJAXRException
- If the JAXR provider encounters an internal errorvoid removeService(Service service) throws JAXRException
service
- the Service being removed from this objectJAXRException
- If the JAXR provider encounters an internal errorvoid removeServices(java.util.Collection services) throws JAXRException
services
- the Collection of Services being removed from this objectJAXRException
- If the JAXR provider encounters an internal errorjava.util.Collection getServices() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorService
void addChildOrganization(Organization organization) throws JAXRException
organization
- the child Organization being addedJAXRException
- If the JAXR provider encounters an internal errorvoid addChildOrganizations(java.util.Collection organizations) throws JAXRException
organizations
- the Collection of child Organizations being addedJAXRException
- If the JAXR provider encounters an internal errorvoid removeChildOrganization(Organization organization) throws JAXRException
organization
- the child Organization being removedJAXRException
- If the JAXR provider encounters an internal errorvoid removeChildOrganizations(java.util.Collection organizations) throws JAXRException
organizations
- the Collection of child Organizations being removedJAXRException
- If the JAXR provider encounters an internal errorint getChildOrganizationCount() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorjava.util.Collection getChildOrganizations() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorOrganization
java.util.Collection getDescendantOrganizations() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorOrganization
Organization getParentOrganization() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorOrganization getRootOrganization() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal error