org.kuali.rice.kew.impl.extension
Class ExtensionRepositoryServiceImpl

java.lang.Object
  extended by org.kuali.rice.kew.impl.extension.ExtensionRepositoryServiceImpl
All Implemented Interfaces:
ExtensionRepositoryService

public class ExtensionRepositoryServiceImpl
extends Object
implements ExtensionRepositoryService

Reference implementation of the ExtensionRepositoryService. This implementation essentially sits on top of the legacy "RuleAttribute" service.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 ExtensionDefinition getExtensionById(String id)
          Returns the ExtensionDefinition of the for the given id.
 ExtensionDefinition getExtensionByName(String name)
          Returns the ExtensionDefinition of the for the given name.
 void setRuleAttributeService(RuleAttributeService ruleAttributeService)
          Sets the rule attribute service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getExtensionById

public ExtensionDefinition getExtensionById(String id)
                                     throws RiceIllegalArgumentException
Returns the ExtensionDefinition of the for the given id.

Specified by:
getExtensionById in interface ExtensionRepositoryService
Parameters:
id - the id to search by.
Returns:
the extension definition found for the matching rule attribute service
Throws:
RiceIllegalArgumentException

getExtensionByName

public ExtensionDefinition getExtensionByName(String name)
                                       throws RiceIllegalArgumentException
Returns the ExtensionDefinition of the for the given name.

Specified by:
getExtensionByName in interface ExtensionRepositoryService
Parameters:
name - the name to search by.
Returns:
the extension definition found for the matching rule attribute service
Throws:
RiceIllegalArgumentException

setRuleAttributeService

public void setRuleAttributeService(RuleAttributeService ruleAttributeService)
Sets the rule attribute service.

Parameters:
ruleAttributeService - the rule attribute service to set.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.