com.centrasite.registry.versionmanagementservices
Class VersionServiceCollector

java.lang.Object
  extended by com.centrasite.jaxr.webservice.WebServiceAbstractCollector
      extended by com.centrasite.registry.versionmanagementservices.VersionServiceCollector

public class VersionServiceCollector
extends com.centrasite.jaxr.webservice.WebServiceAbstractCollector

Extends the WebServiceAbstractCollector to collect necessary objects for service versioning.


Field Summary
 
Fields inherited from class com.centrasite.jaxr.webservice.WebServiceAbstractCollector
EXTLINK_COLLECT_ALL, EXTLINK_COLLECT_DEFAULT, EXTLINK_COLLECT_NONE
 
Constructor Summary
VersionServiceCollector(javax.xml.registry.BusinessQueryManager qMgr, javax.xml.registry.infomodel.Service service, boolean onlyComponents, boolean rootServiceVersioning)
          Constructor.
 
Method Summary
 java.util.Collection getAdditionalServices()
          For root service collection return the additional services (for more than one service in wsdl).
 java.util.Collection<javax.xml.registry.infomodel.ExternalLink> getAllExternalLinks()
          Get the external links dependend on the object list onlyComponents=true: elink of wsdl onlyComponents=false: elink of wsdl, elinks of subwsdls, elinks of schemas
 java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getInterfaceObjects()
          Get the list of collected Interfaces.
 java.util.Collection getObjectList()
          Get the objectlist in a sorted order for versioning.
 java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getOperationObjects()
          Get the list of collected Operations.
 boolean permitSharedObjects()
           
 
Methods inherited from class com.centrasite.jaxr.webservice.WebServiceAbstractCollector
getAssocList, getComponentWebdavURIs, getDeniedElinks, getDeniedExternalLinks, getDeniedObjects, getDenyResult, getQMgr, getRequiredWebdavURIs, getSequencedObjectList, getServiceBindingObjects, getSharedWebdavURIs, getSubWsdlElinks, getUnprivilegedAccesses, getWebdavURIs, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VersionServiceCollector

public VersionServiceCollector(javax.xml.registry.BusinessQueryManager qMgr,
                               javax.xml.registry.infomodel.Service service,
                               boolean onlyComponents,
                               boolean rootServiceVersioning)
                        throws javax.xml.registry.JAXRException
Constructor.

Parameters:
qMgr - query manager
service - service to be versioned
onlyComponents - true: only component object, false: all objects
rootServiceVersioning - true: this is a root service collection (false: other services)
Throws:
javax.xml.registry.JAXRException
Method Detail

getObjectList

public java.util.Collection getObjectList()
Get the objectlist in a sorted order for versioning.

Overrides:
getObjectList in class com.centrasite.jaxr.webservice.WebServiceAbstractCollector
Returns:
the list of collected registry object (in specific order)

getAllExternalLinks

public java.util.Collection<javax.xml.registry.infomodel.ExternalLink> getAllExternalLinks()
Get the external links dependend on the object list
  • onlyComponents=true: elink of wsdl
  • onlyComponents=false: elink of wsdl, elinks of subwsdls, elinks of schemas

    Overrides:
    getAllExternalLinks in class com.centrasite.jaxr.webservice.WebServiceAbstractCollector

  • getInterfaceObjects

    public java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getInterfaceObjects()
    Get the list of collected Interfaces.

    Returns:
    list of Interface objects

    getOperationObjects

    public java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getOperationObjects()
    Get the list of collected Operations.

    Returns:
    list of Operation objects

    permitSharedObjects

    public boolean permitSharedObjects()
    Specified by:
    permitSharedObjects in class com.centrasite.jaxr.webservice.WebServiceAbstractCollector
    See Also:
    WebServiceAbstractCollector.permitSharedObjects()

    getAdditionalServices

    public java.util.Collection getAdditionalServices()
    For root service collection return the additional services (for more than one service in wsdl). Otherwise return an empty list.

    Overrides:
    getAdditionalServices in class com.centrasite.jaxr.webservice.WebServiceAbstractCollector