org.kuali.rice.kew.impl.rule.attribute
Class WorkflowRuleAttributeHandlerServiceImpl

java.lang.Object
  extended by org.kuali.rice.kew.impl.rule.attribute.WorkflowRuleAttributeHandlerServiceImpl
All Implemented Interfaces:
WorkflowRuleAttributeHandlerService

public class WorkflowRuleAttributeHandlerServiceImpl
extends Object
implements WorkflowRuleAttributeHandlerService

Reference implementation of WorkflowRuleAttributeHandlerService.

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

Constructor Summary
WorkflowRuleAttributeHandlerServiceImpl()
           
 
Method Summary
protected  ExtensionRepositoryService getExtensionRepositoryService()
           
 List<RoleName> getRoleNames(ExtensionDefinition extensionDefinition)
          Gets a List of RoleName objects produced by the RoleAttribute defined by the given extension definition.
 WorkflowRuleAttributeFields getRoutingDataFields(Map<String,String> parameters, ExtensionDefinition extensionDefinition, boolean required)
          Using the WorkflowRuleAttribute defined by the given extension definition, does the following: validates the given rule attribute parameters, fetches the list of RemotableAttributeField objects to display for rule reporting then determines the rule extension values produced by the attribute and returns this information as a WorkflowRuleAttributeFields object.
 WorkflowRuleAttributeFields getRuleFields(Map<String,String> parameters, ExtensionDefinition extensionDefinition, boolean required)
          Using the WorkflowRuleAttribute defined by the given extension definition, does the following: validates the given rule attribute parameters, fetches the list of RemotableAttributeField objects to display for the rule, and then determines the rule extension values produced by the attribute and returns this information as a WorkflowRuleAttributeFields object.
 WorkflowRuleAttributeFields getSearchFields(Map<String,String> parameters, ExtensionDefinition extensionDefinition, boolean required)
          Using the WorkflowRuleAttribute defined by the given extension definition, does the following: validates the given rule attribute parameters, fetches the list of RemotableAttributeField objects to display for the rule search, and then determines the rule extension values produced by the attribute and returns this information as a WorkflowRuleAttributeFields object.
 void setExtensionRepositoryService(ExtensionRepositoryService extensionRepositoryService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowRuleAttributeHandlerServiceImpl

public WorkflowRuleAttributeHandlerServiceImpl()
Method Detail

getRuleFields

public WorkflowRuleAttributeFields getRuleFields(Map<String,String> parameters,
                                                 ExtensionDefinition extensionDefinition,
                                                 boolean required)
                                          throws RiceIllegalArgumentException
Description copied from interface: WorkflowRuleAttributeHandlerService
Using the WorkflowRuleAttribute defined by the given extension definition, does the following: validates the given rule attribute parameters, fetches the list of RemotableAttributeField objects to display for the rule, and then determines the rule extension values produced by the attribute and returns this information as a WorkflowRuleAttributeFields object.

Specified by:
getRuleFields in interface WorkflowRuleAttributeHandlerService
Parameters:
parameters - the parameters against which to validate
extensionDefinition - extension definition of the WorkflowRuleAttribute, cannot be null or blank.
required - the required flag which should be passed to the WorkflowRuleAttribute prior to processing
Returns:
the WorkflowRuleAttributeFields, will not return null.
Throws:
RiceIllegalArgumentException - if the extensionDefinition is null or blank

getSearchFields

public WorkflowRuleAttributeFields getSearchFields(Map<String,String> parameters,
                                                   ExtensionDefinition extensionDefinition,
                                                   boolean required)
                                            throws RiceIllegalArgumentException
Description copied from interface: WorkflowRuleAttributeHandlerService
Using the WorkflowRuleAttribute defined by the given extension definition, does the following: validates the given rule attribute parameters, fetches the list of RemotableAttributeField objects to display for the rule search, and then determines the rule extension values produced by the attribute and returns this information as a WorkflowRuleAttributeFields object.

Specified by:
getSearchFields in interface WorkflowRuleAttributeHandlerService
Parameters:
parameters - the parameters against which to validate
extensionDefinition - extension definition of the WorkflowRuleAttribute, cannot be null or blank.
required - the required flag which should be passed to the WorkflowRuleAttribute prior to processing
Returns:
the WorkflowRuleAttributeFields, will not return null.
Throws:
RiceIllegalArgumentException - if the extensionDefinition is null or blank

getRoutingDataFields

public WorkflowRuleAttributeFields getRoutingDataFields(Map<String,String> parameters,
                                                        ExtensionDefinition extensionDefinition,
                                                        boolean required)
                                                 throws RiceIllegalArgumentException
Description copied from interface: WorkflowRuleAttributeHandlerService
Using the WorkflowRuleAttribute defined by the given extension definition, does the following: validates the given rule attribute parameters, fetches the list of RemotableAttributeField objects to display for rule reporting then determines the rule extension values produced by the attribute and returns this information as a WorkflowRuleAttributeFields object.

Specified by:
getRoutingDataFields in interface WorkflowRuleAttributeHandlerService
Parameters:
parameters - the parameters against which to validate
extensionDefinition - extension definition of the WorkflowRuleAttribute, cannot be null or blank.
required - the required flag which should be passed to the WorkflowRuleAttribute prior to processing
Returns:
the WorkflowRuleAttributeFields, will not return null.
Throws:
RiceIllegalArgumentException - if the extensionDefinition is null or blank

getRoleNames

public List<RoleName> getRoleNames(ExtensionDefinition extensionDefinition)
Description copied from interface: WorkflowRuleAttributeHandlerService
Gets a List of RoleName objects produced by the RoleAttribute defined by the given extension definition.

Specified by:
getRoleNames in interface WorkflowRuleAttributeHandlerService
Parameters:
extensionDefinition - extension definition of the RoleAttribute, cannot be null or blank.
Returns:
an immutable list of RoleName objects, if none are defined or the supplied extension definition is not an instance of RoleAttribute, this will return an empty list. This method will never return null.

getExtensionRepositoryService

protected ExtensionRepositoryService getExtensionRepositoryService()

setExtensionRepositoryService

public void setExtensionRepositoryService(ExtensionRepositoryService extensionRepositoryService)


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