com.centrasite.control.registry.items
Class ClassificationSchemeItem

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.ClassificationSchemeItem
All Implemented Interfaces:
Item
Direct Known Subclasses:
LCModelItem

public class ClassificationSchemeItem
extends RegistryEntryItem


Nested Class Summary
 
Nested classes/interfaces inherited from class com.centrasite.control.registry.items.RegistryObjectItem
RegistryObjectItem.ProfileVisibilityBean, RegistryObjectItem.ReferencingDescriptor
 
Field Summary
static java.lang.String rcs_id
           
 
Fields inherited from class com.centrasite.control.registry.items.RegistryObjectItem
profilePermissionUpdated, REFERENCING_LIST_AS_ITEMS, REFERENCING_LIST_AS_REFOBJECTS
 
Constructor Summary
ClassificationSchemeItem(javax.xml.registry.infomodel.RegistryObject ro, Connector con)
           
ClassificationSchemeItem(javax.xml.registry.infomodel.RegistryObject ro, Connector con, FilterListInterface filter)
           
 
Method Summary
 boolean cannotHaveChildren()
          Check whether this node may have children
 ConceptItem createConcept()
           
 boolean equals(java.lang.Object other)
           
 boolean equals(RegistryObjectProxyItem other)
           
 java.util.Iterator getChildren()
           
 java.util.Iterator getChildren(boolean refresh)
           
 java.util.Collection getChildrenList(boolean refresh)
           
 javax.xml.registry.infomodel.ClassificationScheme getClassificationScheme()
           
 java.lang.String getClassificationSchemeName()
           
 com.softwareag.cis.plugin.command.Command getDetailsCommand()
           
 java.lang.String getNameEx()
          Get "extended/alternate name".
 java.lang.String getPath()
          For some object types (especially for RepositoryObjectItems) this method may return a reasonable path - instances of other classes should return null
 java.lang.String getPermissionForNonPermissionACL()
          Get top permission id for getting the non permission access control elements.
 int hashCode()
          Provide hash function for being able to use RegistryObjectItems as key for hashing
 boolean hasNoChildren()
           
static boolean isObjectTypeScheme(javax.xml.registry.infomodel.ClassificationScheme cs)
           
static boolean isObjectTypeScheme(javax.xml.registry.infomodel.Key key)
           
 void showReport(ActionContext actionContext)
          Show a report for this item.
 
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, delete, freeze, getAccessControlElements, getCachedRegistryObject, getCentraSiteRegistryObject, getCentraSiteVirtualTypeConcept, getCollectRestServiceAssociatedObjects, getCollectVirtualServiceAssociatedObjects, getCurrentUserPermissionItem, getDefinedSlotNames, getDescription, getImageURL, getKey, getLabel, getLargeImageURL, getLastAuditableEvent, getName, getName, getNonPermissionAccessControlElements, getPrivilegeDescriptor, getProperties, getReferencingItems, getReferencingObjects, getRegistryObject, getReport, getReportForDetailView, getSlotDescriptions, getTooltip, 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, getBulkCommands, getCommand, getCommand, getCommands, getConnector, getDefaultCommand, getDetailViewTabs, getItem, getLanguage, getLocale, getPersistanceLocale, getRelatedItems, hasRequiredAttribute, isLocked, isReadOnly, isSubTabModified, removeCommand, replaceCommand, setCommandEnabled, setConnector, setDefaultCommand, setDetailsCommand, setLocked, setRelatedItems, setRequiredAttribute, setTabModified, showDetailView
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

rcs_id

public static final java.lang.String rcs_id
See Also:
Constant Field Values
Constructor Detail

ClassificationSchemeItem

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

ClassificationSchemeItem

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

getDetailsCommand

public com.softwareag.cis.plugin.command.Command getDetailsCommand()
Specified by:
getDetailsCommand in interface Item
Overrides:
getDetailsCommand in class AbstractItem
Returns:
Returns the Command that opens the Details

isObjectTypeScheme

public static boolean isObjectTypeScheme(javax.xml.registry.infomodel.ClassificationScheme cs)

isObjectTypeScheme

public static boolean isObjectTypeScheme(javax.xml.registry.infomodel.Key key)
                                  throws javax.xml.registry.JAXRException
Parameters:
key -
Returns:
true if given key refers to ObjectType classification scheme
Throws:
javax.xml.registry.JAXRException

getClassificationScheme

public javax.xml.registry.infomodel.ClassificationScheme getClassificationScheme()

getClassificationSchemeName

public java.lang.String getClassificationSchemeName()

getNameEx

public java.lang.String getNameEx()
                           throws java.lang.Exception
Description copied from class: AbstractItem
Get "extended/alternate name". This method is only used in some rare locations e.g. currently when obtaining the label of an item in the tree. Its usage is discouraged in general. This default implementation returns same as getName().

Specified by:
getNameEx in interface Item
Overrides:
getNameEx 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

getChildrenList

public java.util.Collection getChildrenList(boolean refresh)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

hasNoChildren

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

cannotHaveChildren

public boolean cannotHaveChildren()
Check whether this node may have children

Specified by:
cannotHaveChildren in interface Item
Overrides:
cannotHaveChildren in class AbstractItem
Returns:
true if this node cannot have children

getPath

public java.lang.String getPath()
                         throws java.lang.Exception
Description copied from class: AbstractItem
For some object types (especially for RepositoryObjectItems) this method may return a reasonable path - instances of other classes should return null

Specified by:
getPath in interface Item
Overrides:
getPath in class AbstractItem
Returns:
a path (if reasonable) or null
Throws:
java.lang.Exception

showReport

public void showReport(ActionContext actionContext)
Show a report for this item. Whereas showDetailView() displays the details of this item, showReport() should display tables of "child" objects being contained in or classified with this item.

Specified by:
showReport in interface Item
Overrides:
showReport in class AbstractItem
Parameters:
actionContext -

createConcept

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

getPermissionForNonPermissionACL

public java.lang.String getPermissionForNonPermissionACL()
Description copied from class: RegistryObjectItem
Get top permission id for getting the non permission access control elements.

Overrides:
getPermissionForNonPermissionACL in class RegistryObjectItem
Returns:
Top permission id used to filter default permissions.

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

equals

public boolean equals(RegistryObjectProxyItem other)
Overrides:
equals in class RegistryObjectItem