com.centrasite.control.registry.items
Class RTPolicyInstanceItem

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

public class RTPolicyInstanceItem
extends RegistryObjectItem


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
RTPolicyInstanceItem(com.softwareag.centrasite.policy.api.Policy policy, Connector con)
           
RTPolicyInstanceItem(javax.xml.registry.infomodel.RegistryObject ro, Connector con)
           
 
Method Summary
 boolean canManagePolicy()
           
 boolean equals(java.lang.Object other)
           
 boolean equals(RegistryObjectProxyItem other)
           
 com.softwareag.cis.plugin.command.Command getDetailsCommand()
           
 java.lang.String getMessage()
           
 com.centrasite.lcmapi.LCState getOriginalState()
           
 Item getParentItem()
           
 java.lang.String getPermissionForNonPermissionACL()
          Get top permission id for getting the non permission access control elements.
 com.softwareag.centrasite.policy.api.Policy getPolicy()
           
 java.lang.String getType()
           
 boolean hasFullPermission()
           
 int hashCode()
          Provide hash function for being able to use RegistryObjectItems as key for hashing
 boolean hasUpdatePermission()
           
 void setMessage(java.lang.String message)
           
 void setOriginalState(com.centrasite.lcmapi.LCState originalState)
           
 void setParentItem(Item parentItem)
           
 void setPolicy(com.softwareag.centrasite.policy.api.Policy policy)
           
 
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, getDescription, getImageURL, getKey, getLabel, getLargeImageURL, getLastAuditableEvent, getName, getName, getNameEx, getNonPermissionAccessControlElements, 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, 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

RTPolicyInstanceItem

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

RTPolicyInstanceItem

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

getPolicy

public com.softwareag.centrasite.policy.api.Policy getPolicy()

setPolicy

public void setPolicy(com.softwareag.centrasite.policy.api.Policy policy)

getParentItem

public Item getParentItem()

setParentItem

public void setParentItem(Item parentItem)

getOriginalState

public com.centrasite.lcmapi.LCState getOriginalState()

setOriginalState

public void setOriginalState(com.centrasite.lcmapi.LCState originalState)

getMessage

public java.lang.String getMessage()

setMessage

public void setMessage(java.lang.String message)

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

canManagePolicy

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

hasFullPermission

public boolean hasFullPermission()
                          throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

hasUpdatePermission

public boolean hasUpdatePermission()
                            throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

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

getType

public java.lang.String getType()