001/** 002 * Copyright 2005-2018 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 org.joda.time.DateTime; 019import org.kuali.rice.core.api.delegation.DelegationType; 020 021public interface ActionItemContract { 022 String getId(); 023 DateTime getDateTimeAssigned(); 024 String getActionRequestCd(); 025 String getActionRequestId(); 026 String getDocumentId(); 027 String getDocTitle(); 028 String getDocLabel(); 029 String getDocHandlerURL(); 030 String getDocName(); 031 String getResponsibilityId(); 032 String getRoleName(); 033 DelegationType getDelegationType(); 034 String getGroupId(); 035 String getPrincipalId(); 036 String getDelegatorGroupId(); 037 String getDelegatorPrincipalId(); 038 039 /** 040 * This method should never be called, has been deprecated, and will always return null. It was mistakenly added to 041 * this interface when it was created and has been left here for compatibility purposes. 042 * 043 * @return always returns null 044 * @deprecated dateAssignedString is never used 045 */ 046 @Deprecated 047 String getDateAssignedString(); 048 049 /** 050 * This method should never be called, has been deprecated, and will always return null. It was mistakenly added to 051 * this interface when it was created and has been left here for compatibility purposes. 052 * 053 * @return always returns null 054 * @deprecated actionToTake is never used 055 */ 056 @Deprecated 057 String getActionToTake(); 058 059 /** 060 * This method should never be called, has been deprecated, and will always return null. It was mistakenly added to 061 * this interface when it was created and has been left here for compatibility purposes. 062 * 063 * @return always returns null 064 * @deprecated actionItemIndex is never used 065 */ 066 Integer getActionItemIndex(); 067 068 069}