public void clicked(){ super(); BasisController ::main(); }
class BasisController extends SysOperationServiceController { protected void new () { super(); this.parmClassName(classStr(BasisService)); this.parmMethodName(methodStr(BasisService,processOperation)); this.parmDialogCaption(/cleanup/); this.parmExecutionMode(SysOperationExecutionMode::Asynchronous); } public static void main () { BasisController controller; controller = new BasisController(); controller.showBatchTab(true); controller.parmShowDialog(true); controller.parmDialogCaption(/Cleanup/); controller.startOperation(); }}
class BasisService extends SysOperationServiceBase{ public void processOperation() { info(strFmt(/Hello/)); }}