001/**
002 * Copyright 2005-2016 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package org.kuali.rice.kew.api.action;
017
018import java.util.List;
019
020import org.joda.time.DateTime;
021import org.kuali.rice.core.api.delegation.DelegationType;
022import org.kuali.rice.core.api.mo.common.Identifiable;
023
024public interface ActionRequestContract extends Identifiable {
025
026        String getId();
027        
028        ActionRequestType getActionRequested();
029        
030        ActionRequestStatus getStatus();
031        
032        boolean isCurrent();
033        
034        DateTime getDateCreated();
035        
036        String getResponsibilityId();
037        
038        String getDocumentId();
039                
040        int getPriority();
041
042    int getRouteLevel();
043        
044        String getAnnotation();
045                
046        RecipientType getRecipientType();
047        
048        String getPrincipalId();
049        
050        String getGroupId();
051        
052        ActionRequestPolicy getRequestPolicy();
053        
054        String getResponsibilityDescription();
055        
056        boolean isForceAction();
057        
058        DelegationType getDelegationType();
059        
060        String getRoleName();
061        
062        String getQualifiedRoleName();
063        
064        String getQualifiedRoleNameLabel();
065        
066        String getRouteNodeInstanceId();
067        
068        String getNodeName();
069        
070        String getRequestLabel();
071        
072        String getParentActionRequestId();
073        
074        ActionTakenContract getActionTaken();
075        
076        List<? extends ActionRequestContract> getChildRequests();
077                
078}