com.centrasite.control.registry.items
Class CentraSiteTypeDescItem

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

public class CentraSiteTypeDescItem
extends RegistryObjectItem

AssetTypeItem.java


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
CentraSiteTypeDescItem(com.centrasite.jaxr.type.CentraSiteTypeDescription assetType, Connector connector)
           
CentraSiteTypeDescItem(javax.xml.registry.infomodel.RegistryObject ro, Connector con)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 com.centrasite.jaxr.type.CentraSiteTypeDescription getAssetType()
           
 com.centrasite.jaxr.assettype.AssetTypeManager getAssetTypeManager()
           
 java.util.Iterator getChildren()
           
 java.util.Iterator getChildren(boolean refresh)
           
 ConceptItem getConceptItem()
           
 java.lang.String getDescription()
           
 java.lang.String getImageURL()
           
 java.lang.String getName()
           
 int hashCode()
          Provide hash function for being able to use RegistryObjectItems as key for hashing
 boolean hasNoChildren()
           
 boolean isPermissionGranted()
           
 void save(ActionContext actionContext)
          Save Item
 void setAssetType(com.centrasite.jaxr.type.CentraSiteTypeDescription assetType)
           
 
Methods inherited from class com.centrasite.control.registry.items.RegistryObjectItem
addAuditComment, addClassification, addClassification, addExternalClassification, addInternelClassification, clearCache, clearProperties, delete, delete, equals, freeze, getAccessControlElements, getCachedRegistryObject, getCentraSiteRegistryObject, getCentraSiteVirtualTypeConcept, getCollectRestServiceAssociatedObjects, getCollectVirtualServiceAssociatedObjects, getCurrentUserPermissionItem, getDefinedSlotNames, getKey, getLabel, getLargeImageURL, getLastAuditableEvent, getName, getNameEx, getNonPermissionAccessControlElements, getPermissionForNonPermissionACL, getPrivilegeDescriptor, getProperties, getReferencingItems, getReferencingObjects, getRegistryObject, getReport, getReportForDetailView, getSlotDescriptions, getTooltip, hasObjectType, hasObjectType, hasObjectType, isCanPropagateACL, isCentraSiteVirtualTypeConcept, isEnabledForVersioning, isModified, isNewItem, isPredefined, isPropagateProfileEnabled, isRevisionObject, isStandalone, 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

CentraSiteTypeDescItem

public CentraSiteTypeDescItem(com.centrasite.jaxr.type.CentraSiteTypeDescription assetType,
                              Connector connector)
                       throws javax.xml.registry.JAXRException,
                              java.lang.Exception
Throws:
javax.xml.registry.JAXRException
java.lang.Exception

CentraSiteTypeDescItem

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

getAssetType

public com.centrasite.jaxr.type.CentraSiteTypeDescription getAssetType()

setAssetType

public void setAssetType(com.centrasite.jaxr.type.CentraSiteTypeDescription assetType)

save

public void save(ActionContext actionContext)
          throws java.lang.Exception
Description copied from class: AbstractItem
Save Item

Specified by:
save in interface Item
Overrides:
save in class RegistryObjectItem
Throws:
java.lang.Exception

getChildren

public java.util.Iterator getChildren()
                               throws java.lang.Exception
Specified by:
getChildren in interface Item
Overrides:
getChildren in class RegistryObjectItem
Throws:
java.lang.Exception

getChildren

public java.util.Iterator getChildren(boolean refresh)
                               throws java.lang.Exception
Specified by:
getChildren in interface Item
Overrides:
getChildren in class RegistryObjectItem
Throws:
java.lang.Exception

getDescription

public java.lang.String getDescription()
                                throws java.lang.Exception
Specified by:
getDescription in interface Item
Overrides:
getDescription in class RegistryObjectItem
Throws:
java.lang.Exception

getImageURL

public java.lang.String getImageURL()
                             throws java.lang.Exception
Specified by:
getImageURL in interface Item
Overrides:
getImageURL in class RegistryObjectItem
Throws:
java.lang.Exception

getName

public java.lang.String getName()
                         throws java.lang.Exception
Specified by:
getName in interface Item
Overrides:
getName in class RegistryObjectItem
Throws:
java.lang.Exception

getConceptItem

public ConceptItem getConceptItem()
                           throws java.lang.Exception
Throws:
java.lang.Exception

getAssetTypeManager

public com.centrasite.jaxr.assettype.AssetTypeManager getAssetTypeManager()

equals

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

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

isPermissionGranted

public boolean isPermissionGranted()

hasNoChildren

public boolean hasNoChildren()
                      throws java.lang.Exception
Specified by:
hasNoChildren in interface Item
Overrides:
hasNoChildren in class RegistryObjectItem
Throws:
java.lang.Exception