com.poscoict.glueframework.biz.activity
Class GlueTextMessageSend

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

public class GlueTextMessageSend
extends GlueActivity<GlueContext>

GlueTextMessageSend Activity. SMS ¼Û½ÅÀ» À§ÇÑ ÇÏ´Â ClassÀÌ´Ù. GlueSmsManager ±¸Çöü¸¦ ÇÊ¿ä·Î ÇÑ´Ù.

 Activity Property
 
 - sender : SMS ¼Û½Å Çϱâ À§ÇÑ ¹æ¹ýÀ» °áÁ¤ÇÔ. application.xml ÀÇ bean id.(Çʼö)
         ÇØ´ç beanÀº com.poscoict.glueframework.message.sms.GlueSmsManager¸¦ ±¸ÇöÇÑ Å¬·¡½º.
         ¿¹) ¡°sms-sender-1¡± 
 
 - message-key : ¼Û½ÅÇÒ ¸Þ½ÃÁö.(Çʼö)
          String, String[], List< String > ÇüÅÂ
 
 - receiver-number : ¹Þ´Â »ç¶÷ ÈÞ´ëÆù ¹øÈ£. (Çʼö)
          String, String[], List< String > ÇüÅÂ
         ¿¹)  ¡°010-123-4561¡±
 
 - receiver-name : ¹Þ´Â »ç¶÷ À̸§. 
          String, String[], List< String > ÇüÅÂ
         ¿¹)  ¡°À̼ø½Å¡±
 
 - sender-name : º¸³»´Â »ç¶÷ À̸§
 
 - sender-number : º¸³»´Â »ç¶÷ ÈÞ´ëÆù ¹øÈ£(Çʼö)
         ¿¹) ¡°010-123-4561¡±
 
 - reservation-time : Àü¼Û ¿¹¾à½Ã°£, ¾øÀ» °æ¿ì ÇöÀç½Ã°£À¸·Î µî·Ï µÊ. 
         ¿¹) ¡°00:01:00¡±
 
 - result-key : ¼Û½ÅÇÑ °ÇÀ» ¹ÝȯÇÒ context key °ª
 
 
 
 ¿¹Á¦
 »ç¿ë ¿¹# 1
 
     <activity name="SMSsend" class="com.poscoict.glueframework.biz.activity.GlueTextMessageSend">
         <property name="sender" value="sms-sender-1"/>
         <property name="message-key" value="message_content"/>
         <property name="receiver-number" value="receiver_phone"/>
         <property name="receiver-name" value="receiver_name"/>
         <property name="sender-number" value="sender_phone"/>
         <property name="sender-name" value="sender_name"/>
         <property name="reservation-time" value="reservation_time"/>
         <property name="result-key" value="resultCnt"/>
         <transition name="success" value="end"/>
     </activity>
 


Field Summary
 
Fields inherited from class com.poscoict.glueframework.biz.activity.GlueActivity
dynamicProperties, logger
 
Constructor Summary
GlueTextMessageSend()
           
 
Method Summary
 String runActivity(GlueContext ctx)
          Sub Class¿¡¼­ ¹Ýµå½Ã ±¸ÇöÇÏ¿©¾ß ÇÏ´Â Abstract Method À̸ç ÀÌ Method´Â F/W¿¡¼­ È£ÃâÇÑ´Ù.
 
Methods inherited from class com.poscoict.glueframework.biz.activity.GlueActivity
commitTransaction, commitTransaction, getDao, getEventList, getName, getProperty, getPropertyNames, getTransition, rollbackTransaction, 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

GlueTextMessageSend

public GlueTextMessageSend()
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–2018 POSCO ICT. All rights reserved.