com.poscoict.glueframework.biz.activity
Class GlueFileDelete
java.lang.Object
com.poscoict.glueframework.biz.activity.GlueActivity<GlueContext>
com.poscoict.glueframework.biz.activity.GlueFileDelete
public class GlueFileDelete
- extends GlueActivity<GlueContext>
FileDelete Activity. GlueFileDelete Class´Â Upload µÈ FileÀ» »èÁ¦ ÇÏ´Â ClassÀÌ´Ù.
»ç¿ë ¿¹
==> ȸ鿡¼ ¾Æ·¡¿Í °°ÀÌ File ¸ñ·ÏÀÌ µÇ¾î ÀÖ´Ù¸é,
property "chk-name"´Â "removechk"°¡ µÇ°í »ç¿ëÀÚ°¡ CheckÇÑ FileÀÌ »èÁ¦µÈ´Ù.
Check BoxÀÇ value¿¡´Â File NameÀÌ ÀÖ¾î¾ß ÇÑ´Ù.
Property ¼³Á¤
- file-upload-path : FileÀÌ ÀúÀåµÈ Directory Path. (Çʼö)
- is-real-path : true/false. Àý´ë°æ·ÎÀÎÁö
- chk-name : File ¸ñ·ÏÀ» ÀúÀåÇÒ Key°ª (ȸ鿡¼ ÀÌ Key·Î ¸ñ·ÏÀ» °¡Á®¿È), String[] ÇüÅÂÀÇ data
list-key ¿Í µ¿½Ã »ç¿ë ºÒ°¡.
- list-key : File ¸ñ·ÏÀ» ÀúÀåÇÒ Key°ª (È¸é ¿Ü¿¡¼ »ý¼ºÇÔ), List ÇüÅÂÀÇ data
chk-name °ú µ¿½Ã »ç¿ë ºÒ°¡.
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 |
GlueFileDelete
public GlueFileDelete()
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 ÇÑ´Ù.
¿¹)
==> return "success"À̸é BizLogic Activity ¸¦ ½ÇÇàÇÔ.
Copyright © 2013–2014 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.