org.kuali.kpme.tklm.leave.block
Class LeaveBlockHistory

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.kpme.core.block.CalendarBlockBase
              extended by org.kuali.kpme.core.block.CalendarBlock
                  extended by org.kuali.kpme.tklm.leave.block.LeaveBlock
                      extended by org.kuali.kpme.tklm.leave.block.LeaveBlockHistory
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, Assignable, CalendarBlockContract, LeaveBlockContract, LeaveBlockHistoryContract, org.kuali.rice.core.api.mo.common.GloballyUnique, org.kuali.rice.core.api.mo.common.Versioned, org.kuali.rice.core.api.mo.ModelObjectBasic, org.kuali.rice.krad.bo.BusinessObject, org.kuali.rice.krad.bo.PersistableBusinessObject

public class LeaveBlockHistory
extends LeaveBlock
implements LeaveBlockHistoryContract

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.kpme.tklm.leave.block.LeaveBlock
LeaveBlock.Builder
 
Field Summary
 
Fields inherited from class org.kuali.kpme.tklm.leave.block.LeaveBlock
CACHE_NAME, earnCode, jobNumber, leaveAmount, lmLeaveBlockId, task, workArea
 
Fields inherited from class org.kuali.kpme.core.block.CalendarBlockBase
amount, beginTimestamp, concreteBlockId, concreteBlockType, documentId, endTimestamp, hours, hrCalendarBlockId, lunchDeleted, overtimePref, principalId, timestamp
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Fields inherited from interface org.kuali.kpme.core.api.assignment.Assignable
ASSIGNABLE_TERM_NAME
 
Constructor Summary
LeaveBlockHistory()
           
LeaveBlockHistory(LeaveBlock lb)
           
 
Method Summary
 String getAction()
          The action associated with the LeaveBlockHistory
 String getAssignmentTitle()
          The assignment title associated with the LeaveBlock
 String getLmLeaveBlockHistoryId()
          The primary key of a LeaveBlockHistory entry saved in a database
 String getPrincipalIdDeleted()
          TODO: Put a better comment The principalIdDeleted associated with the LeaveBlockHistory
 Timestamp getTimestampDeleted()
          TODO: Put a better comment The timestampDeleted associated with the LeaveBlockHistory
 void setAction(String action)
           
 void setLmLeaveBlockHistoryId(String lmLeaveBlockHistoryId)
           
 void setPrincipalIdDeleted(String principalIdDeleted)
           
 void setTimestampDeleted(Timestamp timestampDeleted)
           
 
Methods inherited from class org.kuali.kpme.tklm.leave.block.LeaveBlock
equals, getAccrualCategory, getAccrualCategoryObj, getAccrualCategoryRule, getAccrualCategoryRuleId, getAccrualGenerated, getAffectPay, getAssignmentKey, getAssignments, getBeginDate, getBeginDateTime, getBeginTimestampVal, getBlockId, getCalendarId, getDescription, getDocumentStatus, getEarnCode, getEarnCodeDescription, getEndDateTime, getEndTimestampVal, getJobNumber, getLeaveAmount, getLeaveBlockHistories, getLeaveBlockType, getLeaveCalendarDocumentHeader, getLeaveDate, getLeaveLocalDate, getLeaveRequestDocumentId, getLmLeaveBlockId, getPlanningDescription, getPrincipalHRAttributes, getPrincipalIdModified, getReason, getRequestStatus, getRequestStatusString, getScheduleTimeOffId, getTask, getTransactionalDocId, getUserPrincipalId, getWorkArea, hashCode, isDeletable, isEditable, isSubmit, setAccrualCategory, setAccrualGenerated, setAffectPay, setAssignmentKey, setAssignmentTitle, setBeginDate, setBeginDateTime, setBlockId, setCalendarId, setDescription, setDocumentStatus, setEarnCode, setEndDateTime, setJobNumber, setLeaveAmount, setLeaveBlockHistories, setLeaveBlockType, setLeaveCalendarDocumentHeader, setLeaveDate, setLeaveLocalDate, setLeaveRequestDocumentId, setLmLeaveBlockId, setPlanningDescription, setPrincipalHRAttributes, setPrincipalIdModified, setReason, setRequestStatus, setScheduleTimeOffId, setSubmit, setTask, setTransactionDocId, setUserPrincipalId, setWorkArea
 
Methods inherited from class org.kuali.kpme.core.block.CalendarBlock
getAmount, getBeginTimestamp, getConcreteBlockId, getConcreteBlockType, getDocumentId, getEndTimestamp, getHours, getLunchDeleted, getOvertimePref, getPrincipalId, getTimestamp, setAmount, setBeginTimestamp, setConcreteBlockId, setConcreteBlockType, setDocumentId, setEndTimestamp, setHours, setLunchDeleted, setOvertimePref, setPrincipalId, setTimestamp
 
Methods inherited from class org.kuali.kpme.core.block.CalendarBlockBase
getHrCalendarBlockId, setHrCalendarBlockId
 
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.kpme.tklm.api.leave.block.LeaveBlockContract
getAccrualCategory, getAccrualCategoryRuleId, getAccrualGenerated, getAssignmentKey, getBeginDateTime, getBlockId, getCalendarId, getDescription, getDocumentStatus, getEarnCode, getEarnCodeDescription, getEndDateTime, getJobNumber, getLeaveAmount, getLeaveBlockHistories, getLeaveBlockType, getLeaveDate, getLeaveLocalDate, getLeaveRequestDocumentId, getLmLeaveBlockId, getPlanningDescription, getReason, getRequestStatus, getRequestStatusString, getScheduleTimeOffId, getTask, getTransactionalDocId, getWorkArea, isDeletable, isEditable, isSubmit
 
Methods inherited from interface org.kuali.kpme.core.api.block.CalendarBlockContract
getAmount, getBeginTimestamp, getConcreteBlockId, getConcreteBlockType, getDocumentId, getEndTimestamp, getHours, getHrCalendarBlockId, getLunchDeleted, getOvertimePref, getPrincipalId, getTimestamp, setAmount, setBeginTimestamp, setConcreteBlockId, setConcreteBlockType, setDocumentId, setEarnCode, setEndTimestamp, setHours, setHrCalendarBlockId, setJobNumber, setLunchDeleted, setOvertimePref, setPrincipalId, setTask, setTimestamp, setWorkArea
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Constructor Detail

LeaveBlockHistory

public LeaveBlockHistory()

LeaveBlockHistory

public LeaveBlockHistory(LeaveBlock lb)
Method Detail

getLmLeaveBlockHistoryId

public String getLmLeaveBlockHistoryId()
Description copied from interface: LeaveBlockHistoryContract
The primary key of a LeaveBlockHistory entry saved in a database

lmLeaveBlockHistoryId of a LeaveBlockHistory

Specified by:
getLmLeaveBlockHistoryId in interface LeaveBlockHistoryContract
Returns:
lmLeaveBlockHistoryId for LeaveBlockHistory

setLmLeaveBlockHistoryId

public void setLmLeaveBlockHistoryId(String lmLeaveBlockHistoryId)

getAction

public String getAction()
Description copied from interface: LeaveBlockHistoryContract
The action associated with the LeaveBlockHistory

action of a LeaveBlockHistory

Specified by:
getAction in interface LeaveBlockHistoryContract
Returns:
action for LeaveBlockHistory

setAction

public void setAction(String action)

getPrincipalIdDeleted

public String getPrincipalIdDeleted()
Description copied from interface: LeaveBlockHistoryContract
TODO: Put a better comment The principalIdDeleted associated with the LeaveBlockHistory

principalIdDeleted of a LeaveBlockHistory

Specified by:
getPrincipalIdDeleted in interface LeaveBlockHistoryContract
Returns:
principalIdDeleted for LeaveBlockHistory

setPrincipalIdDeleted

public void setPrincipalIdDeleted(String principalIdDeleted)

getTimestampDeleted

public Timestamp getTimestampDeleted()
Description copied from interface: LeaveBlockHistoryContract
TODO: Put a better comment The timestampDeleted associated with the LeaveBlockHistory

timestampDeleted of a LeaveBlockHistory

Specified by:
getTimestampDeleted in interface LeaveBlockHistoryContract
Returns:
timestampDeleted for LeaveBlockHistory

setTimestampDeleted

public void setTimestampDeleted(Timestamp timestampDeleted)

getAssignmentTitle

public String getAssignmentTitle()
Description copied from interface: LeaveBlockContract
The assignment title associated with the LeaveBlock

If the work area associated with the LeaveBlock is not null, it gets its description and its task. If the task is not null and not the default task, it gets the task description.

Specified by:
getAssignmentTitle in interface LeaveBlockContract
Specified by:
getAssignmentTitle in interface LeaveBlockHistoryContract
Overrides:
getAssignmentTitle in class LeaveBlock
Returns:
"work area description - task description" for LeaveBlock


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.