Subversion Repository Public Repository

litesoft

Diff Revisions 49 vs 60 for /trunk/Java/core/jvm1.5/src/org/litesoft/ui_1_5/ServicePeerToFormDataCollector.java

Diff revisions: vs.
  @@ -1,9 +1,9 @@
1 1 // This Source Code is in the Public Domain per: http://litesoft.org/License.txt
2 2 package org.litesoft.ui_1_5;
3 3
4 + import java.io.*;
4 5 import java.util.*;
5 6
6 - import org.litesoft.rpcpassable.*;
7 7 import org.litesoft.ui.def.nonpublic.support.*;
8 8 import org.litesoft.util.*;
9 9
  @@ -16,7 +16,7 @@
16 16 private String mRootObjectKey;
17 17 private boolean mCloseRequested = false;
18 18 private String mSuccessfulTriggeringActionID = null;
19 - private RPCpassable mServicePeerXtra = null;
19 + private Serializable mServicePeerXtra = null;
20 20 private List<ActionUpdateFormData> mActionUpdates = new ArrayList<ActionUpdateFormData>();
21 21 private List<String> mFormErrors = new ArrayList<String>();
22 22 private List<String> mFormWarnings = new ArrayList<String>();
  @@ -120,12 +120,12 @@
120 120 mSuccessfulTriggeringActionID = Utils.noEmpty( pSuccessfulTriggeringActionID );
121 121 }
122 122
123 - public RPCpassable getServicePeerXtra()
123 + public Serializable getServicePeerXtra()
124 124 {
125 125 return mServicePeerXtra;
126 126 }
127 127
128 - public void setServicePeerXtra( RPCpassable pServicePeerXtra )
128 + public void setServicePeerXtra( Serializable pServicePeerXtra )
129 129 {
130 130 mServicePeerXtra = pServicePeerXtra;
131 131 }
  @@ -223,13 +223,21 @@
223 223 return mRelSubFormRowKeysList.toArray( new RelSubFormRowKeys[mRelSubFormRowKeysList.size()] );
224 224 }
225 225
226 - public void addPopup( FormPopupMessage popup ) {
227 - if( mPopups == null ) mPopups = new ArrayList<FormPopupMessage>();
226 + public void addPopup( FormPopupMessage popup )
227 + {
228 + if ( mPopups == null )
229 + {
230 + mPopups = new ArrayList<FormPopupMessage>();
231 + }
228 232 mPopups.add( popup );
229 233 }
230 234
231 - public FormPopupMessage[] getPopups() {
232 - if( mPopups == null ) return new FormPopupMessage[0];
233 - return mPopups.toArray(new FormPopupMessage[mPopups.size()]);
235 + public FormPopupMessage[] getPopups()
236 + {
237 + if ( mPopups == null )
238 + {
239 + return new FormPopupMessage[0];
240 + }
241 + return mPopups.toArray( new FormPopupMessage[mPopups.size()] );
234 242 }
235 243 }