Rev | Line | |
---|
[1227] | 1 | /* InitLogAreaDelegate.as */
|
---|
| 2 |
|
---|
| 3 | package gov.va.med.edp.business
|
---|
| 4 | {
|
---|
| 5 | import com.adobe.cairngorm.business.ServiceLocator;
|
---|
| 6 |
|
---|
| 7 | import gov.va.med.edp.vo.LogEntryVO;
|
---|
| 8 |
|
---|
| 9 | import mx.rpc.AsyncToken;
|
---|
| 10 | import mx.rpc.IResponder;
|
---|
| 11 |
|
---|
| 12 | public class InitLogAreaDelegate extends ResponderChainingDelegate
|
---|
| 13 | {
|
---|
| 14 |
|
---|
| 15 | public function InitLogAreaDelegate(responder:IResponder)
|
---|
| 16 | {
|
---|
| 17 | super(responder, "initLogArea" );
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | public function initLogArea(area: int, logEntry: LogEntryVO):void
|
---|
| 21 | {
|
---|
| 22 | var params:Object = new Object();
|
---|
| 23 | params.area = area;
|
---|
| 24 |
|
---|
| 25 | if ((logEntry != null) && (logEntry.id > 0)) {
|
---|
| 26 | params.logEntry = logEntry.toString();
|
---|
| 27 | }
|
---|
| 28 |
|
---|
| 29 | send(params);
|
---|
| 30 | }
|
---|
| 31 | }
|
---|
| 32 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.