| java.lang.Object org.kuali.workflow.attribute.KualiAccountAttribute
KualiAccountAttribute | public class KualiAccountAttribute implements RoleAttribute,WorkflowAttribute(Code) | | KualiAccountAttribute which should be used when using Accounts to do routing
|
Method Summary | |
public String | getAccountNbr() | public String | getAttributeLabel() | public String | getDocContent() | public String | getFinCoaCd() | public List | getQualifiedRoleNames(String roleName, DocumentContent docContent) Encodes the qualified role names for Fiscal Officer and Account Supervisor routing. | public List | getRoleNames() | public List | getRoutingDataRows() This method is used by the workflow report to allow the user to fill in some arbitrary values for the routable contents of an
example document, and then to run the report to generate a virtual route log of who the document would route to, etc. | public List | getRuleExtensionValues() | public List | getRuleRows() | public String | getTotalDollarAmount() | public boolean | isMatch(DocumentContent docContent, List ruleExtensions) return true since this is a rule attribute, and if there are no routing records returned, then there was no valid mapping in
the docContent for a given role. | public boolean | isRequired() | public ResolvedQualifiedRole | resolveQualifiedRole(RouteContext context, String roleName, String qualifiedRole) Resolves the qualified roles for Fiscal Officers, their delegates, and account supervisors. | public void | setAccountNbr(String accountNbr) | public void | setFinCoaCd(String finCoaCd) | public void | setRequired(boolean required) | public void | setTotalDollarAmount(String totalDollarAmount) | public List | validateRoutingData(Map paramMap) method to validate the routing data, need to determine if this should actually be implemented to throw errors or anything
like that. | public List | validateRuleData(Map paramMap) |
serialVersionUID | final static long serialVersionUID(Code) | | |
KualiAccountAttribute | public KualiAccountAttribute()(Code) | | No arg constructor
|
KualiAccountAttribute | public KualiAccountAttribute(String finCoaCd, String accountNbr, String totalDollarAmount)(Code) | | Constructor that takes chart, account, and total dollar amount
Parameters: finCoaCd - Parameters: accountNbr - Parameters: totalDollarAmount - |
getAccountNbr | public String getAccountNbr()(Code) | | simple getter which returns the account number
|
getDocContent | public String getDocContent()(Code) | | method to actually construct the docContent that will be appended to this documents contents
|
getFinCoaCd | public String getFinCoaCd()(Code) | | simple getter which returns the chart
|
getRoleNames | public List getRoleNames()(Code) | | return the universal set of role names provided by this attribute
|
getRoutingDataRows | public List getRoutingDataRows()(Code) | | This method is used by the workflow report to allow the user to fill in some arbitrary values for the routable contents of an
example document, and then to run the report to generate a virtual route log of who the document would route to, etc.
|
getRuleExtensionValues | public List getRuleExtensionValues()(Code) | | simple getter for the rule extension values
|
getRuleRows | public List getRuleRows()(Code) | | simple getter which returns empty
|
getTotalDollarAmount | public String getTotalDollarAmount()(Code) | | simple getter which returns the total dollar amount
|
isMatch | public boolean isMatch(DocumentContent docContent, List ruleExtensions)(Code) | | return true since this is a rule attribute, and if there are no routing records returned, then there was no valid mapping in
the docContent for a given role.
Parameters: docContent - Parameters: ruleExtensions - |
isRequired | public boolean isRequired()(Code) | | return whether or not this attribute is required
|
setAccountNbr | public void setAccountNbr(String accountNbr)(Code) | | simple setter that takes the account number
Parameters: accountNbr - |
setFinCoaCd | public void setFinCoaCd(String finCoaCd)(Code) | | simple setter which takes the chart
Parameters: finCoaCd - |
setRequired | public void setRequired(boolean required)(Code) | | simple setter
Parameters: required - |
setTotalDollarAmount | public void setTotalDollarAmount(String totalDollarAmount)(Code) | | simple setter which takes the total dollar amount
Parameters: totalDollarAmount - |
validateRoutingData | public List validateRoutingData(Map paramMap)(Code) | | method to validate the routing data, need to determine if this should actually be implemented to throw errors or anything
like that.
Parameters: paramMap - |
validateRuleData | public List validateRuleData(Map paramMap)(Code) | | method to validate the rule data, since this is a role attribute, there is no rule data
Parameters: paramMap - |
|
|