Bean mapped to DB. Represents ActionRequest to a workgroup, user or role. Contains
references to children/parent if a member of a graph
author: rkirkend author: ewestfal
getPrimaryDelegateRequests() Used to get primary delegate names on route log in the 'Requested Of' section so primary delegate requests
list the delegate and not the delegator as having the request 'IN ACTION LIST'.
Allows comparison of action requests to see which is greater responsibility. -1 : indicates code 1 is lesser responsibility than code 2 0 : indicates the same responsibility 1 : indicates code1 is greater responsibility than code 2 The priority of action requests is as follows: fyi < acknowledge < (approve == complete)
Parameters: code1 - Parameters: code2 - -1 if less than, 0 if equal, 1 if greater than
compareDelegationType
public static int compareDelegationType(String type1, String type2)(Code)
compareRecipientType
public static int compareRecipientType(String type1, String type2)(Code)
Allows comparison of action requests to see which is greater responsibility. -1 : indicates type 1 is lesser responsibility than type 2 0 : indicates the same responsibility 1 : indicates type1 is greater responsibility than type 2
Parameters: type1 - Parameters: type2 - -1 if less than, 0 if equal, 1 if greater than
Used to get primary delegate names on route log in the 'Requested Of' section so primary delegate requests
list the delegate and not the delegator as having the request 'IN ACTION LIST'. This method doesn't recurse
and therefore assume an AR structure.
primary delgate requests