com.softwareag.centrasite.policy.api
Interface PolicyActionCategory

All Superinterfaces:
PolicyRegistryObject

public interface PolicyActionCategory
extends PolicyRegistryObject

This object is internally modeled as a concept under the PolicyActionType Classification scheme Maps to the Action category in Control/UI Equivalent of PolicyTemplate


Method Summary
 void addActionTemplate(PolicyActionTemplate policyActionTemplate)
          Adds the given PolicyActionTemplate under this Action category
 java.util.Collection<PolicyActionTemplate> getActionTemplates()
          Returns the collection of all Action Templates under this Action Category
 PolicyType getCategoryType()
          Returns whether the Action Category is grouped under Design/Change Time or Runtime policy action types
 com.centrasite.jaxr.infomodel.CentraSiteConcept getJAXRObject()
          Returns the underlying JAXR concept which models this Action category
 boolean isPredefined()
          Returns whether the Action Category is predefined or not
 
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

getJAXRObject

com.centrasite.jaxr.infomodel.CentraSiteConcept getJAXRObject()
Returns the underlying JAXR concept which models this Action category

Specified by:
getJAXRObject in interface PolicyRegistryObject
Returns:
JAXR object which represents this Policy Object

addActionTemplate

void addActionTemplate(PolicyActionTemplate policyActionTemplate)
                       throws javax.xml.registry.JAXRException
Adds the given PolicyActionTemplate under this Action category

Parameters:
policyActionTemplate - - Action template to be added under this Action Category
Throws:
javax.xml.registry.JAXRException

getActionTemplates

java.util.Collection<PolicyActionTemplate> getActionTemplates()
                                                              throws javax.xml.registry.JAXRException,
                                                                     PolicyException
Returns the collection of all Action Templates under this Action Category

Returns:
the collection of all Action Templates under this Action Category
Throws:
javax.xml.registry.JAXRException
PolicyException

getCategoryType

PolicyType getCategoryType()
                           throws javax.xml.registry.JAXRException
Returns whether the Action Category is grouped under Design/Change Time or Runtime policy action types

Returns:
Type of the Action Category - Design/Change Time of Runtime
Throws:
javax.xml.registry.JAXRException

isPredefined

boolean isPredefined()
                     throws javax.xml.registry.JAXRException
Returns whether the Action Category is predefined or not

Returns:
true if Action Category is predefined, false otherwise
Throws:
javax.xml.registry.JAXRException