public class ExtensionRepositoryServiceImpl extends Object implements ExtensionRepositoryService
ExtensionRepositoryService
. This implementation
essentially sits on top of the legacy "RuleAttribute" service.Modifier and Type | Method and Description |
---|---|
ExtensionDefinition |
getExtensionById(String id)
Returns the
ExtensionDefinition of the RuleAttribute for the given id. |
ExtensionDefinition |
getExtensionByName(String name)
Returns the
ExtensionDefinition of the RuleAttribute for the given name. |
List<ExtensionDefinition> |
getExtensionsByResourceDescriptor(String resourceDescriptor)
Returns the
ExtensionDefinition of the RuleAttribute for the given resourceDescriptor. |
void |
setRuleAttributeService(RuleAttributeService ruleAttributeService)
Sets the rule attribute service.
|
public ExtensionDefinition getExtensionById(String id) throws RiceIllegalArgumentException
ExtensionRepositoryService
ExtensionDefinition
of the RuleAttribute for the given id.getExtensionById
in interface ExtensionRepositoryService
id
- the id to search by.RiceIllegalArgumentException
- if id is null or blankpublic ExtensionDefinition getExtensionByName(String name) throws RiceIllegalArgumentException
ExtensionRepositoryService
ExtensionDefinition
of the RuleAttribute for the given name.getExtensionByName
in interface ExtensionRepositoryService
name
- the name to search by.RiceIllegalArgumentException
- if name is null or blankpublic List<ExtensionDefinition> getExtensionsByResourceDescriptor(String resourceDescriptor) throws RiceIllegalArgumentException
ExtensionRepositoryService
ExtensionDefinition
of the RuleAttribute
for the given resourceDescriptor.getExtensionsByResourceDescriptor
in interface ExtensionRepositoryService
resourceDescriptor
- the resourceDescriptor to search by.RiceIllegalArgumentException
- if resourceDescriptor is null or blankpublic void setRuleAttributeService(RuleAttributeService ruleAttributeService)
ruleAttributeService
- the rule attribute service to set.Copyright © 2005–2014 The Kuali Foundation. All rights reserved.