|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyActionInstance
Represents the instance of a PolicyActionTemplate
for a particular Policy
It is modeled as an association of type Uses from the Policy(source object) to the PolicyAction(target object)
Method Summary | |
---|---|
void |
addParameter(PolicyParameter parameter)
Add the given parameter to the action instance |
void |
addParameters(java.util.List<PolicyParameter> parameters)
Add the given list of parameters to the action instance |
PolicyActionTemplate |
getActionTemplate()
The Policy Action for which this action instance was created Target object of the association |
AssertionType |
getActionType()
returns the assertion type of the associated policy action |
com.centrasite.jaxr.infomodel.CentraSiteAssociation |
getJAXRObject()
Returns the JAXR association object for this action instance |
PolicyParameter |
getParameter(java.lang.String parameterName)
Get the parameter(if any) which has the given name |
java.util.List<PolicyParameter> |
getParameters()
Get the list of parameters for this action instance |
java.util.List<PolicyParameter> |
getParameters(java.lang.String parameterName)
Get the list of parameters which have the given name |
Policy |
getPolicy()
Gets the Policy for which this action instance was created Source object of the association |
void |
removeParameter(PolicyParameter parameter)
remove the given parameter from the list of parameters for the action instance |
void |
removeParameters(java.util.List<PolicyParameter> parameters)
remove the given list of parameters from the list of parameters for the action instance |
boolean |
validate()
Validate whether all the mandatory parameter(s) have required values |
Methods inherited from interface com.softwareag.centrasite.policy.api.PolicyRegistryObject |
---|
addAssociation, addAssociation, getAllClassifiedConcepts, getAllJAXRObjects, getAllObsoleteObjects, getAssociations, getAssociations, getClassifications, getClassifiedConcept, getDescription, getJAXRRegistryService, getKey, getLoggedInUserLocale, getName, removeAllAssociations, removeAllClassifications, setDescription, setName, toXMLForRepair |
Method Detail |
---|
com.centrasite.jaxr.infomodel.CentraSiteAssociation getJAXRObject()
getJAXRObject
in interface PolicyRegistryObject
void addParameter(PolicyParameter parameter) throws javax.xml.registry.JAXRException
parameter
- parameter to be added
javax.xml.registry.JAXRException
void addParameters(java.util.List<PolicyParameter> parameters)
parameters
- parameters to be addedjava.util.List<PolicyParameter> getParameters() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
java.util.List<PolicyParameter> getParameters(java.lang.String parameterName) throws javax.xml.registry.JAXRException, PolicyException
parameterName
-
javax.xml.registry.JAXRException
PolicyException
PolicyParameter getParameter(java.lang.String parameterName) throws javax.xml.registry.JAXRException, PolicyException
parameterName
-
javax.xml.registry.JAXRException
PolicyException
void removeParameter(PolicyParameter parameter)
parameter
- to be removedvoid removeParameters(java.util.List<PolicyParameter> parameters)
parameters
- list of paramters to removePolicyActionTemplate getActionTemplate() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
AssertionType getActionType() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
Policy getPolicy() throws PolicyException, javax.xml.registry.JAXRException
PolicyException
javax.xml.registry.JAXRException
boolean validate() throws PolicyException, javax.xml.registry.JAXRException
PolicyException
- if any of the mandatory parameter(s) doesnot have values set
javax.xml.registry.JAXRException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |