com.centrasite.control.registry.items
Class ServiceItem

java.lang.Object
  extended by com.centrasite.control.AbstractItem
      extended by com.centrasite.control.registry.items.RegistryObjectItem
          extended by com.centrasite.control.registry.items.RegistryEntryItem
              extended by com.centrasite.control.registry.items.ServiceItem
All Implemented Interfaces:
Item

public class ServiceItem
extends RegistryEntryItem


Nested Class Summary
 
Nested classes/interfaces inherited from class com.centrasite.control.registry.items.RegistryObjectItem
RegistryObjectItem.ProfileVisibilityBean, RegistryObjectItem.ReferencingDescriptor
 
Field Summary
 
Fields inherited from class com.centrasite.control.registry.items.RegistryObjectItem
profilePermissionUpdated, REFERENCING_LIST_AS_ITEMS, REFERENCING_LIST_AS_REFOBJECTS
 
Fields inherited from class com.centrasite.control.AbstractItem
rcs_id
 
Constructor Summary
ServiceItem(javax.xml.registry.infomodel.RegistryObject ro, Connector con)
           
 
Method Summary
 void delete()
          Delete service from registry including associated objects SAGSIS P279209 - delete service from registry including all related stuff
 boolean equals(java.lang.Object other)
           
 RegistryObjectItem freeze()
           
 java.util.Collection getDeleteKeys(javax.xml.registry.infomodel.Service service)
           
 java.util.Collection<javax.xml.registry.infomodel.Key> getRemovedExternalLinkKeys()
           
 javax.xml.registry.infomodel.Service getService()
           
 int hashCode()
          Provide hash function for being able to use RegistryObjectItems as key for hashing
 void setRemovedExternalLink(javax.xml.registry.infomodel.ExternalLink removedLink)
           
 void setRemovedExternalLinkKeys(java.util.Collection<javax.xml.registry.infomodel.Key> rLinks)
           
 
Methods inherited from class com.centrasite.control.registry.items.RegistryEntryItem
getRegistryEntry
 
Methods inherited from class com.centrasite.control.registry.items.RegistryObjectItem
addAuditComment, addClassification, addClassification, addExternalClassification, addInternelClassification, clearCache, clearProperties, delete, equals, getAccessControlElements, getCachedRegistryObject, getCentraSiteRegistryObject, getCentraSiteVirtualTypeConcept, getChildren, getChildren, getCollectRestServiceAssociatedObjects, getCollectVirtualServiceAssociatedObjects, getCurrentUserPermissionItem, getDefinedSlotNames, getDescription, getImageURL, getKey, getLabel, getLargeImageURL, getLastAuditableEvent, getName, getName, getNameEx, getNonPermissionAccessControlElements, getPermissionForNonPermissionACL, getPrivilegeDescriptor, getProperties, getReferencingItems, getReferencingObjects, getRegistryObject, getReport, getReportForDetailView, getSlotDescriptions, getTooltip, hasNoChildren, hasObjectType, hasObjectType, hasObjectType, isCanPropagateACL, isCentraSiteVirtualTypeConcept, isEnabledForVersioning, isModified, isNewItem, isPredefined, isPropagateProfileEnabled, isRevisionObject, isStandalone, save, setAccessControlElements, setAccessControlElements, setCanPropagateACL, setCollectRestServiceAssociatedObjects, setCollectVirtualServiceAssociatedObjects, setNewItem, setPropagateProfileEnabled, setProperties, toString
 
Methods inherited from class com.centrasite.control.AbstractItem
addBulkCommand, addCommand, addDetailViewTab, cannotHaveChildren, getBulkCommands, getCommand, getCommand, getCommands, getConnector, getDefaultCommand, getDetailsCommand, getDetailViewTabs, getItem, getLanguage, getLocale, getPath, getPersistanceLocale, getRelatedItems, hasRequiredAttribute, isLocked, isReadOnly, isSubTabModified, removeCommand, replaceCommand, setCommandEnabled, setConnector, setDefaultCommand, setDetailsCommand, setLocked, setRelatedItems, setRequiredAttribute, setTabModified, showDetailView, showReport
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceItem

public ServiceItem(javax.xml.registry.infomodel.RegistryObject ro,
                   Connector con)
            throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getService

public javax.xml.registry.infomodel.Service getService()

delete

public void delete()
            throws java.lang.Exception
Delete service from registry including associated objects SAGSIS P279209 - delete service from registry including all related stuff

Overrides:
delete in class RegistryObjectItem
Throws:
java.lang.Exception

freeze

public RegistryObjectItem freeze()
Overrides:
freeze in class RegistryObjectItem

getDeleteKeys

public java.util.Collection getDeleteKeys(javax.xml.registry.infomodel.Service service)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

setRemovedExternalLink

public void setRemovedExternalLink(javax.xml.registry.infomodel.ExternalLink removedLink)

setRemovedExternalLinkKeys

public void setRemovedExternalLinkKeys(java.util.Collection<javax.xml.registry.infomodel.Key> rLinks)

getRemovedExternalLinkKeys

public java.util.Collection<javax.xml.registry.infomodel.Key> getRemovedExternalLinkKeys()

hashCode

public int hashCode()
Description copied from class: RegistryObjectItem
Provide hash function for being able to use RegistryObjectItems as key for hashing

Overrides:
hashCode in class RegistryObjectItem

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class RegistryObjectItem