org.kuali.rice.kew.actions
Class AdHocRevoke

java.lang.Object
  extended by org.kuali.rice.kew.actions.AdHocRevoke
All Implemented Interfaces:
Serializable

public class AdHocRevoke
extends Object
implements Serializable

Represents a revocation of an AdHoc request.

If the nodeName property on this object is set, then the system will only examine pending app-specific requests at nodes with that particular name. In addition to this, one of the following 3 parameters is required:

  1. actionRequestId - the ID of the action request to revoke
  2. userId - the ID of the user whose request(s) should be revoked
  3. workgroupId - the ID of the workgroup whose requests(s) should be revoked

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

Field Summary
private  Long actionRequestId
           
private  String groupId
           
private  String nodeName
           
private  String principalId
           
private static long serialVersionUID
           
 
Constructor Summary
AdHocRevoke()
           
 
Method Summary
 Long getActionRequestId()
           
 String getGroupId()
           
 String getNodeName()
           
 String getPrincipalId()
           
 boolean matchesActionRequest(ActionRequestValue actionRequest)
          Determines if the given action request is an ad hoc request which matches this set of criteria.
 void setActionRequestId(Long actionRequestId)
           
 void setGroupId(String groupId)
           
 void setNodeName(String nodeName)
           
 void setPrincipalId(String principalId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

actionRequestId

private Long actionRequestId

nodeName

private String nodeName

principalId

private String principalId

groupId

private String groupId
Constructor Detail

AdHocRevoke

public AdHocRevoke()
Method Detail

getActionRequestId

public Long getActionRequestId()

setActionRequestId

public void setActionRequestId(Long actionRequestId)

getNodeName

public String getNodeName()

setNodeName

public void setNodeName(String nodeName)

getPrincipalId

public String getPrincipalId()

setPrincipalId

public void setPrincipalId(String principalId)

matchesActionRequest

public boolean matchesActionRequest(ActionRequestValue actionRequest)
Determines if the given action request is an ad hoc request which matches this set of criteria.


getGroupId

public String getGroupId()
Returns:
the group

setGroupId

public void setGroupId(String groupId)
Parameters:
groupId - of the group to set


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.