|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LeaveBlockRendererContract
LeaveBlockRendererContract interface
Method Summary | |
---|---|
String |
getAssignmentClass()
The assignment class associated with the LeaveBlockRenderer |
String |
getAssignmentTitle()
The assignment title of the LeaveBlock object associated with the LeaveBlockRenderer |
String |
getDescription()
The description of the LeaveBlock object associated with the LeaveBlockRenderer |
String |
getDocumentId()
The document id of the LeaveBlock object associated with the LeaveBlockRenderer |
String |
getEarnCode()
The EarnCode name of the LeaveBlock object associated with the LeaveBlockRenderer |
BigDecimal |
getHours()
The leave amount of the LeaveBlock object associated with the LeaveBlockRenderer |
LeaveBlockContract |
getLeaveBlock()
The LeaveBlock object associated with the LeaveBlockRenderer |
String |
getLeaveBlockDetails()
The details of the LeaveBlock object associated with the LeaveBlockRenderer |
String |
getLeaveBlockId()
The leave block id of the LeaveBlock object associated with the LeaveBlockRenderer |
String |
getRequestStatusClass()
The request status string of the LeaveBlock object associated with the LeaveBlockRenderer |
String |
getTimeRange()
The time range of the LeaveBlock object associated with the LeaveBlockRenderer |
boolean |
isDeletable()
The deletable flag of the LeaveBlock object associated with the LeaveBlockRenderer |
boolean |
isEditable()
The editable flag of the LeaveBlock object associated with the LeaveBlockRenderer |
Method Detail |
---|
LeaveBlockContract getLeaveBlock()
leaveBlock of a LeaveBlockRenderer
BigDecimal getHours()
leaveBlock.getLeaveAmount() of a LeaveBlockRenderer
String getEarnCode()
leaveBlock.getEarnCode() of a LeaveBlockRenderer
String getLeaveBlockId()
leaveBlock.getLmLeaveBlockId() of a LeaveBlockRenderer
String getDocumentId()
leaveBlock.getDocumentId() of a LeaveBlockRenderer
String getAssignmentTitle()
leaveBlock.getAssignmentTitle() of a LeaveBlockRenderer
boolean isEditable()
leaveBlock.isEditable() of a LeaveBlockRenderer
boolean isDeletable()
leaveBlock.isDeletable() of a LeaveBlockRenderer
String getAssignmentClass()
assignmentClass of a LeaveBlockRenderer
String getRequestStatusClass()
leaveBlock.getRequestStatusString().toLowerCase() of an LeaveBlockRenderer
String getLeaveBlockDetails()
If the leave block type is Accrual Service if the ScheduleTimeOffId of the leave block is not null, return the description of the ScheduleTimeOff, else "accrual" If the leave block type is Carry Over Adjustment if the description of the leave block is Max carry over adjustment, return "carryover adjustment", else "adjustment" If the leave block type is Balance Transfer if the description of the leave block contains Forfeited, return "transfer forfeiture" else if it contains Amount transferred, return "amount transferred" else if it contains Transferred amount, return "transferred amount" else "balance transfer" If the leave block type is Leave Payout if the description of the leave block contains Forfeited, return "payout forfeiture" else if it contains Amount paid out, return "amount paid out" else if it contains Payout amount, return "payout amount" else "leave payout" Else if the leave block type is not Leave Calendar nor Time Calendar, return corresponding string in LEAVE_BLOCK_TYPE_MAP for the leave block type else return leaveBlock.getRequestStatusString()
String getDescription()
leaveBlock.getDescription() of a LeaveBlockRenderer
String getTimeRange()
If the begin timestamp and end timestamp of the LeaveBlock are not null, and If the earn code type of the LeaveBlock is "T", it constructs and returns a string that contains begin timestamp and end timestamp.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |