Class LeaveLogic
java.lang.Object
com.echothree.util.server.control.BaseLogic
com.echothree.model.control.employee.server.logic.LeaveLogic
-
Field Summary
Fields inherited from class com.echothree.util.server.control.BaseLogic
coreControl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateLeave(Session session, Party party, Party companyParty, LeaveType leaveType, LeaveReason leaveReason, Long startTime, Long endTime, Long totalTime, WorkflowEntrance leaveStatus, PartyPK createdBy) voiddeleteLeave(Leave leave, BasePK deleteBy) getLeaveReasonByName(ExecutionErrorAccumulator eea, String leaveReasonName) getLeaveTypeByName(ExecutionErrorAccumulator eea, String leaveTypeName) voidupdateLeaveFromValue(ExecutionErrorAccumulator eea, LeaveDetailValue leaveDetailValue, PartyPK updatedBy) Methods inherited from class com.echothree.util.server.control.BaseLogic
addExecutionError, addSecurityMessage, getEntityInstanceByBaseEntity, getEntityInstanceByBasePK, getSession, handleExecutionError, handleSecurityMessage, hasExecutionErrors
-
Constructor Details
-
LeaveLogic
protected LeaveLogic()
-
-
Method Details
-
getLeaveTypeByName
-
getLeaveReasonByName
-
createLeave
public Leave createLeave(Session session, Party party, Party companyParty, LeaveType leaveType, LeaveReason leaveReason, Long startTime, Long endTime, Long totalTime, WorkflowEntrance leaveStatus, PartyPK createdBy) -
updateLeaveFromValue
public void updateLeaveFromValue(ExecutionErrorAccumulator eea, LeaveDetailValue leaveDetailValue, PartyPK updatedBy) -
deleteLeave
-