com.poscoict.glueframework.biz.activity
Class GlueMessageCreate

java.lang.Object
  extended by com.poscoict.glueframework.biz.activity.GlueActivity<GlueContext>
      extended by com.poscoict.glueframework.biz.activity.GlueMessageCreate

public class GlueMessageCreate
extends GlueActivity<GlueContext>

MessageCreate Activity. GlueMessageCreate Activity´Â GlueMessage °´Ã¼¸¦ LayoutÀ¸·Î CreateÇÏ¿© »ý¼ºµÈ TC(String)À» Map¿¡ ÀúÀåÇÑ´Ù.

 »ç¿ë ¿¹
 <activity name="CreateMessage" class="com.poscoict.glueframework.biz.activity.GlueMessageCreate">
     <transition name="success" value="PrintResult" />
     <property name="result-key" value="tcList1" />
     <property name="layout" value="layout" />
     <property name="message-key" value="message1" />
 </activity>
 
 
 
 Property ¼³Á¤
 - layout : (Çʼö)applicationContext.xmlÀÇ layout manager bean id.
      <bean id="layout" class="com.poscoict.glueframework.message.layout.GlueXmlMessageLayout"/>
      ¶Ç´Â
      <bean id="layout" class="com.poscoict.glueframework.message.layout.GlueDBMessageLayout">
          <property name="dao" ref="masterdao"/>
          <property name="queryId" value="get_msg_layout_query"/>
      </bean>
 
 - result-key : (Çʼö)Context¿¡ MapÇüÅ·Π°á°ú¸¦ ´ãÀ» Key. 
      Data±¸Á¶´Â Map<String, List<String>>.
      Áï, Map¿¡´Â ArrayList°¡ ´ã°Ü ÀÖ°í ±× Key°ªÀº TCIDÀÌ´Ù. 
      ÇϳªÀÇ °á°ú ¶Ç´Â °°Àº Á¾·ùÀÇ ¿©·¯°³ÀÇ °á°ú°¡ ArrayList·Î ÀúÀåµÊ.
 
 - message-key : (Çʼö)TC¸¦ »ý¼ºÇÒ GlueMessage °´Ã¼
      messag-key¿¡ ´ã±æ ¼ö ÀÖ´Â Data TypeÀº ´ÙÀ½°ú °°´Ù.
          GlueMessage
          GlueMessage []
          List<GlueMessage> : GlueMessage°¡ ´ã°Ü ÀÖ¾î¾ß ÇÑ´Ù.
 
 


Field Summary
 
Fields inherited from class com.poscoict.glueframework.biz.activity.GlueActivity
dynamicProperties, logger
 
Constructor Summary
GlueMessageCreate()
           
 
Method Summary
 String runActivity(GlueContext ctx)
          Sub Class¿¡¼­ ¹Ýµå½Ã ±¸ÇöÇÏ¿©¾ß ÇÏ´Â Abstract Method À̸ç ÀÌ Method´Â F/W¿¡¼­ È£ÃâÇÑ´Ù.
 
Methods inherited from class com.poscoict.glueframework.biz.activity.GlueActivity
commitTransaction, getDao, getEventList, getName, getProperty, getPropertyNames, getTransition, rollbackTransaction, setEventList, setName, setProperty, setTransition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlueMessageCreate

public GlueMessageCreate()
Method Detail

runActivity

public String runActivity(GlueContext ctx)
Description copied from class: GlueActivity
Sub Class¿¡¼­ ¹Ýµå½Ã ±¸ÇöÇÏ¿©¾ß ÇÏ´Â Abstract Method À̸ç ÀÌ Method´Â F/W¿¡¼­ È£ÃâÇÑ´Ù. °á°ú °ªÀº GlueContext¿¡ ´ã¾Æ¼­ ´ÙÀ½ Activity ¶Ç´Â F/W¿¡ Àü´ÞÇÏ°Ô µÈ´Ù. ÇÊ¿äÇÑ ¸ðµç Data´Â GlueContext¿¡¼­ È£ÃâÇÏ¿© »ç¿ëÇÏ°Ô µÈ´Ù.

Specified by:
runActivity in class GlueActivity<GlueContext>
Parameters:
ctx - GlueContext
Returns:
String Á¤»óÀûÀ̸é "success"¸¦ Return ÇÏ°í ºñÁ¤»ó 󸮸¦ ¿øÇϸé "failure"¸¦ Return ÇÑ´Ù.
 ¿¹) 
 <transition name="success" value="BizLogic"/>
 <transition name="failure" value="ErrorHandle"/>
 ==> return "success"À̸é BizLogic Activity ¸¦ ½ÇÇàÇÔ.
 


Copyright © 2013–2014 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.