|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Organization instances provide information on organizations such as a Submitting Organization. Each Organization instance may have a reference to a parent Organization. In addition it may have a contact attribute defining the primary contact within the organization. An Organization also has an address attribute.
Service
Method Summary | |
void |
addChildOrganization(Organization organization)
Add a child Organization |
void |
addChildOrganizations(java.util.Collection organizations)
Add a Collection of Organization children |
void |
addService(Service service)
Add a child Service |
void |
addServices(java.util.Collection services)
Add a Collection of Service children |
void |
addUser(User user)
Add a User |
void |
addUsers(java.util.Collection users)
Add a Collection of Users |
int |
getChildOrganizationCount()
Get number of children |
java.util.Collection |
getChildOrganizations()
Get all immediate children Organizations |
java.util.Collection |
getDescendantOrganizations()
Get all descendant Organizations |
Organization |
getParentOrganization()
Get the parent (container) organization |
PostalAddress |
getPostalAddress()
Gets the Address for this Organization. |
User |
getPrimaryContact()
Gets the primary Contact for this Organization. |
Organization |
getRootOrganization()
Get the root organization |
java.util.Collection |
getServices()
Get 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)
Remove a child Organization |
void |
removeChildOrganizations(java.util.Collection organizations)
Remove a Collection of children Organizations |
void |
removeService(Service service)
Remove a Service from this object |
void |
removeServices(java.util.Collection services)
Remove a Collection of children Services from this object |
void |
removeUser(User user)
Remove a User |
void |
removeUsers(java.util.Collection users)
Remove a Collection of Users |
void |
setPostalAddress(PostalAddress address)
Sets the address |
void |
setPrimaryContact(User primaryContact)
Sets the primary contact for this Organization. |
void |
setTelephoneNumbers(java.util.Collection phoneNumbers)
Set the various telephone numbers for this user |
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject |
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
Method Detail |
public PostalAddress getPostalAddress() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void setPostalAddress(PostalAddress address) throws JAXRException
address
- the PostalAddress for this OrganizationJAXRException
- If the JAXR provider encounters an internal errorpublic User getPrimaryContact() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void setPrimaryContact(User primaryContact) throws JAXRException
primaryContact
- the User that is the primary Contact for this OrganizationJAXRException
- If the JAXR provider encounters an internal errorpublic void addUser(User user) throws JAXRException
user
- the User being added to this objectJAXRException
- If the JAXR provider encounters an internal errorpublic void addUsers(java.util.Collection users) throws JAXRException
users
- the Collection of Users being added to this objectJAXRException
- If the JAXR provider encounters an internal errorpublic void removeUser(User user) throws JAXRException
user
- the User being removed from this objectJAXRException
- If the JAXR provider encounters an internal errorpublic void removeUsers(java.util.Collection users) throws JAXRException
users
- the Collection of Users being removed from this objectJAXRException
- If the JAXR provider encounters an internal errorpublic java.util.Collection getUsers() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorUser
public 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
public void setTelephoneNumbers(java.util.Collection phoneNumbers) throws JAXRException
phoneNumbers
- the TelephoneNumbers being set for this objectJAXRException
- If the JAXR provider encounters an internal errorpublic void addService(Service service) throws JAXRException
service
- the Service being added to this objectJAXRException
- If the JAXR provider encounters an internal errorpublic void addServices(java.util.Collection services) throws JAXRException
services
- the Collection of Services being added to this objectJAXRException
- If the JAXR provider encounters an internal errorpublic void removeService(Service service) throws JAXRException
service
- the Service being removed from this objectJAXRException
- If the JAXR provider encounters an internal errorpublic void removeServices(java.util.Collection services) throws JAXRException
services
- the Collection of Services being removed from this objectJAXRException
- If the JAXR provider encounters an internal errorpublic java.util.Collection getServices() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorService
public void addChildOrganization(Organization organization) throws JAXRException
organization
- the child Organization being addedJAXRException
- If the JAXR provider encounters an internal errorpublic void addChildOrganizations(java.util.Collection organizations) throws JAXRException
organizations
- the Collection of child Organizations being addedJAXRException
- If the JAXR provider encounters an internal errorpublic void removeChildOrganization(Organization organization) throws JAXRException
organization
- the child Organization being removedJAXRException
- If the JAXR provider encounters an internal errorpublic void removeChildOrganizations(java.util.Collection organizations) throws JAXRException
organizations
- the Collection of child Organizations being removedJAXRException
- If the JAXR provider encounters an internal errorpublic int getChildOrganizationCount() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic java.util.Collection getChildOrganizations() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorOrganization
public java.util.Collection getDescendantOrganizations() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorOrganization
public Organization getParentOrganization() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic Organization getRootOrganization() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |