com.poscoict.glueframework.context
Interface GlueContext

All Superinterfaces:
GlueAuditAttributeHolder, Map<String,Object>
All Known Implementing Classes:
GlueDefaultContext, GluePortletContext, GlueWebContext

public interface GlueContext
extends Map<String,Object>, GlueAuditAttributeHolder

¸ðµç Layout¿¡¼­ °øÅëÀ¸·Î Data ¸¦ ÀúÀåÇÏ°í Á¶È¸ ÇÏ´Â ClassÀÌ´Ù.


Nested Class Summary
static interface GlueContext.ContentType
           
static class GlueContext.EventType
           
static class GlueContext.PortletContentType
          GluePortletContextÀÇ ContentType Á¤ÀÇ
static class GlueContext.WebContentType
          GlueWebContextÀÇ ContentType Á¤ÀÇ
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 Object get(Object key)
           
 Object get(String key, GlueContext.ContentType type)
          RootMapÀÌ ¾Æ´Ñ ContentType¿¡ ÇØ´ç ÇÏ´Â Map¿¡¼­ ÇØ´ç keyÀÇ °ªÀ» ¾ò´Â´Ù.
<T> T
getAndTryToCast(String key, Class<T> valueClass)
           
<T> T
getAndTryToCast(String key, Class<T> valueClass, GlueContext.ContentType type)
           
 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ÀÇ Root Map¿¡ Data¸¦ Set
 Object put(String key, Object value, GlueContext.ContentType type)
          È®Àå´ë»ó..
 void putAll(Map<? extends String,? extends Object> map)
           
 void putAll(Map<? extends String,? extends Object> map, GlueContext.ContentType type)
          È®Àå´ë»ó..
 Object remove(Object key)
           
 void setException(Throwable throwable)
          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)
           
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from interface com.poscoict.glueframework.dao.GlueAuditAttributeHolder
getAuditAttributes, setAuditAttributes
 

Method Detail

get

Object get(Object key)
Specified by:
get in interface Map<String,Object>

getDataAsMap

GlueHashMap<String,Object> getDataAsMap(GlueContext.ContentType type)

get

Object get(String key,
           GlueContext.ContentType type)
RootMapÀÌ ¾Æ´Ñ ContentType¿¡ ÇØ´ç ÇÏ´Â Map¿¡¼­ ÇØ´ç keyÀÇ °ªÀ» ¾ò´Â´Ù.

Parameters:
key -
type -
Returns:
Object

getAndTryToCast

<T> T getAndTryToCast(String key,
                      Class<T> valueClass)
Parameters:
key -
valueClass -
Returns:

getAndTryToCast

<T> T getAndTryToCast(String key,
                      Class<T> valueClass,
                      GlueContext.ContentType type)
Parameters:
key -
valueClass -
type -
Returns:

put

Object put(String key,
           Object value)
GlueContextÀÇ Root Map¿¡ Data¸¦ Set

Specified by:
put in interface Map<String,Object>
Parameters:
key - Object key
value - Object value
See Also:
Map.put(java.lang.Object, java.lang.Object)

put

Object put(String key,
           Object value,
           GlueContext.ContentType type)
È®Àå´ë»ó..

Parameters:
key -
value -
type -
Returns:
Object

putAll

void putAll(Map<? extends String,? extends Object> map)
Specified by:
putAll in interface Map<String,Object>

putAll

void putAll(Map<? extends String,? extends Object> map,
            GlueContext.ContentType type)
È®Àå´ë»ó..

Parameters:
map -
type -

getEventSourceType

GlueContext.EventType getEventSourceType()
Returns:
DEFAULT, WEB_BROWSER, EAI_SERVER, EDGE_SERVER

getMessage

GlueMessage getMessage()
NonUIÀÇ TC 󸮸¦ À§ÇÑ Data ¸¦ Return

Returns:
GlueMessage NonUIÀÇ TC ó¸® Data

setMessage

void setMessage(GlueMessage message)
NonUIÀÇ TC 󸮸¦ À§ÇÑ Data Set

Parameters:
message - NonUIÀÇ TC ó¸® Data

getMessages

List<GlueMessage> getMessages()
NonUIÀÇ File TC 󸮸¦ À§ÇÑ Data ¸¦ Return

Returns:
GlueMessage[] NonUIÀÇ File TC ó¸® Data

setMessages

void setMessages(List<GlueMessage> messages)
NonUIÀÇ File TC 󸮸¦ À§ÇÑ Data Set

Parameters:
messages - NonUIÀÇ File TC ó¸® Data

setMultiPartRequest

void setMultiPartRequest(GlueMultipartRequest multipartRequest)

getMultiPartRequest

GlueMultipartRequest getMultiPartRequest()

remove

Object remove(Object key)
Specified by:
remove in interface Map<String,Object>

getException

Throwable getException()
Controller¿¡¼­ ¹ß»ýÇÑ ExceptionÀ» Return

Returns:
Throwable Tag showMessage ¿¡¼­ »ç¿ëÇÒ Exception Data

setException

void setException(Throwable throwable)
Internal Use Only. Activity¿¡¼­ failure¸¦ Á¤ÀÇ ÇÏÁö ¾Ê¾Ò°í Controller°¡ ºñÁ¤»ó Á¾·á½Ã ¹ß»ýÇÑ Exception

Parameters:
throwable - - BizController¿¡¼­ Setting


Copyright © 2013–2018 POSCO ICT. All rights reserved.