org.kuali.hr.time.util
Class TKContext

java.lang.Object
  extended by org.kuali.hr.time.util.TKContext

public class TKContext
extends Object


Constructor Summary
TKContext()
           
 
Method Summary
static void clear()
           
static LeaveCalendarDocument getCurrentLeaveCalendarDocument()
           
static String getCurrentLeaveCalendarDocumentId()
           
static TimesheetDocument getCurrentTimesheetDocument()
           
static String getCurrentTimesheetDocumentId()
           
static javax.servlet.http.HttpServletRequest getHttpServletRequest()
           
static String getPrincipalId()
           
static Map<String,Object> getStorageMap()
           
static String getTargetPrincipalId()
           
static void resetStorageMap()
           
static void setCurrentLeaveCalendarDocument(LeaveCalendarDocument ldoc)
           
static void setCurrentLeaveCalendarDocumentId(String leaveCalendarDocumentId)
           
static void setCurrentTimesheetDocument(TimesheetDocument tdoc)
           
static void setCurrentTimesheetDocumentId(String timesheetDocumentId)
          Set the current timesheet document id.
static void setHttpServletRequest(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TKContext

public TKContext()
Method Detail

getCurrentTimesheetDocument

public static TimesheetDocument getCurrentTimesheetDocument()

setCurrentTimesheetDocument

public static void setCurrentTimesheetDocument(TimesheetDocument tdoc)

getCurrentTimesheetDocumentId

public static String getCurrentTimesheetDocumentId()
Returns:
The current timesheet document id, as set by the detail/clock pages.

setCurrentTimesheetDocumentId

public static void setCurrentTimesheetDocumentId(String timesheetDocumentId)
Set the current timesheet document id.

Parameters:
timesheetDocumentId - The ID we are setting this value to.

getPrincipalId

public static String getPrincipalId()

getTargetPrincipalId

public static String getTargetPrincipalId()

getHttpServletRequest

public static javax.servlet.http.HttpServletRequest getHttpServletRequest()

setHttpServletRequest

public static void setHttpServletRequest(javax.servlet.http.HttpServletRequest request)

getStorageMap

public static Map<String,Object> getStorageMap()

resetStorageMap

public static void resetStorageMap()

clear

public static void clear()

getCurrentLeaveCalendarDocument

public static LeaveCalendarDocument getCurrentLeaveCalendarDocument()
Returns:
The current leave calendar document

setCurrentLeaveCalendarDocument

public static void setCurrentLeaveCalendarDocument(LeaveCalendarDocument ldoc)
Parameters:
ldoc - The leave calendar document

getCurrentLeaveCalendarDocumentId

public static String getCurrentLeaveCalendarDocumentId()
Returns:
The current leave calendar document Id

setCurrentLeaveCalendarDocumentId

public static void setCurrentLeaveCalendarDocumentId(String leaveCalendarDocumentId)
Parameters:
leaveCalendarDocumentId - The leave calendar document Id


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