1 /** 2 * Copyright 2004-2014 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.kpme.tklm.api.leave.workflow; 17 18 import org.kuali.kpme.core.api.assignment.Assignable; 19 import org.kuali.kpme.tklm.api.leave.block.LeaveBlockContract; 20 import org.kuali.rice.krad.document.SessionDocument; 21 import org.kuali.rice.krad.document.TransactionalDocument; 22 23 24 25 /** 26 * <p>LeaveRequestDocumentContract interface</p> 27 * 28 */ 29 public interface LeaveRequestDocumentContract extends TransactionalDocument, SessionDocument, Assignable { 30 31 /** 32 * The lmLeaveBlockId associated with the LeaveRequestDocument 33 * 34 * <p> 35 * lmLeaveBlockId of a LeaveRequestDocument 36 * <p> 37 * 38 * @return lmLeaveBlockId for LeaveRequestDocument 39 */ 40 public String getLmLeaveBlockId(); 41 42 /** 43 * The actionCode associated with the LeaveRequestDocument 44 * 45 * <p> 46 * actionCode of a LeaveRequestDocument 47 * <p> 48 * 49 * @return actionCode for LeaveRequestDocument 50 */ 51 public String getActionCode() ; 52 53 /** 54 * The description associated with the LeaveRequestDocument 55 * 56 * <p> 57 * description of a LeaveRequestDocument 58 * <p> 59 * 60 * @return description for LeaveRequestDocument 61 */ 62 public String getDescription(); 63 64 /** 65 * The LeaveBlock object associated with the LeaveRequestDocument 66 * 67 * <p> 68 * LeaveBlock of lmLeaveBlockId of a LeaveRequestDocument 69 * <p> 70 * 71 * @return LeaveBlock of lmLeaveBlockId for LeaveRequestDocument 72 */ 73 public LeaveBlockContract getLeaveBlock(); 74 75 }