com.centrasite.control.registry.items
Class PolicyInstanceItem
java.lang.Object
com.centrasite.control.AbstractItem
com.centrasite.control.registry.items.RegistryObjectItem
com.centrasite.control.registry.items.PolicyInstanceItem
- All Implemented Interfaces:
- Item
public class PolicyInstanceItem
- 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, 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 |
PolicyInstanceItem
public PolicyInstanceItem(javax.xml.registry.infomodel.RegistryObject ro,
Connector con)
throws java.lang.Exception
- Throws:
java.lang.Exception
PolicyInstanceItem
public PolicyInstanceItem(com.softwareag.centrasite.policy.api.Policy policy,
Connector con)
throws java.lang.Exception
- Throws:
java.lang.Exception
getParentItem
public Item getParentItem()
setParentItem
public void setParentItem(Item parentItem)
getPolicy
public com.softwareag.centrasite.policy.api.Policy getPolicy()
setPolicy
public void setPolicy(com.softwareag.centrasite.policy.api.Policy policy)
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
save
public void save(ActionContext actionContext)
- Description copied from class:
AbstractItem
- Save Item
- Specified by:
save
in interface Item
- Overrides:
save
in class RegistryObjectItem
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
isPolicyPending
public boolean isPolicyPending()
throws com.centrasite.lcmapi.LCMException
- Throws:
com.centrasite.lcmapi.LCMException
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()