org.kuali.rice.kew.rule
Class WorkgroupRoleAttribute

java.lang.Object
  extended by org.kuali.rice.kew.rule.AbstractWorkflowAttribute
      extended by org.kuali.rice.kew.rule.AbstractRoleAttribute
          extended by org.kuali.rice.kew.rule.AbstractIdRoleAttribute
              extended by org.kuali.rice.kew.rule.WorkgroupRoleAttribute
All Implemented Interfaces:
Serializable, RoleAttribute, WorkflowRuleAttribute, XmlConfiguredAttribute, GenericXMLRuleAttribute

public class WorkgroupRoleAttribute
extends AbstractIdRoleAttribute

A generic Role Attribute that can be used to route to a Workgroup Name. Can take as configuration the label to use for the element name in the XML. This allows for re-use of this component in different contexts.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kew.rule.AbstractWorkflowAttribute
required
 
Constructor Summary
WorkgroupRoleAttribute()
           
 
Method Summary
protected  String getAttributeElementName()
           
protected  String getIdName()
           
 List<RoleName> getRoleNames()
          List of RoleNames this RoleAttribute supports
 String getWorkgroupName()
           
protected  Id resolveId(String id)
           
 void setWorkgroupName(String workgroupName)
           
 
Methods inherited from class org.kuali.rice.kew.rule.AbstractIdRoleAttribute
getDocContent, getIdValue, getParamMap, getQualifiedRoleNames, readConfiguration, resolveQualifiedRole, setExtensionDefinition, setIdValue, setParamMap
 
Methods inherited from class org.kuali.rice.kew.rule.AbstractRoleAttribute
isMatch
 
Methods inherited from class org.kuali.rice.kew.rule.AbstractWorkflowAttribute
getIdFieldName, getLockFieldName, getRoutingDataRows, getRuleExtensionValues, getRuleRows, isRequired, setRequired, validateRoutingData, validateRuleData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kew.rule.WorkflowRuleAttribute
getRoutingDataRows, getRuleExtensionValues, getRuleRows, isMatch, isRequired, setRequired, validateRoutingData, validateRuleData
 

Constructor Detail

WorkgroupRoleAttribute

public WorkgroupRoleAttribute()
Method Detail

getRoleNames

public List<RoleName> getRoleNames()
Description copied from interface: RoleAttribute
List of RoleNames this RoleAttribute supports

Returns:
list of RoleNames this RoleAttribute supports

getAttributeElementName

protected String getAttributeElementName()
Specified by:
getAttributeElementName in class AbstractIdRoleAttribute

resolveId

protected Id resolveId(String id)
Specified by:
resolveId in class AbstractIdRoleAttribute

getIdName

protected String getIdName()
Specified by:
getIdName in class AbstractIdRoleAttribute

getWorkgroupName

public String getWorkgroupName()

setWorkgroupName

public void setWorkgroupName(String workgroupName)


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