|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | 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)
Adds a child Organization. |
void |
addChildOrganizations(Collection organizations)
Adds a Collection of Organization children. |
void |
addService(Service service)
Adds a child Service. |
void |
addServices(Collection services)
Adds a Collection of Service children. |
void |
addUser(User user)
Adds a User. |
void |
addUsers(Collection users)
Adds a Collection of Users. |
int |
getChildOrganizationCount()
Gets number of children. |
Collection |
getChildOrganizations()
Gets all immediate children Organizations. |
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. |
Collection |
getServices()
Gets all children Services. |
Collection |
getTelephoneNumbers(String phoneType)
Gets the telephone numbers for this User that match the specified telephone number type. |
Collection |
getUsers()
Gets the Collection of Users affiliated with this Organization. |
void |
removeChildOrganization(Organization organization)
Removes a child Organization. |
void |
removeChildOrganizations(Collection organizations)
Removes a Collection of children Organizations. |
void |
removeService(Service service)
Removes a Service from this object. |
void |
removeServices(Collection services)
Removes a Collection of children Services from this object. |
void |
removeUser(User user)
Removes a User. |
void |
removeUsers(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(Collection phoneNumbers)
Sets 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 Organization
JAXRException
- 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 Organization
JAXRException
- If the JAXR provider encounters an internal errorpublic void addUser(User user) throws JAXRException
user
- the User being added to this object
JAXRException
- If the JAXR provider encounters an internal errorpublic void addUsers(Collection users) throws JAXRException
users
- the Collection of Users being added to this object
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeUser(User user) throws JAXRException
user
- the User being removed from this object
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeUsers(Collection users) throws JAXRException
users
- the Collection of Users being removed from this object
JAXRException
- If the JAXR provider encounters an internal errorpublic Collection getUsers() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorUser
public Collection getTelephoneNumbers(String phoneType) throws JAXRException
phoneType
- a String that specifies the type of phone numbers desired
JAXRException
- If the JAXR provider encounters an internal errorTelephoneNumber
public void setTelephoneNumbers(Collection phoneNumbers) throws JAXRException
phoneNumbers
- the TelephoneNumbers being set for this object
JAXRException
- If the JAXR provider encounters an internal errorpublic void addService(Service service) throws JAXRException
service
- the Service being added to this object
JAXRException
- If the JAXR provider encounters an internal errorpublic void addServices(Collection services) throws JAXRException
services
- the Collection of Services being added to this object
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeService(Service service) throws JAXRException
service
- the Service being removed from this object
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeServices(Collection services) throws JAXRException
services
- the Collection of Services being removed from this object
JAXRException
- If the JAXR provider encounters an internal errorpublic 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 added
JAXRException
- If the JAXR provider encounters an internal errorpublic void addChildOrganizations(Collection organizations) throws JAXRException
organizations
- the Collection of child Organizations being added
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeChildOrganization(Organization organization) throws JAXRException
organization
- the child Organization being removed
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeChildOrganizations(Collection organizations) throws JAXRException
organizations
- the Collection of child Organizations being removed
JAXRException
- If the JAXR provider encounters an internal errorpublic int getChildOrganizationCount() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic Collection getChildOrganizations() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorOrganization
public 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
|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.