org.apache.ws.scout.registry.infomodel
Class OrganizationImpl

java.lang.Object
  extended by org.apache.ws.scout.registry.infomodel.ExtensibleObjectImpl
      extended by org.apache.ws.scout.registry.infomodel.RegistryObjectImpl
          extended by org.apache.ws.scout.registry.infomodel.OrganizationImpl
All Implemented Interfaces:
ExtensibleObject, Organization, RegistryObject

public class OrganizationImpl
extends RegistryObjectImpl
implements Organization

Organization Interface * Implements JAXR Interface. For futher details, look into the JAXR API Javadoc.

Author:
Anil Saldhana, Geir Magnusson Jr.

Constructor Summary
OrganizationImpl(LifeCycleManager lifeCycleManager)
           
 
Method Summary
 void addChildOrganization(Organization organization)
           
 void addChildOrganizations(Collection collection)
           
 void addService(Service service)
           
 void addServices(Collection collection)
           
 void addUser(User user)
           
 void addUsers(Collection collection)
           
 int getChildOrganizationCount()
           
 Collection<Organization> getChildOrganizations()
           
 Collection<Organization> getDescendantOrganizations()
           
 Organization getParentOrganization()
           
 PostalAddress getPostalAddress()
           
 User getPrimaryContact()
           
 Organization getRootOrganization()
           
 Collection<Service> getServices()
           
 Collection<TelephoneNumber> getTelephoneNumbers(String phoneType)
           
 Collection<User> getUsers()
           
 void removeChildOrganization(Organization organization)
           
 void removeChildOrganizations(Collection collection)
           
 void removeService(Service service)
           
 void removeServices(Collection collection)
           
 void removeUser(User user)
           
 void removeUsers(Collection collection)
           
 void setPostalAddress(PostalAddress postalAddress)
           
 void setPrimaryContact(User user)
           
 void setTelephoneNumbers(Collection<TelephoneNumber> collection)
           
 
Methods inherited from class org.apache.ws.scout.registry.infomodel.RegistryObjectImpl
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, equals, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, hashCode, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
 
Methods inherited from class org.apache.ws.scout.registry.infomodel.ExtensibleObjectImpl
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
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
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 

Constructor Detail

OrganizationImpl

public OrganizationImpl(LifeCycleManager lifeCycleManager)
Method Detail

getPrimaryContact

public User getPrimaryContact()
                       throws JAXRException
Specified by:
getPrimaryContact in interface Organization
Throws:
JAXRException

setPrimaryContact

public void setPrimaryContact(User user)
                       throws JAXRException
Specified by:
setPrimaryContact in interface Organization
Throws:
JAXRException

addUser

public void addUser(User user)
             throws JAXRException
Specified by:
addUser in interface Organization
Throws:
JAXRException

addUsers

public void addUsers(Collection collection)
              throws JAXRException
Specified by:
addUsers in interface Organization
Throws:
JAXRException

getUsers

public Collection<User> getUsers()
                          throws JAXRException
Specified by:
getUsers in interface Organization
Throws:
JAXRException

removeUser

public void removeUser(User user)
                throws JAXRException
Specified by:
removeUser in interface Organization
Throws:
JAXRException

removeUsers

public void removeUsers(Collection collection)
                 throws JAXRException
Specified by:
removeUsers in interface Organization
Throws:
JAXRException

getTelephoneNumbers

public Collection<TelephoneNumber> getTelephoneNumbers(String phoneType)
                                                throws JAXRException
Specified by:
getTelephoneNumbers in interface Organization
Throws:
JAXRException

setTelephoneNumbers

public void setTelephoneNumbers(Collection<TelephoneNumber> collection)
                         throws JAXRException
Specified by:
setTelephoneNumbers in interface Organization
Throws:
JAXRException

addService

public void addService(Service service)
                throws JAXRException
Specified by:
addService in interface Organization
Throws:
JAXRException

addServices

public void addServices(Collection collection)
                 throws JAXRException
Specified by:
addServices in interface Organization
Throws:
JAXRException

getServices

public Collection<Service> getServices()
                                throws JAXRException
Specified by:
getServices in interface Organization
Throws:
JAXRException

removeService

public void removeService(Service service)
                   throws JAXRException
Specified by:
removeService in interface Organization
Throws:
JAXRException

removeServices

public void removeServices(Collection collection)
                    throws JAXRException
Specified by:
removeServices in interface Organization
Throws:
JAXRException

getParentOrganization

public Organization getParentOrganization()
                                   throws JAXRException
Specified by:
getParentOrganization in interface Organization
Throws:
JAXRException

getDescendantOrganizations

public Collection<Organization> getDescendantOrganizations()
                                                    throws JAXRException
Specified by:
getDescendantOrganizations in interface Organization
Throws:
JAXRException

getRootOrganization

public Organization getRootOrganization()
                                 throws JAXRException
Specified by:
getRootOrganization in interface Organization
Throws:
JAXRException

addChildOrganization

public void addChildOrganization(Organization organization)
                          throws JAXRException
Specified by:
addChildOrganization in interface Organization
Throws:
JAXRException

addChildOrganizations

public void addChildOrganizations(Collection collection)
                           throws JAXRException
Specified by:
addChildOrganizations in interface Organization
Throws:
JAXRException

getChildOrganizationCount

public int getChildOrganizationCount()
                              throws JAXRException
Specified by:
getChildOrganizationCount in interface Organization
Throws:
JAXRException

getChildOrganizations

public Collection<Organization> getChildOrganizations()
                                               throws JAXRException
Specified by:
getChildOrganizations in interface Organization
Throws:
JAXRException

removeChildOrganization

public void removeChildOrganization(Organization organization)
                             throws JAXRException
Specified by:
removeChildOrganization in interface Organization
Throws:
JAXRException

removeChildOrganizations

public void removeChildOrganizations(Collection collection)
                              throws JAXRException
Specified by:
removeChildOrganizations in interface Organization
Throws:
JAXRException

getPostalAddress

public PostalAddress getPostalAddress()
                               throws JAXRException
Specified by:
getPostalAddress in interface Organization
Throws:
JAXRException

setPostalAddress

public void setPostalAddress(PostalAddress postalAddress)
                      throws JAXRException
Specified by:
setPostalAddress in interface Organization
Throws:
JAXRException


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.