Package org.kuali.rice.kew.api.extension
Interface ExtensionRepositoryService
public interface ExtensionRepositoryService
A service which is used for retrieving information about extensions to various
pieces of Kuali Enterprise Workflow.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionReturns theExtensionDefinitionof the RuleAttribute for the given id.getExtensionByName(String name) Returns theExtensionDefinitionof the RuleAttribute for the given name.getExtensionsByResourceDescriptor(String resourceDescriptor) Returns theExtensionDefinitionof theRuleAttributefor the given resourceDescriptor.
-
Method Details
-
getExtensionById
@Cacheable(value="http://rice.kuali.org/kew/v2_0/ExtensionDefinitionType", key="\'id=\' + #p0") ExtensionDefinition getExtensionById(String id) throws RiceIllegalArgumentException Returns theExtensionDefinitionof the RuleAttribute for the given id.- Parameters:
id- the id to search by.- Returns:
- the extension definition found for the matching rule attribute service
- Throws:
RiceIllegalArgumentException- if id is null or blank
-
getExtensionByName
@Cacheable(value="http://rice.kuali.org/kew/v2_0/ExtensionDefinitionType", key="\'name=\' + #p0") ExtensionDefinition getExtensionByName(String name) throws RiceIllegalArgumentException Returns theExtensionDefinitionof the RuleAttribute for the given name.- Parameters:
name- the name to search by.- Returns:
- the extension definition found for the matching rule attribute service
- Throws:
RiceIllegalArgumentException- if name is null or blank
-
getExtensionsByResourceDescriptor
@Cacheable(value="http://rice.kuali.org/kew/v2_0/ExtensionDefinitionType", key="\'resourceDescriptor=\' + #p0") List<ExtensionDefinition> getExtensionsByResourceDescriptor(String resourceDescriptor) throws RiceIllegalArgumentException Returns theExtensionDefinitionof theRuleAttributefor the given resourceDescriptor.- Parameters:
resourceDescriptor- the resourceDescriptor to search by.- Returns:
- the extension definition found for the matching rule attribute service
- Throws:
RiceIllegalArgumentException- if resourceDescriptor is null or blank
-