com.centrasite.control.registry.items
Class RTPolicyInstanceItem
java.lang.Object
com.centrasite.control.AbstractItem
com.centrasite.control.registry.items.RegistryObjectItem
com.centrasite.control.registry.items.RTPolicyInstanceItem
- All Implemented Interfaces:
- Item
public class RTPolicyInstanceItem
- extends RegistryObjectItem
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 |
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
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()