Class GlueFileSave
java.lang.Object
com.poscoict.glueframework.biz.activity.GlueActivity<GlueWebContext>
com.poscoict.glueframework.biz.activity.GlueFileSave
FileSave Activity. GlueFileSave Class는 서버에 Upload된 기존 File이 있는 경우 새로운 File이름(숫자를 추가)으로 저장하는 Class 이다.
 
 Activity Property
 - file-upload-path : (필수) File을 저장할 Directory Path.
 - is-real-path : (필수) 절대경로이면 true, 상대경로 이면 false.
          이항목은 정의하지 않으면 Default로 상대경로 적용
 - result-key : (선택) 새로 만들어진 File Name을 ArrayList로 저장함.
          파일 delimiter = "\\."사용하여 파일과 확장자 분리
          List <String> 형태의 data를 ctx에 담는 key.
 예제
 
 사용 예# 1
     <activity name="SaveFile" class="com.poscoict.glueframework.biz.activity.GlueFileSave">
         <transition name="success" value="end" />
         <property name="file-upload-path" value="files/upload" />
         <property name="is-real-path" value="false"/>
         <property name="result-key" value="NewFileNames" />
     </activity>
 - 
Field Summary
Fields inherited from class com.poscoict.glueframework.biz.activity.GlueActivity
dynamicProperties, logger - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionSub 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 
- 
Constructor Details
- 
GlueFileSave
public GlueFileSave() 
 - 
 - 
Method Details
- 
runActivity
Description copied from class:GlueActivitySub Class에서 반드시 구현하여야 하는 Abstract Method 이며 이 Method는 F/W에서 호출한다. 결과 값은 GlueContext에 담아서 다음 Activity 또는 F/W에 전달하게 된다. 필요한 모든 Data는 GlueContext에서 호출하여 사용하게 된다.예) <transition name="success" value="BizLogic"/> <transition name="failure" value="ErrorHandle"/> ==> return "success"이면 BizLogic Activity 를 실행함.- Specified by:
 runActivityin classGlueActivity<GlueWebContext>- Parameters:
 ctx- GlueContext- Returns:
 - String 정상적이면 "success"를 Return 하고 비정상 처리를 원하면 "failure"를 Return 한다.
 
 
 -