1 /** 2 * Copyright 2005-2012 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 org.joda.time.DateTime; 19 import org.kuali.rice.core.api.delegation.DelegationType; 20 21 public interface ActionItemContract { 22 String getId(); 23 DateTime getDateTimeAssigned(); 24 String getActionRequestCd(); 25 String getActionRequestId(); 26 String getDocumentId(); 27 String getDocTitle(); 28 String getDocLabel(); 29 String getDocHandlerURL(); 30 String getDocName(); 31 String getResponsibilityId(); 32 String getRoleName(); 33 DelegationType getDelegationType(); 34 String getGroupId(); 35 String getPrincipalId(); 36 String getDelegatorGroupId(); 37 String getDelegatorPrincipalId(); 38 39 /** 40 * This method should never be called, has been deprecated, and will always return null. It was mistakenly added to 41 * this interface when it was created and has been left here for compatibility purposes. 42 * 43 * @return always returns null 44 * @deprecated dateAssignedString is never used 45 */ 46 @Deprecated 47 String getDateAssignedString(); 48 49 /** 50 * This method should never be called, has been deprecated, and will always return null. It was mistakenly added to 51 * this interface when it was created and has been left here for compatibility purposes. 52 * 53 * @return always returns null 54 * @deprecated actionToTake is never used 55 */ 56 @Deprecated 57 String getActionToTake(); 58 59 /** 60 * This method should never be called, has been deprecated, and will always return null. It was mistakenly added to 61 * this interface when it was created and has been left here for compatibility purposes. 62 * 63 * @return always returns null 64 * @deprecated actionItemIndex is never used 65 */ 66 Integer getActionItemIndex(); 67 68 69 }