public interface TimeBlockContract extends CalendarBlockContract, UserModified, Comparable<TimeBlockContract>
TimeBlockContract interface
Modifier and Type | Method and Description |
---|---|
org.joda.time.DateTime |
getActionDateTime() |
String |
getActualBeginTimeString()
The actual begin time string associated with the TimeBlock
|
String |
getActualEndTimeString()
The actual end time string associated with the TimeBlock
|
BigDecimal |
getAmount()
The amount associated with the TimeBlock
|
String |
getAssignmentDescription()
The assignment description associated with the TimeBlock
|
String |
getAssignmentKey()
The assignment key associated with the TimeBlock
|
String |
getAssignmentValue() |
org.joda.time.DateTime |
getBeginDateTime()
The beginTimestamp (Datetime) associated with the TimeBlock
|
org.joda.time.LocalTime |
getBeginTime()
The beginTimestamp (Time) associated with the TimeBlock
|
org.joda.time.DateTime |
getBeginTimeDisplay()
The Timeblock begin time to display with the user's Timezone taken into account and applied to this DateTime object.
|
String |
getBeginTimeDisplayDateOnlyString()
The date portion of the Timeblock begin time associated with the TimeBlock
|
String |
getBeginTimeDisplayTimeOnlyString()
The time portion of the Timeblock begin time associated with the TimeBlock
|
String |
getClockAction() |
String |
getClockLogBeginId()
The clock log begin id associated with the TimeBlock
|
String |
getClockLogEndId()
The clock log end id associated with the TimeBlock
|
org.joda.time.DateTime |
getCreateTime()
The timestamp associated with the TimeBlock
|
String |
getEarnCodeType()
The earn code type associated with the TimeBlock
|
org.joda.time.DateTime |
getEndDateTime()
The endTimestamp (DateTime) associated with the TimeBlock
|
org.joda.time.LocalTime |
getEndTime()
The endTimestamp (Time) associated with the TimeBlock
|
org.joda.time.DateTime |
getEndTimeDisplay()
The Timeblock end time to display with the user's Timezone taken into account and applied to this DateTime object.
|
String |
getEndTimeDisplayDateOnlyString()
The date portion of the Timeblock end time associated with the TimeBlock
|
String |
getEndTimeDisplayTimeOnlyString()
The time portion of the Timeblock end time associated with the TimeBlock
|
BigDecimal |
getHours()
The hours associated with the TimeBlock
|
String |
getHrCalendarBlockId()
The id of the CalendarBlock object associated with the TimeBlock
|
org.joda.time.DateTime |
getLeaveDateTime() |
String |
getMissedPunchDocId() |
String |
getMissedPunchDocStatus() |
String |
getOvertimePref()
TODO: Put a better comment
The overtimePref associated with the TimeBlock
|
String |
getPrincipalId()
The principalId associated with the TimeBlock
|
List<? extends TimeHourDetailContract> |
getTimeHourDetails()
The list of TimeHourDetail objects associated with the TimeBlock
|
String |
getTkTimeBlockId()
The primary key of a TimeBlock entry saved in a database
|
BigDecimal |
getTotalMinutes()
The minutes associated with the TimeBlock (directly related to hours)
|
String |
getUserPrincipalId()
The userPrincipalId associated with the TimeBlock
|
Boolean |
isClockedByMissedPunch() |
Boolean |
isClockLogCreated()
Flag the shows if the timeblock has been created by a clock log
|
boolean |
isLunchDeleted()
TODO: Make sure this comment is right
The flag that indicates if lunch hour is deleted
|
boolean |
isMissedPunchClockIn() |
boolean |
isMissedPunchClockOut() |
Boolean |
isPushBackward()
The flag that indicates if the TimeBlock will be pushed back or not
|
getConcreteBlockId, getConcreteBlockType, getDocumentId, getEarnCode, getJobNumber, getTask, getWorkArea
getGroupKey, getGroupKeyCode
compareTo
org.joda.time.LocalTime getBeginTime()
beginTimestamp wrapped in Time object of a TimeBlock
org.joda.time.DateTime getBeginDateTime()
beginTimestamp wrapped in DateTime object of a TimeBlock
getBeginDateTime
in interface CalendarBlockContract
org.joda.time.LocalTime getEndTime()
endTimestamp wrapped in Time object of a TimeBlock
org.joda.time.DateTime getEndDateTime()
endTimestamp wrapped in DateTime object of a TimeBlock
getEndDateTime
in interface CalendarBlockContract
Boolean isClockLogCreated()
clockLogCreated flag of a Timeblock
BigDecimal getHours()
hours of a TimeBlock
getHours
in interface CalendarBlockContract
BigDecimal getTotalMinutes()
total minutes of a TimeBlock
BigDecimal getAmount()
amount of a TimeBlock
getAmount
in interface CalendarBlockContract
String getUserPrincipalId()
userPrincipalId of a TimeBlock
getUserPrincipalId
in interface UserModified
org.joda.time.DateTime getCreateTime()
timestamp of a TimeBlock
String getTkTimeBlockId()
tkTimeBlockId of a TimeBlock
List<? extends TimeHourDetailContract> getTimeHourDetails()
timeHourDetails of a TimeBlock
Boolean isPushBackward()
A timeblock will be pushed back if the timeblock is still within the previous interval.
org.joda.time.DateTime getBeginTimeDisplay()
Use this call for all GUI/Display related rendering of the END timestamp of the given time block. Timeblocks require pre-processing before there will be a non-null return value here.
String getBeginTimeDisplayDateOnlyString()
String getBeginTimeDisplayTimeOnlyString()
String getEndTimeDisplayDateOnlyString()
String getEndTimeDisplayTimeOnlyString()
org.joda.time.DateTime getEndTimeDisplay()
Use this call for all GUI/Display related rendering of the END timestamp of the given time block. Timeblocks require pre-processing before there will be a non-null return value here.
String getClockLogBeginId()
clockLogBeginId of a TimeBlock
String getClockLogEndId()
clockLogEndId of a TimeBlock
String getAssignmentKey()
assignmentKey of a TimeBlock
String getAssignmentDescription()
assignment description of a TimeBlock
String getEarnCodeType()
earnCodeType of a TimeBlock
String getPrincipalId()
principalId of a TimeBlock
getPrincipalId
in interface CalendarBlockContract
String getOvertimePref()
overtimePref of a TimeBlock
getOvertimePref
in interface CalendarBlockContract
String getActualBeginTimeString()
It applies grace period rule to times of time block. This string is for GUI of Actual time inquiry
String getActualEndTimeString()
It applies grace period rule to times of time block. This string is for GUI of Actual time inquiry
boolean isLunchDeleted()
lunchDeleted flag of a TimeBlock
isLunchDeleted
in interface CalendarBlockContract
String getHrCalendarBlockId()
super.hrCalendarBlockId a TimeBlock
getHrCalendarBlockId
in interface CalendarBlockContract
org.joda.time.DateTime getLeaveDateTime()
org.joda.time.DateTime getActionDateTime()
String getClockAction()
String getMissedPunchDocId()
String getMissedPunchDocStatus()
String getAssignmentValue()
Boolean isClockedByMissedPunch()
boolean isMissedPunchClockIn()
boolean isMissedPunchClockOut()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.