org.kuali.kpme.tklm.time.approval.summaryrow
Class ApprovalTimeSummaryRow

java.lang.Object
  extended by org.kuali.kpme.tklm.time.approval.summaryrow.ApprovalTimeSummaryRow
All Implemented Interfaces:
Serializable, Comparable<ApprovalTimeSummaryRow>, ApprovalTimeSummaryRowContract

public class ApprovalTimeSummaryRow
extends Object
implements Comparable<ApprovalTimeSummaryRow>, Serializable, ApprovalTimeSummaryRowContract

See Also:
Serialized Form

Constructor Summary
ApprovalTimeSummaryRow()
           
 
Method Summary
 int compareTo(ApprovalTimeSummaryRow row)
           
 String getApprovalStatus()
          The approvalStatus associated with the ApprovalTimeSummaryRow
 String getApprovalStatusMessage()
          The principalId associated with the ApprovalTimeSummaryRow
 Map<String,Map<String,BigDecimal>> getApproverHoursByAssignment()
          The map of approver hours associated with the ApprovalTimeSummaryRow
 Map<String,String> getAssignmentDescriptions()
          The map of assignment descriptions associated with the ApprovalTimeSummaryRow
 Boolean getClockedInOverThreshold()
          TODO: Put a better comment The clockedInOverThreshold flag of the ApprovalTimeSummaryRow
 String getClockStatusMessage()
          The clockStatusMessage associated with the ApprovalTimeSummaryRow
 String getColor()
          The color associated with the ApprovalTimeSummaryRow
 String getDocumentId()
          The documentId associated with the ApprovalTimeSummaryRow
 Map<String,BigDecimal> getHoursToFlsaPayLabelMap()
          The hoursToFlsaPayLabelMap associated with the ApprovalTimeSummaryRow
 Map<String,BigDecimal> getHoursToPayLabelMap()
          The hoursToPayLabelMap associated with the ApprovalTimeSummaryRow
 List<TimeBlock> getLstTimeBlocks()
          The list of TimeBlock objects associated with the ApprovalTimeSummaryRow
 String getName()
          The name associated with the ApprovalTimeSummaryRow
 List<org.kuali.rice.kew.api.note.Note> getNotes()
          The list of Note objects associated with the ApprovalTimeSummaryRow
 Map<String,Map<String,BigDecimal>> getOtherHoursByAssignment()
          The map of other hours associated with the ApprovalTimeSummaryRow
 String getOutputString()
          The outputString associated with the ApprovalTimeSummaryRow
 String getPayCalendarGroup()
          The payCalendarGroup associated with the ApprovalTimeSummaryRow
 BigDecimal getPeriodTotal()
          The periodTotal associated with the ApprovalTimeSummaryRow
 String getPrincipalId()
          The principalId associated with the ApprovalTimeSummaryRow
 String getRoleName()
          The role name of principalId associated with the ApprovalTimeSummaryRow
 Map<String,String> getRoleNames()
          The map of role names associated with the ApprovalTimeSummaryRow
 String getSelected()
          TODO: Put a better comment The selected associated with the ApprovalTimeSummaryRow
 String getTimesheetUserTargetURLParams()
          Helper method to grab the URL parameters for setting target mode for a user/documentID timesheet.
 TimeSummary getTimeSummary()
          The TimeSummary object associated with the ApprovalTimeSummaryRow
 List<String> getWarnings()
          The list of warning strings associated with the ApprovalTimeSummaryRow
 Map<String,BigDecimal> getWeekTotalMap()
          The map of week totals associated with the ApprovalTimeSummaryRow
 Set<String> getWorkAreas()
          The set of work area strings associated with the ApprovalTimeSummaryRow
 boolean isApprovable()
          Is this record ready to be approved?
 boolean isRoutable()
          Is this record initiated?
 void setApprovalStatus(String approvalStatus)
           
 void setApprovalStatusMessage(String approvalStatusMessage)
           
 void setApproverHoursByAssignment(Map<String,Map<String,BigDecimal>> approverHoursByAssignment)
           
 void setAssignmentDescriptions(Map<String,String> assignmentDescriptions)
           
 void setClockedInOverThreshold(Boolean clockedInOverThreshold)
           
 void setClockStatusMessage(String clockStatusMessage)
           
 void setColor(String color)
           
 void setDocumentId(String documentId)
           
 void setHoursToFlsaPayLabelMap(Map<String,BigDecimal> hoursToFlsaPayLabelMap)
           
 void setHoursToPayLabelMap(Map<String,BigDecimal> hoursToPayLabelMap)
           
 void setLstTimeBlocks(List<TimeBlock> lstTimeBlocks)
           
 void setName(String name)
           
 void setNotes(List<org.kuali.rice.kew.api.note.Note> notes)
           
 void setOtherHoursByAssignment(Map<String,Map<String,BigDecimal>> otherHoursByAssignment)
           
 void setOutputString(String outputString)
           
 void setPayCalendarGroup(String payCalendarGroup)
           
 void setPeriodTotal(BigDecimal periodTotal)
           
 void setPrincipalId(String principalId)
           
 void setRoleNames(Map<String,String> roleNames)
           
 void setSelected(String selected)
           
 void setTimeSummary(TimeSummary timeSummary)
           
 void setWarnings(List<String> warnings)
           
 void setWeekTotalMap(Map<String,BigDecimal> weekTotalMap)
           
 void setWorkAreas(Set<String> workAreas)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApprovalTimeSummaryRow

public ApprovalTimeSummaryRow()
Method Detail

getApprovalStatusMessage

public String getApprovalStatusMessage()
Description copied from interface: ApprovalTimeSummaryRowContract
The principalId associated with the ApprovalTimeSummaryRow

principalId of an ApprovalTimeSummaryRow

Specified by:
getApprovalStatusMessage in interface ApprovalTimeSummaryRowContract
Returns:
principalId for ApprovalTimeSummaryRow

setApprovalStatusMessage

public void setApprovalStatusMessage(String approvalStatusMessage)

getAssignmentDescriptions

public Map<String,String> getAssignmentDescriptions()
Description copied from interface: ApprovalTimeSummaryRowContract
The map of assignment descriptions associated with the ApprovalTimeSummaryRow

A String (AssignmentDescriptionKey) to Description mapping for all assignments on this summary row

Specified by:
getAssignmentDescriptions in interface ApprovalTimeSummaryRowContract
Returns:
assignmentDescriptions for ApprovalTimeSummaryRow

setAssignmentDescriptions

public void setAssignmentDescriptions(Map<String,String> assignmentDescriptions)

getApproverHoursByAssignment

public Map<String,Map<String,BigDecimal>> getApproverHoursByAssignment()
Description copied from interface: ApprovalTimeSummaryRowContract
The map of approver hours associated with the ApprovalTimeSummaryRow

A Map (Assignment key) of Mapped totals (pay label mapping)

Specified by:
getApproverHoursByAssignment in interface ApprovalTimeSummaryRowContract
Returns:
approverHoursByAssignment for ApprovalTimeSummaryRow

setApproverHoursByAssignment

public void setApproverHoursByAssignment(Map<String,Map<String,BigDecimal>> approverHoursByAssignment)

getOtherHoursByAssignment

public Map<String,Map<String,BigDecimal>> getOtherHoursByAssignment()
Description copied from interface: ApprovalTimeSummaryRowContract
The map of other hours associated with the ApprovalTimeSummaryRow

A Map (Assignment key) of Mapped totals (pay label mapping)

Specified by:
getOtherHoursByAssignment in interface ApprovalTimeSummaryRowContract
Returns:
otherHoursByAssignment for ApprovalTimeSummaryRow

setOtherHoursByAssignment

public void setOtherHoursByAssignment(Map<String,Map<String,BigDecimal>> otherHoursByAssignment)

getName

public String getName()
Description copied from interface: ApprovalTimeSummaryRowContract
The name associated with the ApprovalTimeSummaryRow

name of an ApprovalTimeSummaryRow

Specified by:
getName in interface ApprovalTimeSummaryRowContract
Returns:
name for ApprovalTimeSummaryRow

setName

public void setName(String name)

getLstTimeBlocks

public List<TimeBlock> getLstTimeBlocks()
Description copied from interface: ApprovalTimeSummaryRowContract
The list of TimeBlock objects associated with the ApprovalTimeSummaryRow

lstTimeBlocks of an ApprovalTimeSummaryRow

Specified by:
getLstTimeBlocks in interface ApprovalTimeSummaryRowContract
Returns:
lstTimeBlocks for ApprovalTimeSummaryRow

setLstTimeBlocks

public void setLstTimeBlocks(List<TimeBlock> lstTimeBlocks)

getApprovalStatus

public String getApprovalStatus()
Description copied from interface: ApprovalTimeSummaryRowContract
The approvalStatus associated with the ApprovalTimeSummaryRow

approvalStatus of an ApprovalTimeSummaryRow

Specified by:
getApprovalStatus in interface ApprovalTimeSummaryRowContract
Returns:
approvalStatus for ApprovalTimeSummaryRow

setApprovalStatus

public void setApprovalStatus(String approvalStatus)

setDocumentId

public void setDocumentId(String documentId)

getDocumentId

public String getDocumentId()
Description copied from interface: ApprovalTimeSummaryRowContract
The documentId associated with the ApprovalTimeSummaryRow

documentId of an ApprovalTimeSummaryRow

Specified by:
getDocumentId in interface ApprovalTimeSummaryRowContract
Returns:
documentId for ApprovalTimeSummaryRow

setHoursToPayLabelMap

public void setHoursToPayLabelMap(Map<String,BigDecimal> hoursToPayLabelMap)

getHoursToPayLabelMap

public Map<String,BigDecimal> getHoursToPayLabelMap()
Description copied from interface: ApprovalTimeSummaryRowContract
The hoursToPayLabelMap associated with the ApprovalTimeSummaryRow

hoursToPayLabelMap of an ApprovalTimeSummaryRow

Specified by:
getHoursToPayLabelMap in interface ApprovalTimeSummaryRowContract
Returns:
hoursToPayLabelMap for ApprovalTimeSummaryRow

setHoursToFlsaPayLabelMap

public void setHoursToFlsaPayLabelMap(Map<String,BigDecimal> hoursToFlsaPayLabelMap)

getHoursToFlsaPayLabelMap

public Map<String,BigDecimal> getHoursToFlsaPayLabelMap()
Description copied from interface: ApprovalTimeSummaryRowContract
The hoursToFlsaPayLabelMap associated with the ApprovalTimeSummaryRow

hoursToFlsaPayLabelMap of an ApprovalTimeSummaryRow

Specified by:
getHoursToFlsaPayLabelMap in interface ApprovalTimeSummaryRowContract
Returns:
hoursToFlsaPayLabelMap for ApprovalTimeSummaryRow

setClockStatusMessage

public void setClockStatusMessage(String clockStatusMessage)

getClockStatusMessage

public String getClockStatusMessage()
Description copied from interface: ApprovalTimeSummaryRowContract
The clockStatusMessage associated with the ApprovalTimeSummaryRow

clockStatusMessage of an ApprovalTimeSummaryRow

Specified by:
getClockStatusMessage in interface ApprovalTimeSummaryRowContract
Returns:
clockStatusMessage for ApprovalTimeSummaryRow

getPayCalendarGroup

public String getPayCalendarGroup()
Description copied from interface: ApprovalTimeSummaryRowContract
The payCalendarGroup associated with the ApprovalTimeSummaryRow

payCalendarGroup of an ApprovalTimeSummaryRow

Specified by:
getPayCalendarGroup in interface ApprovalTimeSummaryRowContract
Returns:
payCalendarGroup for ApprovalTimeSummaryRow

setPayCalendarGroup

public void setPayCalendarGroup(String payCalendarGroup)

isRoutable

public boolean isRoutable()
Is this record initiated?

Specified by:
isRoutable in interface ApprovalTimeSummaryRowContract
Returns:
true if initiated, false otherwise.

isApprovable

public boolean isApprovable()
Is this record ready to be approved?

Specified by:
isApprovable in interface ApprovalTimeSummaryRowContract
Returns:
true if a valid TK_APPROVER / TK_PROCESSOR can approve, false otherwise.

getTimesheetUserTargetURLParams

public String getTimesheetUserTargetURLParams()
Helper method to grab the URL parameters for setting target mode for a user/documentID timesheet. Returns a portion simlar to:

Specified by:
getTimesheetUserTargetURLParams in interface ApprovalTimeSummaryRowContract
Returns:
parameter portion of a URL, usable to initiate target mode.

getNotes

public List<org.kuali.rice.kew.api.note.Note> getNotes()
Description copied from interface: ApprovalTimeSummaryRowContract
The list of Note objects associated with the ApprovalTimeSummaryRow

notes of an ApprovalTimeSummaryRow

Specified by:
getNotes in interface ApprovalTimeSummaryRowContract
Returns:
notes for ApprovalTimeSummaryRow

setNotes

public void setNotes(List<org.kuali.rice.kew.api.note.Note> notes)

getWarnings

public List<String> getWarnings()
Description copied from interface: ApprovalTimeSummaryRowContract
The list of warning strings associated with the ApprovalTimeSummaryRow

warnings of an ApprovalTimeSummaryRow

Specified by:
getWarnings in interface ApprovalTimeSummaryRowContract
Returns:
warnings for ApprovalTimeSummaryRow

setWarnings

public void setWarnings(List<String> warnings)

getWorkAreas

public Set<String> getWorkAreas()
Description copied from interface: ApprovalTimeSummaryRowContract
The set of work area strings associated with the ApprovalTimeSummaryRow

workAreas of an ApprovalTimeSummaryRow

Specified by:
getWorkAreas in interface ApprovalTimeSummaryRowContract
Returns:
workAreas for ApprovalTimeSummaryRow

setWorkAreas

public void setWorkAreas(Set<String> workAreas)

getPrincipalId

public String getPrincipalId()
Description copied from interface: ApprovalTimeSummaryRowContract
The principalId associated with the ApprovalTimeSummaryRow

principalId of an ApprovalTimeSummaryRow

Specified by:
getPrincipalId in interface ApprovalTimeSummaryRowContract
Returns:
principalId for ApprovalTimeSummaryRow

setPrincipalId

public void setPrincipalId(String principalId)

getClockedInOverThreshold

public Boolean getClockedInOverThreshold()
Description copied from interface: ApprovalTimeSummaryRowContract
TODO: Put a better comment The clockedInOverThreshold flag of the ApprovalTimeSummaryRow

clockedInOverThreshold flag of an ApprovalTimeSummaryRow

Specified by:
getClockedInOverThreshold in interface ApprovalTimeSummaryRowContract
Returns:
Y if, N if not

setClockedInOverThreshold

public void setClockedInOverThreshold(Boolean clockedInOverThreshold)

getSelected

public String getSelected()
Description copied from interface: ApprovalTimeSummaryRowContract
TODO: Put a better comment The selected associated with the ApprovalTimeSummaryRow

selected of an ApprovalTimeSummaryRow

Specified by:
getSelected in interface ApprovalTimeSummaryRowContract
Returns:
selected for ApprovalTimeSummaryRow

setSelected

public void setSelected(String selected)

getTimeSummary

public TimeSummary getTimeSummary()
Description copied from interface: ApprovalTimeSummaryRowContract
The TimeSummary object associated with the ApprovalTimeSummaryRow

timeSummary of an ApprovalTimeSummaryRow

Specified by:
getTimeSummary in interface ApprovalTimeSummaryRowContract
Returns:
timeSummary for ApprovalTimeSummaryRow

setTimeSummary

public void setTimeSummary(TimeSummary timeSummary)

getPeriodTotal

public BigDecimal getPeriodTotal()
Description copied from interface: ApprovalTimeSummaryRowContract
The periodTotal associated with the ApprovalTimeSummaryRow

periodTotal of an ApprovalTimeSummaryRow

Specified by:
getPeriodTotal in interface ApprovalTimeSummaryRowContract
Returns:
periodTotal for ApprovalTimeSummaryRow

setPeriodTotal

public void setPeriodTotal(BigDecimal periodTotal)

compareTo

public int compareTo(ApprovalTimeSummaryRow row)
Specified by:
compareTo in interface Comparable<ApprovalTimeSummaryRow>

getOutputString

public String getOutputString()
Description copied from interface: ApprovalTimeSummaryRowContract
The outputString associated with the ApprovalTimeSummaryRow

outputString of an ApprovalTimeSummaryRow

Specified by:
getOutputString in interface ApprovalTimeSummaryRowContract
Returns:
the outputString

setOutputString

public void setOutputString(String outputString)
Parameters:
outputString - the outputString to set

getColor

public String getColor()
Description copied from interface: ApprovalTimeSummaryRowContract
The color associated with the ApprovalTimeSummaryRow

color of an ApprovalTimeSummaryRow

Specified by:
getColor in interface ApprovalTimeSummaryRowContract
Returns:
the color

setColor

public void setColor(String color)
Parameters:
color - the color to set

getWeekTotalMap

public Map<String,BigDecimal> getWeekTotalMap()
Description copied from interface: ApprovalTimeSummaryRowContract
The map of week totals associated with the ApprovalTimeSummaryRow

weekTotalMap of an ApprovalTimeSummaryRow

Specified by:
getWeekTotalMap in interface ApprovalTimeSummaryRowContract
Returns:
the weekTotalMap

setWeekTotalMap

public void setWeekTotalMap(Map<String,BigDecimal> weekTotalMap)
Parameters:
weekTotalMap - the weekTotalMap to set

getRoleNames

public Map<String,String> getRoleNames()
Description copied from interface: ApprovalTimeSummaryRowContract
The map of role names associated with the ApprovalTimeSummaryRow

roleNames of an ApprovalTimeSummaryRow

Specified by:
getRoleNames in interface ApprovalTimeSummaryRowContract
Returns:
roleNames for ApprovalTimeSummaryRow

setRoleNames

public void setRoleNames(Map<String,String> roleNames)

getRoleName

public String getRoleName()
Description copied from interface: ApprovalTimeSummaryRowContract
The role name of principalId associated with the ApprovalTimeSummaryRow

role name of principalId of an ApprovalTimeSummaryRow

Specified by:
getRoleName in interface ApprovalTimeSummaryRowContract
Returns:
getRoleNames().get(HrContext.getPrincipalId() for ApprovalTimeSummaryRow


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