
public class GlueXPlatSave extends GlueActivity<GlueContext>
Activity Property - dao : applicationContext.xml의 DAO id - DataSet : XPlatform Bind에 사용할 DataSet ID - insert_sql : Insert에서 사용될 SQL Key - update_sql : Update에서 사용될 SQL Key - delete_sql : Delete에서 사용될 SQL Key - insert_bind : Insert에 바인딩 할 Prameter Name - update_bind : Update에 바인딩 할 Prameter Name - delete_bind : Delete에 바인딩 할 Prameter Name - result-key : Save 결과를 담을 Key Name result-key에 저장되는 값은 "updated : 3 inserted : 0 deleted : 3" 와 같이 수정된 내용의 String 값이다. 예제사용 예# 1
dynamicProperties, logger| Constructor and Description |
|---|
GlueXPlatSave() |
| Modifier and Type | Method and Description |
|---|---|
String |
runActivity(GlueContext ctx)
Sub Class에서 반드시 구현하여야 하는 Abstract Method 이며 이 Method는 F/W에서 호출한다.
|
commitTransaction, commitTransaction, getDao, getEventList, getName, getProperty, getPropertyNames, getTransition, rollbackTransaction, rollbackTransaction, setEventList, setName, setProperty, setTransitionpublic String runActivity(GlueContext ctx)
GlueActivityrunActivity in class GlueActivity<GlueContext>ctx - GlueContext예)==> return "success"이면 BizLogic Activity 를 실행함.
Copyright © 2013–2016 POSCO ICT. All rights reserved.