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, WorkflowAttribute, 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
private static String ATTRIBUTE_ELEMENT
           
private static long serialVersionUID
           
private static String WORKGROUP_ELEMENT
           
private static String WORKGROUP_ROLE_NAME
           
 
Fields inherited from class org.kuali.rice.kew.rule.AbstractWorkflowAttribute
required
 
Constructor Summary
WorkgroupRoleAttribute()
           
 
Method Summary
protected  String getAttributeElementName()
           
protected  String getIdName()
           
 List<Role> getRoleNames()
          List of Roles 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, setIdValue, setParamMap, setRuleAttribute
 
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.WorkflowAttribute
getRoutingDataRows, getRuleExtensionValues, getRuleRows, isMatch, isRequired, setRequired, validateRoutingData, validateRuleData
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

WORKGROUP_ROLE_NAME

private static final String WORKGROUP_ROLE_NAME
See Also:
Constant Field Values

ATTRIBUTE_ELEMENT

private static final String ATTRIBUTE_ELEMENT
See Also:
Constant Field Values

WORKGROUP_ELEMENT

private static final String WORKGROUP_ELEMENT
See Also:
Constant Field Values
Constructor Detail

WorkgroupRoleAttribute

public WorkgroupRoleAttribute()
Method Detail

getRoleNames

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

Returns:
list of Roles 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 © 2004-2011 The Kuali Foundation. All Rights Reserved.