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ÀÌ´Ù.
Activity 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 < String > ÇüÅÂÀÇ data.
chk-name °ú µ¿½Ã »ç¿ë ºÒ°¡.
¿¹Á¦
»ç¿ë ¿¹# 1
- checkbox ¸¦ ÅëÇØ file nameÀÌ ³Ñ¾îÀü´ÞµÊ (Web).
»ç¿ë ¿¹# 2
- WebÀÌ ¾Æ´Ñ °æ¿ì.
Âü°í : HTML Code
Âü°í : Java Code(Custom)
List fileList = new ArrayList();
fileList.add("readme.txt");
fileList.add("readme-win.txt");
ctx.put("removeList", fileList);
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 |
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–2016 POSCO ICT. All rights reserved.