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 TimesheetDocument getCurrentTimesheetDocument()
           
static String getCurrentTimesheetDocumentId()
           
static javax.servlet.http.HttpServletRequest getHttpServletRequest()
           
static String getPrincipalId()
           
static Map<String,Object> getStorageMap()
           
static String getTargetPrincipalId()
           
static TKUser getUser()
          TKUser has the internal concept of Backdoor User vs.Actual User.
static void resetStorageMap()
           
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.

getUser

public static TKUser getUser()
TKUser has the internal concept of Backdoor User vs.Actual User.

Returns:

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()


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