com.centrasite.control.registry.items
Class ActionTemplateItem

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

public class ActionTemplateItem
extends RegistryObjectItem

ActionTemplateItem.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
ActionTemplateItem(com.softwareag.centrasite.policy.api.PolicyActionTemplate actionTemplate, Connector con)
           
ActionTemplateItem(javax.xml.registry.infomodel.RegistryObject ro, Connector con)
           
 
Method Summary
 boolean canManageActions()
           
 boolean equals(java.lang.Object other)
           
 boolean equals(RegistryObjectProxyItem other)
           
 com.softwareag.centrasite.policy.api.PolicyActionTemplate getActionTemplate()
           
 java.lang.String getDescription()
           
 com.softwareag.cis.plugin.command.Command getDetailsCommand()
           
 java.lang.String getName()
           
 Item getParentItem()
           
 java.lang.String getType()
           
 int hashCode()
          Provide hash function for being able to use RegistryObjectItems as key for hashing
 boolean isUsed(ActionContext actionContext)
           
 void save(ActionContext actionContext)
          Save Item
 void setActionTemplate(com.softwareag.centrasite.policy.api.PolicyActionTemplate actionTemplate)
           
 void setParentItem(Item parentItem)
           
 
Methods inherited from class com.centrasite.control.registry.items.RegistryObjectItem
addAuditComment, addClassification, addClassification, addExternalClassification, addInternelClassification, clearCache, clearProperties, delete, delete, freeze, getAccessControlElements, getCachedRegistryObject, getCentraSiteRegistryObject, getCentraSiteVirtualTypeConcept, getChildren, getChildren, getCollectRestServiceAssociatedObjects, getCollectVirtualServiceAssociatedObjects, getCurrentUserPermissionItem, getDefinedSlotNames, getImageURL, getKey, getLabel, getLargeImageURL, getLastAuditableEvent, 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, 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, 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

ActionTemplateItem

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

ActionTemplateItem

public ActionTemplateItem(com.softwareag.centrasite.policy.api.PolicyActionTemplate actionTemplate,
                          Connector con)
                   throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getActionTemplate

public com.softwareag.centrasite.policy.api.PolicyActionTemplate getActionTemplate()

setActionTemplate

public void setActionTemplate(com.softwareag.centrasite.policy.api.PolicyActionTemplate actionTemplate)

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

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

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

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

getParentItem

public Item getParentItem()

setParentItem

public void setParentItem(Item parentItem)

getType

public java.lang.String getType()

canManageActions

public boolean canManageActions()
                         throws com.softwareag.security.jaas.principals.SagGeneralSecurityException,
                                javax.xml.registry.JAXRException
Throws:
com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException

isUsed

public boolean isUsed(ActionContext actionContext)
               throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

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