public class GlueDefaultContext extends GlueHashMap<String,Object> implements GlueContext
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
GlueContext.ContentType, GlueContext.EventType, GlueContext.PortletContentType, GlueContext.WebContentType
Constructor and Description |
---|
GlueDefaultContext()
»ý¼ºÀÚ(constructor).
|
GlueDefaultContext(GlueContext.EventType eventSourceType)
»ý¼ºÀÚ(constructor).
|
Modifier and Type | Method and Description |
---|---|
Object |
get(String key,
GlueContext.ContentType type)
RootMapÀÌ ¾Æ´Ñ ContentType¿¡ ÇØ´ç ÇÏ´Â Map¿¡¼ ÇØ´ç keyÀÇ °ªÀ» ¾ò´Â´Ù.
|
<T> T |
getAndTryToCast(String key,
Class<T> valueClass,
GlueContext.ContentType type) |
GlueAuditAttributes |
getAuditAttributes()
Audit Ç׸ñÀ» ¾ò´Â´Ù.
|
GlueHashMap<String,Object> |
getDataAsMap(GlueContext.ContentType type) |
GlueContext.EventType |
getEventSourceType() |
Throwable |
getException()
Controller¿¡¼ ¹ß»ýÇÑ ExceptionÀ» Return
|
GlueMessage |
getMessage()
NonUIÀÇ TC 󸮸¦ À§ÇÑ Data ¸¦ Return
|
List<GlueMessage> |
getMessages()
NonUIÀÇ File TC 󸮸¦ À§ÇÑ Data ¸¦ Return
|
GlueMultipartRequest |
getMultiPartRequest() |
Object |
put(String key,
Object value,
GlueContext.ContentType type)
È®Àå´ë»ó..
|
void |
putAll(Map<? extends String,? extends Object> map,
GlueContext.ContentType type)
È®Àå´ë»ó..
|
void |
setAuditAttributes(GlueAuditAttributes auditAttribute)
Audit Ç׸ñÀ» ¼³Á¤ÇÑ´Ù.
|
void |
setException(Throwable ex)
Internal Use Only.
|
void |
setMessage(GlueMessage message)
NonUIÀÇ TC 󸮸¦ À§ÇÑ Data Set
|
void |
setMessages(List<GlueMessage> messages)
NonUIÀÇ File TC 󸮸¦ À§ÇÑ Data Set
|
void |
setMultiPartRequest(GlueMultipartRequest multipartRequest) |
String |
toString() |
getAndTryToCast, newGlueHashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode
finalize, getClass, notify, notifyAll, wait, wait, wait
get, getAndTryToCast, put, putAll, remove
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, values
public GlueDefaultContext()
public GlueDefaultContext(GlueContext.EventType eventSourceType)
eventSourceType
- public GlueContext.EventType getEventSourceType()
getEventSourceType
in interface GlueContext
public Object put(String key, Object value, GlueContext.ContentType type)
GlueContext
put
in interface GlueContext
public GlueHashMap<String,Object> getDataAsMap(GlueContext.ContentType type)
getDataAsMap
in interface GlueContext
public Object get(String key, GlueContext.ContentType type)
GlueContext
get
in interface GlueContext
public <T> T getAndTryToCast(String key, Class<T> valueClass, GlueContext.ContentType type)
getAndTryToCast
in interface GlueContext
public void putAll(Map<? extends String,? extends Object> map, GlueContext.ContentType type)
GlueContext
putAll
in interface GlueContext
public GlueAuditAttributes getAuditAttributes()
GlueAuditAttributeHolder
getAuditAttributes
in interface GlueAuditAttributeHolder
public void setAuditAttributes(GlueAuditAttributes auditAttribute)
GlueAuditAttributeHolder
setAuditAttributes
in interface GlueAuditAttributeHolder
auditAttribute
- Audit Ç׸ñpublic GlueMessage getMessage()
GlueContext
getMessage
in interface GlueContext
public void setMessage(GlueMessage message)
GlueContext
setMessage
in interface GlueContext
message
- NonUIÀÇ TC ó¸® Datapublic List<GlueMessage> getMessages()
GlueContext
getMessages
in interface GlueContext
public void setMessages(List<GlueMessage> messages)
GlueContext
setMessages
in interface GlueContext
messages
- NonUIÀÇ File TC ó¸® Datapublic Throwable getException()
GlueContext
getException
in interface GlueContext
public void setException(Throwable ex)
GlueContext
setException
in interface GlueContext
ex
- - BizController¿¡¼ Settingpublic void setMultiPartRequest(GlueMultipartRequest multipartRequest)
setMultiPartRequest
in interface GlueContext
public GlueMultipartRequest getMultiPartRequest()
getMultiPartRequest
in interface GlueContext
public String toString()
toString
in class AbstractMap<String,Object>
Copyright © 2013–2019 POSCO ICT. All rights reserved.