View Javadoc

1   /**
2    * Copyright 2005-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.kew.api.action;
17  
18  import java.util.List;
19  
20  import org.joda.time.DateTime;
21  import org.kuali.rice.core.api.delegation.DelegationType;
22  import org.kuali.rice.core.api.mo.common.Identifiable;
23  
24  public interface ActionRequestContract extends Identifiable {
25  
26  	String getId();
27  	
28  	ActionRequestType getActionRequested();
29  	
30  	ActionRequestStatus getStatus();
31  	
32  	boolean isCurrent();
33  	
34  	DateTime getDateCreated();
35  	
36  	String getResponsibilityId();
37  	
38  	String getDocumentId();
39  		
40  	int getPriority();
41  
42      int getRouteLevel();
43  	
44  	String getAnnotation();
45  		
46  	RecipientType getRecipientType();
47  	
48  	String getPrincipalId();
49  	
50  	String getGroupId();
51  	
52  	ActionRequestPolicy getRequestPolicy();
53  	
54  	String getResponsibilityDescription();
55  	
56  	boolean isForceAction();
57  	
58  	DelegationType getDelegationType();
59  	
60  	String getRoleName();
61  	
62  	String getQualifiedRoleName();
63  	
64  	String getQualifiedRoleNameLabel();
65  	
66  	String getRouteNodeInstanceId();
67  	
68  	String getNodeName();
69  	
70  	String getRequestLabel();
71  	
72  	String getParentActionRequestId();
73  	
74  	ActionTakenContract getActionTaken();
75  	
76  	List<? extends ActionRequestContract> getChildRequests();
77  		
78  }