org.kuali.student.contract.model.test.source
Interface Context

All Superinterfaces:
HasAttributes
All Known Implementing Classes:
ContextInfo, ContextInfo.Builder

public interface Context
extends HasAttributes

This is a generic context container to be used by services to pass user identity and preferences Note: 1. ISO3 standard can now be interpreted by looking at the language and country codes 2. Time zone is defined in GMT +/- hours and minutes format 3. Should Locale contain currency References: ftp://ftp.rfc-editor.org/in-notes/bcp/bcp47.txt http://download.oracle.com/javase/1.4.2/docs/api/java/util/TimeZone.html

Author:
Kamal

Method Summary
 String getLocaleLanguage()
          Name: Locale Language Laguage portion of the locale information used in this context
 String getLocaleRegion()
          Name: Locale Region Laguage Region portion of the locale information to be used in this context
 String getLocaleScript()
          Name: Locale Script Laguage Script to be used in this context
 String getLocaleVariant()
          Name: Locale Language Variant Laguage variant portion of the locale information to be used in this context
 String getPrincipalId()
          Name: Principal Id Principal Id of the currently authenticated user or the user on whom's behalf this method is being invoked.
 String getTimeZone()
          Name: Tim Zone The time zone to be used in this context
 
Methods inherited from interface org.kuali.student.contract.model.test.source.HasAttributes
getAttributes
 

Method Detail

getPrincipalId

String getPrincipalId()
Name: Principal Id Principal Id of the currently authenticated user or the user on whom's behalf this method is being invoked. Used for authorization checking.


getLocaleLanguage

String getLocaleLanguage()
Name: Locale Language Laguage portion of the locale information used in this context


getLocaleVariant

String getLocaleVariant()
Name: Locale Language Variant Laguage variant portion of the locale information to be used in this context


getLocaleRegion

String getLocaleRegion()
Name: Locale Region Laguage Region portion of the locale information to be used in this context


getLocaleScript

String getLocaleScript()
Name: Locale Script Laguage Script to be used in this context


getTimeZone

String getTimeZone()
Name: Tim Zone The time zone to be used in this context



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