public class PolicyInstanceItem extends RegistryObjectItem
RegistryObjectItem.ProfileVisibilityBean, RegistryObjectItem.ReferencingDescriptor
profilePermissionUpdated, REFERENCING_LIST_AS_ITEMS, REFERENCING_LIST_AS_REFOBJECTS
rcs_id
Constructor and Description |
---|
PolicyInstanceItem(com.softwareag.centrasite.policy.api.Policy policy,
Connector con) |
PolicyInstanceItem(javax.xml.registry.infomodel.RegistryObject ro,
Connector con) |
Modifier and Type | Method and Description |
---|---|
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() |
boolean |
isPolicyPending() |
void |
save(ActionContext actionContext)
Save Item
|
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) |
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, getObjectTypeId, getObjectTypeValue, getPrivilegeDescriptor, getProperties, getReferencingItems, getReferencingObjects, getRegistryObject, getReport, getReportForDetailView, getSlotDescriptions, getTooltip, hasNoChildren, hasObjectType, hasObjectType, hasObjectType, isAttributeViewable, isCanPropagateACL, isCentraSiteVirtualTypeConcept, isEnabledForVersioning, isModified, isNewItem, isPredefined, isPropagateProfileEnabled, isRevisionObject, isStandalone, logItemConnection, setAccessControlElements, setAccessControlElements, setCanPropagateACL, setCollectRestServiceAssociatedObjects, setCollectVirtualServiceAssociatedObjects, setNewItem, setPropagateProfileEnabled, setProperties, toString
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
public PolicyInstanceItem(javax.xml.registry.infomodel.RegistryObject ro, Connector con) throws java.lang.Exception
java.lang.Exception
public PolicyInstanceItem(com.softwareag.centrasite.policy.api.Policy policy, Connector con) throws java.lang.Exception
java.lang.Exception
public Item getParentItem()
public void setParentItem(Item parentItem)
public com.softwareag.centrasite.policy.api.Policy getPolicy()
public void setPolicy(com.softwareag.centrasite.policy.api.Policy policy)
public com.centrasite.lcmapi.LCState getOriginalState()
public void setOriginalState(com.centrasite.lcmapi.LCState originalState)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public com.softwareag.cis.plugin.command.Command getDetailsCommand()
getDetailsCommand
in interface Item
getDetailsCommand
in class AbstractItem
public void save(ActionContext actionContext)
AbstractItem
save
in interface Item
save
in class RegistryObjectItem
public boolean canManagePolicy() throws com.softwareag.security.jaas.principals.SagGeneralSecurityException, javax.xml.registry.JAXRException
com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
public boolean hasFullPermission() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
public boolean hasUpdatePermission() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
public boolean isPolicyPending() throws com.centrasite.lcmapi.LCMException
com.centrasite.lcmapi.LCMException
public java.lang.String getPermissionForNonPermissionACL()
RegistryObjectItem
getPermissionForNonPermissionACL
in class RegistryObjectItem
public boolean equals(java.lang.Object other)
equals
in class RegistryObjectItem
public int hashCode()
RegistryObjectItem
hashCode
in class RegistryObjectItem
public boolean equals(RegistryObjectProxyItem other)
equals
in class RegistryObjectItem
public java.lang.String getType()