public interface KrmsTypeBoService
| Modifier and Type | Method and Description |
|---|---|
KrmsTypeDefinition |
createKrmsType(KrmsTypeDefinition krmsType)
This will create a
KrmsTypeDefinition exactly like the parameter passed in. |
List<KrmsTypeDefinition> |
findAllActionTypesByContextId(String contextId)
Returns all action types for the given contextId.
|
List<KrmsTypeDefinition> |
findAllAgendaTypesByContextId(String contextId)
Returns all agenda types for the given contextId.
|
List<KrmsTypeDefinition> |
findAllRuleTypesByContextId(String contextId)
Returns all rule types for the given contextId.
|
List<KrmsTypeDefinition> |
findAllTypes()
Returns all KRMS types
|
List<KrmsTypeDefinition> |
findAllTypesByNamespace(String namespaceCode)
Returns all KRMS types that for a given namespace.
|
List<KrmsTypeDefinition> |
findAllTypesByServiceName(String serviceName)
Returns all KRMS types that for a given serviceName.
|
KrmsTypeDefinition |
getActionTypeByActionTypeIdAndContextId(String actionTypeId,
String contextId)
Return the action type by actionItemId for the given contextId.
|
KrmsTypeDefinition |
getAgendaTypeByAgendaTypeIdAndContextId(String agendaTypeId,
String contextId)
Return the agenda type by agendaItemId for the given contextId.
|
KrmsAttributeDefinition |
getAttributeDefinitionById(String attributeDefinitionId)
Retrieves an attribute definition for the given id.
|
KrmsAttributeDefinition |
getAttributeDefinitionByName(String namespaceCode,
String name)
Retrieves an attribute definition for the given namespace code and name.
|
KrmsTypeDefinition |
getRuleTypeByRuleTypeIdAndContextId(String ruleTypeId,
String contextId)
Return the rule type by ruleItemId for the given contextId.
|
KrmsTypeDefinition |
getTypeById(String id)
Lookup a krms type based on the given id.
|
KrmsTypeDefinition |
getTypeByName(String namespaceCode,
String name)
Get a krms type object based on name and namespace
|
KrmsTypeDefinition |
updateKrmsType(KrmsTypeDefinition krmsType)
This will update an existing
KrmsTypeDefinition |
KrmsTypeDefinition createKrmsType(KrmsTypeDefinition krmsType) throws RiceIllegalArgumentException, RiceIllegalStateException
KrmsTypeDefinition exactly like the parameter passed in.krmsType - - KrmsTypeIllegalArgumentException - if the krmsType is
+IllegalStateException - if the KrmsType already exists in the systemRiceIllegalArgumentExceptionRiceIllegalStateExceptionKrmsTypeDefinition updateKrmsType(KrmsTypeDefinition krmsType) throws RiceIllegalArgumentException, RiceIllegalStateException
KrmsTypeDefinitionkrmsType - - KrmsTypeIllegalArgumentException - if the krmsType is nullIllegalStateException - if the KrmsType does not exist in the systemRiceIllegalArgumentExceptionRiceIllegalStateExceptionKrmsTypeDefinition getTypeById(String id) throws RiceIllegalArgumentException
id - the given KRMS type idRiceIllegalArgumentExceptionKrmsTypeDefinition getTypeByName(String namespaceCode, String name) throws RiceIllegalArgumentException, RiceIllegalStateException
namespaceCode - the given type namespacename - the given type nameIllegalArgumentException - if the given namespaceCode or name is a null or blank valueIllegalStateException - if multiple krms types exist with the same name and namespaceRiceIllegalArgumentExceptionRiceIllegalStateExceptionList<KrmsTypeDefinition> findAllTypesByNamespace(String namespaceCode) throws RiceIllegalArgumentException
IllegalArgumentException - if the given namespaceCode is a null or blank valueRiceIllegalArgumentExceptionList<KrmsTypeDefinition> findAllTypesByServiceName(String serviceName) throws RiceIllegalArgumentException
IllegalArgumentException - if the given serviceName is a null or blank valueRiceIllegalArgumentExceptionList<KrmsTypeDefinition> findAllTypes()
List<KrmsTypeDefinition> findAllAgendaTypesByContextId(String contextId) throws RiceIllegalArgumentException
contextId - the id of the contextIllegalArgumentException - if the given contextId is a null or blank valueRiceIllegalArgumentExceptionKrmsTypeDefinition getAgendaTypeByAgendaTypeIdAndContextId(String agendaTypeId, String contextId) throws RiceIllegalArgumentException
agendaTypeId - the id of the agendaTypecontextId - the id of the contextIllegalArgumentException - if the given agendaTypeId or contextId is a null or blank valueRiceIllegalArgumentExceptionList<KrmsTypeDefinition> findAllRuleTypesByContextId(String contextId) throws RiceIllegalArgumentException
contextId - the id of the contextIllegalArgumentException - if the given contextId is a null or blank valueRiceIllegalArgumentExceptionKrmsTypeDefinition getRuleTypeByRuleTypeIdAndContextId(String ruleTypeId, String contextId) throws RiceIllegalArgumentException
ruleTypeId - the id of the ruleTypecontextId - the id of the contextIllegalArgumentException - if the given ruleTypeId or contextId is a null or blank valueRiceIllegalArgumentExceptionList<KrmsTypeDefinition> findAllActionTypesByContextId(String contextId) throws RiceIllegalArgumentException
contextId - the id of the contextIllegalArgumentException - if the given contextId is a null or blank valueRiceIllegalArgumentExceptionKrmsTypeDefinition getActionTypeByActionTypeIdAndContextId(String actionTypeId, String contextId) throws RiceIllegalArgumentException
actionTypeId - the id of the actionTypecontextId - the id of the contextIllegalArgumentException - if the given actionTypeId or contextId is a null or blank valueRiceIllegalArgumentExceptionKrmsAttributeDefinition getAttributeDefinitionById(String attributeDefinitionId) throws RiceIllegalArgumentException
attributeDefinitionId - the id of the attribute definition to retrieveIllegalArgumentException - if the given attributeDefinitionId is a null or blank valueRiceIllegalArgumentExceptionKrmsAttributeDefinition getAttributeDefinitionByName(String namespaceCode, String name) throws RiceIllegalArgumentException
namespaceCode - the namespace under which to locate the attribute definitionname - the name of the attribute definition to retrieveRiceIllegalArgumentException - if the given namespaceCode or name is a null or blank valueCopyright © 2005–2016 The Kuali Foundation. All rights reserved.