
public class GlueFileSave extends GlueActivity<GlueWebContext>
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
dynamicProperties, logger| Constructor and Description |
|---|
GlueFileSave() |
| Modifier and Type | Method and Description |
|---|---|
String |
runActivity(GlueWebContext ctx)
Sub Class에서 반드시 구현하여야 하는 Abstract Method 이며 이 Method는 F/W에서 호출한다.
|
commitTransaction, commitTransaction, getDao, getEventList, getName, getProperty, getPropertyNames, getTransition, rollbackTransaction, rollbackTransaction, setEventList, setName, setProperty, setTransitionpublic String runActivity(GlueWebContext ctx)
GlueActivityrunActivity in class GlueActivity<GlueWebContext>ctx - GlueContext예)==> return "success"이면 BizLogic Activity 를 실행함.
Copyright © 2013–2021 POSCO ICT. All rights reserved.