|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.student.r2.common.dto.HasAttributesInfo
org.kuali.student.r2.common.dto.ContextInfo
public class ContextInfo
The DTO for a Context.
| Constructor Summary | |
|---|---|
ContextInfo()
Constructs a new ContextInfo. |
|
ContextInfo(Context context)
Constructs a new ContextInfo from another Context. |
|
| Method Summary | |
|---|---|
String |
getAuthenticatedPrincipalId()
The Principal Id of the currently authenticated user. |
Date |
getCurrentDate()
The current date in this context. |
static ContextInfo |
getInstance(String principalId,
String localeLanguage,
String localeRegion)
Deprecated. |
LocaleInfo |
getLocale()
The locale information requested by the user. |
String |
getPrincipalId()
The Principal Id of the principal on whose behalf the authenticated principal is acting. |
String |
getTimeZone()
The time zone requested by the user. |
void |
setAuthenticatedPrincipalId(String authenticatedPrincipalId)
|
void |
setCurrentDate(Date currentDate)
|
void |
setLocale(LocaleInfo locale)
|
void |
setPrincipalId(String principalId)
|
void |
setTimeZone(String timeZone)
|
| Methods inherited from class org.kuali.student.r2.common.dto.HasAttributesInfo |
|---|
getAttributes, getAttributeValue, getAttributeValueList, setAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.kuali.student.r2.common.infc.HasAttributes |
|---|
getAttributes |
| Constructor Detail |
|---|
public ContextInfo()
public ContextInfo(Context context)
context - the context to copy| Method Detail |
|---|
public String getAuthenticatedPrincipalId()
Context
getAuthenticatedPrincipalId in interface Contextpublic void setAuthenticatedPrincipalId(String authenticatedPrincipalId)
public String getPrincipalId()
Context
getPrincipalId in interface Contextpublic void setPrincipalId(String principalId)
public Date getCurrentDate()
Context
getCurrentDate in interface Contextpublic void setCurrentDate(Date currentDate)
public LocaleInfo getLocale()
Context
getLocale in interface Contextpublic void setLocale(LocaleInfo locale)
public String getTimeZone()
Context
getTimeZone in interface Contextpublic void setTimeZone(String timeZone)
@Deprecated
public static ContextInfo getInstance(String principalId,
String localeLanguage,
String localeRegion)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||