incubator-isis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danhayw...@apache.org
Subject svn commit: r1098939 [4/11] - in /incubator/isis/trunk/runtimes/dflt: profilestores/dflt/src/main/java/org/apache/isis/runtimes/dflt/profilestores/dflt/ profilestores/xml/src/main/java/org/apache/isis/runtimes/dflt/profilestores/xml/ profilestores/xml/...
Date Tue, 03 May 2011 06:33:49 GMT
Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/data/query/PersistenceQueryFindUsingApplibQuerySerializableData.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/data/query/PersistenceQueryFindUsingApplibQuerySerializableData.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/data/query/PersistenceQueryFindUsingApplibQuerySerializableData.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/data/query/PersistenceQueryFindUsingApplibQuerySerializableData.java Tue May  3 06:33:43 2011
@@ -17,7 +17,6 @@
  *  under the License.
  */
 
-
 package org.apache.isis.runtimes.dflt.remoting.common.data.query;
 
 import java.io.Serializable;
@@ -31,30 +30,29 @@ import org.apache.isis.runtimes.dflt.run
  * Serializable representation of {@link PersistenceQueryFindUsingApplibQuerySerializable}.
  */
 public class PersistenceQueryFindUsingApplibQuerySerializableData extends PersistenceQueryDataAbstract {
-	
+
     private static final long serialVersionUID = 1L;
     private final Serializable querySerializable;
-	private final QueryCardinality cardinality;
-	
-    public PersistenceQueryFindUsingApplibQuerySerializableData(
-    		final ObjectSpecification noSpec, 
-    		final Query applibQuery, QueryCardinality cardinality) {
+    private final QueryCardinality cardinality;
+
+    public PersistenceQueryFindUsingApplibQuerySerializableData(final ObjectSpecification noSpec,
+        final Query applibQuery, final QueryCardinality cardinality) {
         super(noSpec);
         querySerializable = applibQuery;
         this.cardinality = cardinality;
     }
 
+    @Override
     public Class<?> getPersistenceQueryClass() {
         return PersistenceQueryFindUsingApplibQuerySerializable.class;
     }
 
     public Serializable getApplibQuerySerializable() {
-		return querySerializable;
-	}
+        return querySerializable;
+    }
 
-	public QueryCardinality getCardinality() {
-		return cardinality;
-	}
+    public QueryCardinality getCardinality() {
+        return cardinality;
+    }
 
 }
-

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/AuthorizationRequestAbstract.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/AuthorizationRequestAbstract.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/AuthorizationRequestAbstract.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/AuthorizationRequestAbstract.java Tue May  3 06:33:43 2011
@@ -17,71 +17,68 @@
  *  under the License.
  */
 
+package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
-package org.apache.isis.runtimes.dflt.remoting.common.exchange;
-
 import java.io.IOException;
 
-import org.apache.isis.runtimes.dflt.remoting.common.data.common.IdentityData;
 import org.apache.isis.core.commons.authentication.AuthenticationSession;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
-
-public abstract class AuthorizationRequestAbstract extends RequestAbstract {
-    
-    private final String dataStr;
-    private final IdentityData targetData;
-
-    public AuthorizationRequestAbstract(final AuthenticationSession session, IdentityData targetData, final String data) {
-        super(session);
-        this.targetData = targetData;
-        this.dataStr = data;
-        initialized();
-    }
-    
-    public AuthorizationRequestAbstract(final DataInputExtended input) throws IOException {
-    	super(input);
-    	this.targetData = input.readEncodable(IdentityData.class);
-    	this.dataStr = input.readUTF();
-    	initialized();
-    }
-
-    @Override
-    public void encode(DataOutputExtended output)
-    		throws IOException {
-    	super.encode(output);
-    	output.writeEncodable(targetData);
-    	output.writeUTF(dataStr);
-    }
-
-	private void initialized() {
-		// nothing to do
-	}
-
-    /////////////////////////////////////////////////////////
-    // request
-    /////////////////////////////////////////////////////////
-
-	public IdentityData getTarget() {
-		return targetData;
-	}
-	
-	public String getIdentifier() {
-		return dataStr;
-	}
-
-    /////////////////////////////////////////////////////////
-    // execute, response
-    /////////////////////////////////////////////////////////
-
-    
-    /**
-     * Downcasts.
-     */
-    @Override
-    public AuthorizationResponse getResponse() {
-        return (AuthorizationResponse) super.getResponse();
-    }
-    
-    
-}
+import org.apache.isis.runtimes.dflt.remoting.common.data.common.IdentityData;
+
+public abstract class AuthorizationRequestAbstract extends RequestAbstract {
+
+    private final String dataStr;
+    private final IdentityData targetData;
+
+    public AuthorizationRequestAbstract(final AuthenticationSession session, final IdentityData targetData,
+        final String data) {
+        super(session);
+        this.targetData = targetData;
+        this.dataStr = data;
+        initialized();
+    }
+
+    public AuthorizationRequestAbstract(final DataInputExtended input) throws IOException {
+        super(input);
+        this.targetData = input.readEncodable(IdentityData.class);
+        this.dataStr = input.readUTF();
+        initialized();
+    }
+
+    @Override
+    public void encode(final DataOutputExtended output) throws IOException {
+        super.encode(output);
+        output.writeEncodable(targetData);
+        output.writeUTF(dataStr);
+    }
+
+    private void initialized() {
+        // nothing to do
+    }
+
+    // ///////////////////////////////////////////////////////
+    // request
+    // ///////////////////////////////////////////////////////
+
+    public IdentityData getTarget() {
+        return targetData;
+    }
+
+    public String getIdentifier() {
+        return dataStr;
+    }
+
+    // ///////////////////////////////////////////////////////
+    // execute, response
+    // ///////////////////////////////////////////////////////
+
+    /**
+     * Downcasts.
+     */
+    @Override
+    public AuthorizationResponse getResponse() {
+        return (AuthorizationResponse) super.getResponse();
+    }
+
+}

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/AuthorizationRequestUsability.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/AuthorizationRequestUsability.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/AuthorizationRequestUsability.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/AuthorizationRequestUsability.java Tue May  3 06:33:43 2011
@@ -17,42 +17,41 @@
  *  under the License.
  */
 
+package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
-package org.apache.isis.runtimes.dflt.remoting.common.exchange;
-
 import java.io.IOException;
 
-import org.apache.isis.runtimes.dflt.remoting.common.data.common.IdentityData;
-import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 import org.apache.isis.core.commons.authentication.AuthenticationSession;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
-
-public class AuthorizationRequestUsability extends AuthorizationRequestAbstract {
-    private static final long serialVersionUID = 1L;
-    
-    public AuthorizationRequestUsability(
-    		final AuthenticationSession session, IdentityData targetData, final String dataStr) {
-        super(session, targetData, dataStr);
-        initialized();
-    }
-    
-    public AuthorizationRequestUsability(final DataInputExtended input) throws IOException {
-    	super(input);
-    	initialized();
-    }
-
-	private void initialized() {
-		// nothing to do
-	}
-
-    /////////////////////////////////////////////////////////
-    // execute, response
-    /////////////////////////////////////////////////////////
-
-    public void execute(final ServerFacade serverFacade) {
-        AuthorizationResponse response = serverFacade.authorizeUsability(this);
-		setResponse(response);
-    }
-    
-    
-}
+import org.apache.isis.runtimes.dflt.remoting.common.data.common.IdentityData;
+import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
+
+public class AuthorizationRequestUsability extends AuthorizationRequestAbstract {
+    private static final long serialVersionUID = 1L;
+
+    public AuthorizationRequestUsability(final AuthenticationSession session, final IdentityData targetData,
+        final String dataStr) {
+        super(session, targetData, dataStr);
+        initialized();
+    }
+
+    public AuthorizationRequestUsability(final DataInputExtended input) throws IOException {
+        super(input);
+        initialized();
+    }
+
+    private void initialized() {
+        // nothing to do
+    }
+
+    // ///////////////////////////////////////////////////////
+    // execute, response
+    // ///////////////////////////////////////////////////////
+
+    @Override
+    public void execute(final ServerFacade serverFacade) {
+        final AuthorizationResponse response = serverFacade.authorizeUsability(this);
+        setResponse(response);
+    }
+
+}

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/AuthorizationRequestVisibility.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/AuthorizationRequestVisibility.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/AuthorizationRequestVisibility.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/AuthorizationRequestVisibility.java Tue May  3 06:33:43 2011
@@ -17,45 +17,44 @@
  *  under the License.
  */
 
+package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
-package org.apache.isis.runtimes.dflt.remoting.common.exchange;
-
 import java.io.IOException;
 
-import org.apache.isis.runtimes.dflt.remoting.common.data.common.IdentityData;
-import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 import org.apache.isis.core.commons.authentication.AuthenticationSession;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
-
-public class AuthorizationRequestVisibility extends AuthorizationRequestAbstract {
-    private static final long serialVersionUID = 1L;
-
-    public AuthorizationRequestVisibility(final AuthenticationSession session, IdentityData targetData, final String data) {
-        super(session, targetData, data);
-        initialized();
-    }
-    
-    public AuthorizationRequestVisibility(DataInputExtended input) throws IOException {
-    	super(input);
-    	initialized();
-    }
-
-	private void initialized() {
-		// nothing to do
-	}
-
-    /////////////////////////////////////////////////////////
-    // execute, resonse
-    /////////////////////////////////////////////////////////
-
-
-	/**
-	 * {@link #setResponse(Object) Sets a response} of an {@link AuthorizationResponse}.
-	 */
-    public void execute(final ServerFacade serverFacade) {
-        AuthorizationResponse response = serverFacade.authorizeVisibility(this);
-		setResponse(response);
-    }
-
-
-}
+import org.apache.isis.runtimes.dflt.remoting.common.data.common.IdentityData;
+import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
+
+public class AuthorizationRequestVisibility extends AuthorizationRequestAbstract {
+    private static final long serialVersionUID = 1L;
+
+    public AuthorizationRequestVisibility(final AuthenticationSession session, final IdentityData targetData,
+        final String data) {
+        super(session, targetData, data);
+        initialized();
+    }
+
+    public AuthorizationRequestVisibility(final DataInputExtended input) throws IOException {
+        super(input);
+        initialized();
+    }
+
+    private void initialized() {
+        // nothing to do
+    }
+
+    // ///////////////////////////////////////////////////////
+    // execute, resonse
+    // ///////////////////////////////////////////////////////
+
+    /**
+     * {@link #setResponse(Object) Sets a response} of an {@link AuthorizationResponse}.
+     */
+    @Override
+    public void execute(final ServerFacade serverFacade) {
+        final AuthorizationResponse response = serverFacade.authorizeVisibility(this);
+        setResponse(response);
+    }
+
+}

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/AuthorizationResponse.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/AuthorizationResponse.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/AuthorizationResponse.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/AuthorizationResponse.java Tue May  3 06:33:43 2011
@@ -17,47 +17,46 @@
  *  under the License.
  */
 
+package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
-package org.apache.isis.runtimes.dflt.remoting.common.exchange;
-
 import java.io.IOException;
 import java.io.Serializable;
 
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
 import org.apache.isis.core.commons.encoding.Encodable;
-
-public class AuthorizationResponse implements Encodable, Serializable {
-
-	private static final long serialVersionUID = 1L;
-	
-	private boolean authorized;
-	
-	public AuthorizationResponse(boolean authorized) {
-		this.authorized = authorized;
-		instantiated();
-	}
-
-	public AuthorizationResponse(DataInputExtended input) throws IOException {
-		this.authorized = input.readBoolean();
-		instantiated();
-	}
-
-	public void encode(DataOutputExtended output) throws IOException {
-		output.writeBoolean(authorized);
-	}
-
-	private void instantiated() {
-		// nothing to do
-	}
-
-	
-	///////////////////////////////////////////
-	//
-	///////////////////////////////////////////
-	
-	public Boolean isAuthorized() {
-		return authorized;
-	}
-	
-}
+
+public class AuthorizationResponse implements Encodable, Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    private final boolean authorized;
+
+    public AuthorizationResponse(final boolean authorized) {
+        this.authorized = authorized;
+        instantiated();
+    }
+
+    public AuthorizationResponse(final DataInputExtended input) throws IOException {
+        this.authorized = input.readBoolean();
+        instantiated();
+    }
+
+    @Override
+    public void encode(final DataOutputExtended output) throws IOException {
+        output.writeBoolean(authorized);
+    }
+
+    private void instantiated() {
+        // nothing to do
+    }
+
+    // /////////////////////////////////////////
+    //
+    // /////////////////////////////////////////
+
+    public Boolean isAuthorized() {
+        return authorized;
+    }
+
+}

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ClearAssociationRequest.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ClearAssociationRequest.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ClearAssociationRequest.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ClearAssociationRequest.java Tue May  3 06:33:43 2011
@@ -17,33 +17,32 @@
  *  under the License.
  */
 
-
 package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
 import java.io.IOException;
 
-import org.apache.isis.runtimes.dflt.remoting.common.data.common.IdentityData;
-import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 import org.apache.isis.core.commons.authentication.AuthenticationSession;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
+import org.apache.isis.runtimes.dflt.remoting.common.data.common.IdentityData;
+import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 
 /**
- * REVIEW: should we split? the OTMA will need to specify the associate to remove, but the OTOA should not need to provide the associate to clear.
- * @param request TODO
+ * REVIEW: should we split? the OTMA will need to specify the associate to remove, but the OTOA should not need to
+ * provide the associate to clear.
+ * 
+ * @param request
+ *            TODO
  */
 public class ClearAssociationRequest extends RequestAbstract {
-	
+
     private static final long serialVersionUID = 1L;
     private final String fieldIdentifier;
     private final IdentityData target;
     private final IdentityData associate;
 
-    public ClearAssociationRequest(
-            final AuthenticationSession session,
-            final String fieldIdentifier,
-            final IdentityData target,
-            final IdentityData associate) {
+    public ClearAssociationRequest(final AuthenticationSession session, final String fieldIdentifier,
+        final IdentityData target, final IdentityData associate) {
         super(session);
         this.fieldIdentifier = fieldIdentifier;
         this.target = target;
@@ -60,44 +59,44 @@ public class ClearAssociationRequest ext
     }
 
     @Override
-    public void encode(DataOutputExtended output)
-    		throws IOException {
-    	super.encode(output);
+    public void encode(final DataOutputExtended output) throws IOException {
+        super.encode(output);
         output.writeUTF(fieldIdentifier);
         output.writeEncodable(target);
         output.writeEncodable(associate);
     }
 
-	private void initialized() {
-		// nothing to do
-	}
+    private void initialized() {
+        // nothing to do
+    }
 
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
     // request data
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
+
+    public String getFieldIdentifier() {
+        return fieldIdentifier;
+    }
 
-	public String getFieldIdentifier() {
-		return fieldIdentifier;
-	}
-	
-	public IdentityData getTarget() {
-		return target;
-	}
-	
-	public IdentityData getAssociate() {
-		return associate;
-	}
-	
-    /////////////////////////////////////////////////////////
+    public IdentityData getTarget() {
+        return target;
+    }
+
+    public IdentityData getAssociate() {
+        return associate;
+    }
+
+    // ///////////////////////////////////////////////////////
     // execute, response
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
 
-	/**
-	 * {@link #setResponse(Object) Sets a response} of a {@link ClearAssociationResponse}.
-	 */
+    /**
+     * {@link #setResponse(Object) Sets a response} of a {@link ClearAssociationResponse}.
+     */
+    @Override
     public void execute(final ServerFacade serverFacade) {
-        ClearAssociationResponse response = serverFacade.clearAssociation(this);
-		setResponse(response);
+        final ClearAssociationResponse response = serverFacade.clearAssociation(this);
+        setResponse(response);
     }
 
     /**
@@ -107,5 +106,5 @@ public class ClearAssociationRequest ext
     public ClearAssociationResponse getResponse() {
         return (ClearAssociationResponse) super.getResponse();
     }
-    
+
 }

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ClearAssociationResponse.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ClearAssociationResponse.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ClearAssociationResponse.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ClearAssociationResponse.java Tue May  3 06:33:43 2011
@@ -17,48 +17,47 @@
  *  under the License.
  */
 
+package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
-package org.apache.isis.runtimes.dflt.remoting.common.exchange;
-
 import java.io.IOException;
 import java.io.Serializable;
 
-import org.apache.isis.runtimes.dflt.remoting.common.data.common.ObjectData;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
 import org.apache.isis.core.commons.encoding.Encodable;
-
-public class ClearAssociationResponse implements Encodable, Serializable {
-
-	private static final long serialVersionUID = 1L;
-	
-	private final ObjectData[] updates;
-	
-	public ClearAssociationResponse(ObjectData[] updates) {
-		this.updates = updates;
-		instantiated();
-	}
-
-	public ClearAssociationResponse(DataInputExtended input) throws IOException {
-		this.updates = input.readEncodables(ObjectData.class);
-		instantiated();
-	}
-
-	public void encode(DataOutputExtended output) throws IOException {
-		output.writeEncodables(updates);
-	}
-
-	private void instantiated() {
-		// nothing to do
-	}
-
-	
-	///////////////////////////////////////////
-	//
-	///////////////////////////////////////////
-
-	public ObjectData[] getUpdates() {
-		return updates;
-	}
-	
-}
+import org.apache.isis.runtimes.dflt.remoting.common.data.common.ObjectData;
+
+public class ClearAssociationResponse implements Encodable, Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    private final ObjectData[] updates;
+
+    public ClearAssociationResponse(final ObjectData[] updates) {
+        this.updates = updates;
+        instantiated();
+    }
+
+    public ClearAssociationResponse(final DataInputExtended input) throws IOException {
+        this.updates = input.readEncodables(ObjectData.class);
+        instantiated();
+    }
+
+    @Override
+    public void encode(final DataOutputExtended output) throws IOException {
+        output.writeEncodables(updates);
+    }
+
+    private void instantiated() {
+        // nothing to do
+    }
+
+    // /////////////////////////////////////////
+    //
+    // /////////////////////////////////////////
+
+    public ObjectData[] getUpdates() {
+        return updates;
+    }
+
+}

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ClearValueRequest.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ClearValueRequest.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ClearValueRequest.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ClearValueRequest.java Tue May  3 06:33:43 2011
@@ -17,24 +17,24 @@
  *  under the License.
  */
 
-
 package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
 import java.io.IOException;
 
-import org.apache.isis.runtimes.dflt.remoting.common.data.common.IdentityData;
-import org.apache.isis.runtimes.dflt.remoting.common.data.common.ObjectData;
-import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 import org.apache.isis.core.commons.authentication.AuthenticationSession;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
+import org.apache.isis.runtimes.dflt.remoting.common.data.common.IdentityData;
+import org.apache.isis.runtimes.dflt.remoting.common.data.common.ObjectData;
+import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 
 public class ClearValueRequest extends RequestAbstract {
     private static final long serialVersionUID = 1L;
     private final String fieldIdentifier;
     private final IdentityData target;
 
-    public ClearValueRequest(final AuthenticationSession session, final String fieldIdentifier, final IdentityData target) {
+    public ClearValueRequest(final AuthenticationSession session, final String fieldIdentifier,
+        final IdentityData target) {
         super(session);
         this.fieldIdentifier = fieldIdentifier;
         this.target = target;
@@ -49,39 +49,39 @@ public class ClearValueRequest extends R
     }
 
     @Override
-    public void encode(DataOutputExtended outputStream)
-    		throws IOException {
-    	super.encode(outputStream);
+    public void encode(final DataOutputExtended outputStream) throws IOException {
+        super.encode(outputStream);
         outputStream.writeUTF(fieldIdentifier);
         outputStream.writeEncodable(target);
     }
 
-	private void initialized() {
-		// nothing to do
-	}
+    private void initialized() {
+        // nothing to do
+    }
 
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
     // request data
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
 
-	public String getFieldIdentifier() {
-		return fieldIdentifier;
-	}
-	
-	public IdentityData getTarget() {
-		return target;
-	}
-	
-    /////////////////////////////////////////////////////////
+    public String getFieldIdentifier() {
+        return fieldIdentifier;
+    }
+
+    public IdentityData getTarget() {
+        return target;
+    }
+
+    // ///////////////////////////////////////////////////////
     // execute, response
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
 
-	/**
-	 * {@link #setResponse(Object) Sets a response} of {@link ObjectData}[] (array).
-	 */
+    /**
+     * {@link #setResponse(Object) Sets a response} of {@link ObjectData}[] (array).
+     */
+    @Override
     public void execute(final ServerFacade serverFacade) {
-        ClearValueResponse response = serverFacade.clearValue(this);
-		setResponse(response);
+        final ClearValueResponse response = serverFacade.clearValue(this);
+        setResponse(response);
     }
 
     /**

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ClearValueResponse.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ClearValueResponse.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ClearValueResponse.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ClearValueResponse.java Tue May  3 06:33:43 2011
@@ -17,48 +17,47 @@
  *  under the License.
  */
 
+package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
-package org.apache.isis.runtimes.dflt.remoting.common.exchange;
-
 import java.io.IOException;
 import java.io.Serializable;
 
-import org.apache.isis.runtimes.dflt.remoting.common.data.common.ObjectData;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
 import org.apache.isis.core.commons.encoding.Encodable;
-
-public class ClearValueResponse implements Encodable, Serializable {
-
-	private static final long serialVersionUID = 1L;
-	
-	private final ObjectData[] updates;
-	
-	public ClearValueResponse(ObjectData[] updates) {
-		this.updates = updates;
-		instantiated();
-	}
-
-	public ClearValueResponse(DataInputExtended input) throws IOException {
-		this.updates = input.readEncodables(ObjectData.class);
-		instantiated();
-	}
-
-	public void encode(DataOutputExtended output) throws IOException {
-		output.writeEncodables(updates);
-	}
-
-	private void instantiated() {
-		// nothing to do
-	}
-
-	
-	///////////////////////////////////////////
-	//
-	///////////////////////////////////////////
-
-	public ObjectData[] getUpdates() {
-		return updates;
-	}
-	
-}
+import org.apache.isis.runtimes.dflt.remoting.common.data.common.ObjectData;
+
+public class ClearValueResponse implements Encodable, Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    private final ObjectData[] updates;
+
+    public ClearValueResponse(final ObjectData[] updates) {
+        this.updates = updates;
+        instantiated();
+    }
+
+    public ClearValueResponse(final DataInputExtended input) throws IOException {
+        this.updates = input.readEncodables(ObjectData.class);
+        instantiated();
+    }
+
+    @Override
+    public void encode(final DataOutputExtended output) throws IOException {
+        output.writeEncodables(updates);
+    }
+
+    private void instantiated() {
+        // nothing to do
+    }
+
+    // /////////////////////////////////////////
+    //
+    // /////////////////////////////////////////
+
+    public ObjectData[] getUpdates() {
+        return updates;
+    }
+
+}

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/CloseSessionRequest.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/CloseSessionRequest.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/CloseSessionRequest.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/CloseSessionRequest.java Tue May  3 06:33:43 2011
@@ -17,54 +17,51 @@
  *  under the License.
  */
 
-
 package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
 import java.io.IOException;
 
-import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 import org.apache.isis.core.commons.authentication.AuthenticationSession;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
+import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 
 public class CloseSessionRequest extends RequestAbstract {
 
     private static final long serialVersionUID = 1L;
 
     public CloseSessionRequest(final AuthenticationSession session) {
-    	super(session);
-    	initialized();
+        super(session);
+        initialized();
     }
-    
+
     public CloseSessionRequest(final DataInputExtended input) throws IOException {
         super(input);
         initialized();
     }
 
-	private void initialized() {
-		// nothing to do
-	}
+    private void initialized() {
+        // nothing to do
+    }
 
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
     //
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
 
-	/**
-	 * {@link #setResponse(Object) Sets a response} to {@link CloseSessionResponse}.
-	 */
+    /**
+     * {@link #setResponse(Object) Sets a response} to {@link CloseSessionResponse}.
+     */
+    @Override
     public void execute(final ServerFacade serverFacade) {
-        CloseSessionResponse response = serverFacade.closeSession(this);
+        final CloseSessionResponse response = serverFacade.closeSession(this);
         setResponse(response);
     }
 
-    
     /**
      * Downcasts.
      */
     @Override
     public CloseSessionResponse getResponse() {
-    	return (CloseSessionResponse) super.getResponse();
+        return (CloseSessionResponse) super.getResponse();
     }
-    
-    
-}
 
+}

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/CloseSessionResponse.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/CloseSessionResponse.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/CloseSessionResponse.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/CloseSessionResponse.java Tue May  3 06:33:43 2011
@@ -17,39 +17,37 @@
  *  under the License.
  */
 
+package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
-package org.apache.isis.runtimes.dflt.remoting.common.exchange;
-
 import java.io.IOException;
 import java.io.Serializable;
 
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
 import org.apache.isis.core.commons.encoding.Encodable;
-
-public class CloseSessionResponse implements Encodable, Serializable {
-
-	private static final long serialVersionUID = 1L;
-	
-	public CloseSessionResponse() {
-		instantiated();
-	}
-
-	public CloseSessionResponse(DataInputExtended input) throws IOException {
-		instantiated();
-	}
-
-	public void encode(DataOutputExtended output) throws IOException {
-	}
-
-	private void instantiated() {
-		// nothing to do
-	}
-
-	
-	///////////////////////////////////////////
-	//
-	///////////////////////////////////////////
-	
-	
-}
+
+public class CloseSessionResponse implements Encodable, Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    public CloseSessionResponse() {
+        instantiated();
+    }
+
+    public CloseSessionResponse(final DataInputExtended input) throws IOException {
+        instantiated();
+    }
+
+    @Override
+    public void encode(final DataOutputExtended output) throws IOException {
+    }
+
+    private void instantiated() {
+        // nothing to do
+    }
+
+    // /////////////////////////////////////////
+    //
+    // /////////////////////////////////////////
+
+}

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ExecuteClientActionRequest.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ExecuteClientActionRequest.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ExecuteClientActionRequest.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ExecuteClientActionRequest.java Tue May  3 06:33:43 2011
@@ -17,17 +17,16 @@
  *  under the License.
  */
 
-
 package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
 import java.io.IOException;
 
-import org.apache.isis.runtimes.dflt.remoting.common.data.common.ReferenceData;
-import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 import org.apache.isis.core.commons.authentication.AuthenticationSession;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
 import org.apache.isis.core.commons.lang.ToString;
+import org.apache.isis.runtimes.dflt.remoting.common.data.common.ReferenceData;
+import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 
 public class ExecuteClientActionRequest extends RequestAbstract {
     private static final long serialVersionUID = 1L;
@@ -49,38 +48,39 @@ public class ExecuteClientActionRequest 
     }
 
     @Override
-    public void encode(DataOutputExtended output)
-    		throws IOException {
-    	super.encode(output);
-    	output.writeEncodables(data);
-    	output.writeInts(types);
+    public void encode(final DataOutputExtended output) throws IOException {
+        super.encode(output);
+        output.writeEncodables(data);
+        output.writeInts(types);
     }
 
-	private void initialized() {
-		// nothing to do
-	}
+    private void initialized() {
+        // nothing to do
+    }
 
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
     // request data
-    /////////////////////////////////////////////////////////
-	
-	public ReferenceData[] getData() {
-		return data;
-	}
-	public int[] getTypes() {
-		return types;
-	}
-	
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
+
+    public ReferenceData[] getData() {
+        return data;
+    }
+
+    public int[] getTypes() {
+        return types;
+    }
+
+    // ///////////////////////////////////////////////////////
     // execute, response
-    /////////////////////////////////////////////////////////
-	
-	/**
-	 * {@link #setResponse(Object) Sets a response} of a {@link ExecuteClientActionResponse}.
-	 */
+    // ///////////////////////////////////////////////////////
+
+    /**
+     * {@link #setResponse(Object) Sets a response} of a {@link ExecuteClientActionResponse}.
+     */
+    @Override
     public void execute(final ServerFacade serverFacade) {
-        ExecuteClientActionResponse response = serverFacade.executeClientAction(this);
-		setResponse(response);
+        final ExecuteClientActionResponse response = serverFacade.executeClientAction(this);
+        setResponse(response);
     }
 
     /**
@@ -91,10 +91,9 @@ public class ExecuteClientActionRequest 
         return (ExecuteClientActionResponse) super.getResponse();
     }
 
-    
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
     // toString
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
 
     @Override
     public String toString() {

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ExecuteClientActionResponse.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ExecuteClientActionResponse.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ExecuteClientActionResponse.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ExecuteClientActionResponse.java Tue May  3 06:33:43 2011
@@ -17,77 +17,76 @@
  *  under the License.
  */
 
+package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
-package org.apache.isis.runtimes.dflt.remoting.common.exchange;
-
 import java.io.IOException;
 import java.io.Serializable;
 
-import org.apache.isis.runtimes.dflt.remoting.common.data.common.ObjectData;
-import org.apache.isis.runtimes.dflt.remoting.common.data.common.ReferenceData;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
 import org.apache.isis.core.commons.encoding.Encodable;
 import org.apache.isis.core.metamodel.adapter.version.Version;
-
-
-public class ExecuteClientActionResponse implements Encodable, Serializable {
-
-    private static final long serialVersionUID = 1L;
-    private final ReferenceData[] madePersistent;
-    private final Version[] changedVersion;
-    private final ObjectData[] updates;
-
-    public ExecuteClientActionResponse(final ReferenceData[] madePersistent, final Version[] changedVersion, final ObjectData[] updates) {
-        this.madePersistent = madePersistent;
-        this.changedVersion = changedVersion;
-        this.updates = updates;
-        instantiated();
-    }
-
-    public ExecuteClientActionResponse(final DataInputExtended input) throws IOException {
-    	this.madePersistent = input.readEncodables(ReferenceData.class);
-		this.changedVersion = input.readEncodables(Version.class);
-		this.updates = input.readEncodables(ObjectData.class);
-		instantiated();
-    }
-
-    public void encode(final DataOutputExtended output) throws IOException {
-    	output.writeEncodables(madePersistent);
-        output.writeEncodables(changedVersion);
-        output.writeEncodables(updates);
-    }
-
-	private void instantiated() {
-		// nothing to do
-	}
-
-    /////////////////////////////////////////////////////////
-    //
-    /////////////////////////////////////////////////////////
-
-    /**
-     * Return the ObjectDatas for the persisted objects (in the same seqence as passed to the server). This is
-     * used to update the client's copies with the new OIDs and Versions
-     */
-    public ReferenceData[] getPersisted() {
-        return madePersistent;
-    }
-
-    /**
-     * Return the Versions for the objects that were saved by the server for the action. These are used to
-     * update the versions of the client's copies so they align with the servers copies.
-     */
-    public Version[] getChanged() {
-        return changedVersion;
-    }
-
-    /**
-     * Return the set of ObjectData for any objects that where changed by the server while executing the
-     * action.
-     */
-    public ObjectData[] getUpdates() {
-        return updates;
-    }
-
-}
+import org.apache.isis.runtimes.dflt.remoting.common.data.common.ObjectData;
+import org.apache.isis.runtimes.dflt.remoting.common.data.common.ReferenceData;
+
+public class ExecuteClientActionResponse implements Encodable, Serializable {
+
+    private static final long serialVersionUID = 1L;
+    private final ReferenceData[] madePersistent;
+    private final Version[] changedVersion;
+    private final ObjectData[] updates;
+
+    public ExecuteClientActionResponse(final ReferenceData[] madePersistent, final Version[] changedVersion,
+        final ObjectData[] updates) {
+        this.madePersistent = madePersistent;
+        this.changedVersion = changedVersion;
+        this.updates = updates;
+        instantiated();
+    }
+
+    public ExecuteClientActionResponse(final DataInputExtended input) throws IOException {
+        this.madePersistent = input.readEncodables(ReferenceData.class);
+        this.changedVersion = input.readEncodables(Version.class);
+        this.updates = input.readEncodables(ObjectData.class);
+        instantiated();
+    }
+
+    @Override
+    public void encode(final DataOutputExtended output) throws IOException {
+        output.writeEncodables(madePersistent);
+        output.writeEncodables(changedVersion);
+        output.writeEncodables(updates);
+    }
+
+    private void instantiated() {
+        // nothing to do
+    }
+
+    // ///////////////////////////////////////////////////////
+    //
+    // ///////////////////////////////////////////////////////
+
+    /**
+     * Return the ObjectDatas for the persisted objects (in the same seqence as passed to the server). This is used to
+     * update the client's copies with the new OIDs and Versions
+     */
+    public ReferenceData[] getPersisted() {
+        return madePersistent;
+    }
+
+    /**
+     * Return the Versions for the objects that were saved by the server for the action. These are used to update the
+     * versions of the client's copies so they align with the servers copies.
+     */
+    public Version[] getChanged() {
+        return changedVersion;
+    }
+
+    /**
+     * Return the set of ObjectData for any objects that where changed by the server while executing the action.
+     */
+    public ObjectData[] getUpdates() {
+        return updates;
+    }
+
+}

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ExecuteServerActionRequest.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ExecuteServerActionRequest.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ExecuteServerActionRequest.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ExecuteServerActionRequest.java Tue May  3 06:33:43 2011
@@ -17,20 +17,19 @@
  *  under the License.
  */
 
-
 package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
 import java.io.IOException;
 
-import org.apache.isis.runtimes.dflt.remoting.common.data.Data;
-import org.apache.isis.runtimes.dflt.remoting.common.data.common.IdentityData;
-import org.apache.isis.runtimes.dflt.remoting.common.data.common.ReferenceData;
-import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 import org.apache.isis.core.commons.authentication.AuthenticationSession;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
 import org.apache.isis.core.commons.lang.ToString;
 import org.apache.isis.core.metamodel.spec.ActionType;
+import org.apache.isis.runtimes.dflt.remoting.common.data.Data;
+import org.apache.isis.runtimes.dflt.remoting.common.data.common.IdentityData;
+import org.apache.isis.runtimes.dflt.remoting.common.data.common.ReferenceData;
+import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 
 public class ExecuteServerActionRequest extends RequestAbstract {
     private static final long serialVersionUID = 1L;
@@ -39,12 +38,8 @@ public class ExecuteServerActionRequest 
     private final ReferenceData target;
     private final Data[] parameters;
 
-    public ExecuteServerActionRequest(
-            final AuthenticationSession session,
-            final ActionType actionType,
-            final String actionIdentifier,
-            final ReferenceData target,
-            final Data[] parameters) {
+    public ExecuteServerActionRequest(final AuthenticationSession session, final ActionType actionType,
+        final String actionIdentifier, final ReferenceData target, final Data[] parameters) {
         super(session);
         this.actionType = actionType;
         this.actionIdentifier = actionIdentifier;
@@ -63,49 +58,49 @@ public class ExecuteServerActionRequest 
     }
 
     @Override
-    public void encode(DataOutputExtended output)
-    		throws IOException {
-    	super.encode(output);
+    public void encode(final DataOutputExtended output) throws IOException {
+        super.encode(output);
         output.writeUTF(actionType.name());
         output.writeUTF(actionIdentifier);
         output.writeEncodable(target);
         output.writeEncodables(parameters);
     }
 
-	private void initialized() {
-		// nothing to do
-	}
+    private void initialized() {
+        // nothing to do
+    }
 
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
     // request data
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
 
-	public ActionType getActionType() {
-		return actionType;
-	}
-	
-	public String getActionIdentifier() {
-		return actionIdentifier;
-	}
-	
-	public ReferenceData getTarget() {
-		return target;
-	}
-	
-	public Data[] getParameters() {
-		return parameters;
-	}
-	
-    /////////////////////////////////////////////////////////
+    public ActionType getActionType() {
+        return actionType;
+    }
+
+    public String getActionIdentifier() {
+        return actionIdentifier;
+    }
+
+    public ReferenceData getTarget() {
+        return target;
+    }
+
+    public Data[] getParameters() {
+        return parameters;
+    }
+
+    // ///////////////////////////////////////////////////////
     // execute, response
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
 
-	/**
-	 * {@link #setResponse(Object) Sets a response} of a {@link ExecuteServerActionResponse}.
-	 */
+    /**
+     * {@link #setResponse(Object) Sets a response} of a {@link ExecuteServerActionResponse}.
+     */
+    @Override
     public void execute(final ServerFacade serverFacade) {
-        ExecuteServerActionResponse response = serverFacade.executeServerAction(this);
-		setResponse(response);
+        final ExecuteServerActionResponse response = serverFacade.executeServerAction(this);
+        setResponse(response);
     }
 
     /**
@@ -116,9 +111,9 @@ public class ExecuteServerActionRequest 
         return (ExecuteServerActionResponse) super.getResponse();
     }
 
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
     // toString
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
 
     @Override
     public String toString() {

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ExecuteServerActionResponse.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ExecuteServerActionResponse.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ExecuteServerActionResponse.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/ExecuteServerActionResponse.java Tue May  3 06:33:43 2011
@@ -17,130 +17,126 @@
  *  under the License.
  */
 
+package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
-package org.apache.isis.runtimes.dflt.remoting.common.exchange;
-
 import java.io.IOException;
 import java.io.Serializable;
 import java.util.Arrays;
 import java.util.List;
 
-import org.apache.isis.runtimes.dflt.remoting.common.data.Data;
-import org.apache.isis.runtimes.dflt.remoting.common.data.common.ObjectData;
-import org.apache.isis.runtimes.dflt.remoting.common.data.common.ReferenceData;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
 import org.apache.isis.core.commons.encoding.Encodable;
+import org.apache.isis.runtimes.dflt.remoting.common.data.Data;
+import org.apache.isis.runtimes.dflt.remoting.common.data.common.ObjectData;
+import org.apache.isis.runtimes.dflt.remoting.common.data.common.ReferenceData;
 import org.apache.isis.runtimes.dflt.runtime.transaction.messagebroker.MessageList;
 import org.apache.isis.runtimes.dflt.runtime.transaction.messagebroker.WarningList;
 
 import com.google.inject.internal.Lists;
-
-public class ExecuteServerActionResponse implements Encodable, Serializable, MessageList, WarningList {
-
-    private static final long serialVersionUID = 1L;
-
-    private final Data result;
-    private final List<String> messages = Lists.newArrayList();
-    private final List<String> warnings = Lists.newArrayList();
-    private final ObjectData[] updatesData;
-    private final ReferenceData[] disposedData;
-    private final ObjectData persistedTarget;
-    private final ObjectData[] persistedParameters;
-
-    public ExecuteServerActionResponse(
-            final Data result,
-            final ObjectData[] updatesData,
-            final ReferenceData[] disposed,
-            final ObjectData persistedTarget,
-            final ObjectData[] persistedParameters,
-            final String[] messages,
-            final String[] warnings) {
-        this.result = result;
-        this.updatesData = updatesData;
-        this.disposedData = disposed;
-        this.persistedTarget = persistedTarget;
-        this.persistedParameters = persistedParameters;
-        this.messages.addAll(Arrays.asList(messages));
-        this.warnings.addAll(Arrays.asList(warnings));
-        initialized();
-    }
-
-    public ExecuteServerActionResponse(final DataInputExtended input) throws IOException {
-        this.result = input.readEncodable(Data.class);
-        this.updatesData = input.readEncodables(ObjectData.class);
-        this.disposedData = input.readEncodables(ReferenceData.class);
-        this.persistedTarget = input.readEncodable(ObjectData.class);
-        this.persistedParameters = input.readEncodables(ObjectData.class);
-        this.messages.addAll(Arrays.asList(input.readUTFs()));
-        this.warnings.addAll(Arrays.asList(input.readUTFs()));
-        initialized();
-    }
-
-    public void encode(final DataOutputExtended output) throws IOException {
-        output.writeEncodable(result);
-        output.writeUTFs(messages.toArray(new String[0]));
-        output.writeUTFs(warnings.toArray(new String[0]));
-        output.writeEncodables(updatesData);
-        output.writeEncodables(disposedData);
-        output.writeEncodable(persistedTarget);
-        output.writeEncodables(persistedParameters);
-    }
-
-	private void initialized() {
-		// nothing to do
-	}
-
-    /////////////////////////////////////////////////////////
-    //
-    /////////////////////////////////////////////////////////
-
-    /**
-     * Return the Data for the result from executing the action.
-     */
-    public Data getReturn() {
-        return result;
-    }
-
-    /**
-     * Return the ObjectData for the target if it was persisited by the server.
-     */
-    public ObjectData getPersistedTarget() {
-        return persistedTarget;
-    }
-
-    /**
-     * Return the ObjectDatas for any of the parameters (in the same seqence as passed to the server) if they
-     * were was persisited by the server.
-     */
-    public ObjectData[] getPersistedParameters() {
-        return persistedParameters;
-    }
-
-    /**
-     * Return the set of ObjectData for any objects that where changed by the server while executing the
-     * action.
-     */
-    public ObjectData[] getUpdates() {
-        return updatesData;
-    }
-
-    public ReferenceData[] getDisposed() {
-        return disposedData;
-    }
-
-    /**
-     * Return all messages created by the action.
-     */
-    public List<String> getMessages() {
-        return messages;
-    }
-
-    /**
-     * Return all warnings created by the action.
-     */
-    public List<String> getWarnings() {
-        return warnings;
-    }
-
-}
+
+public class ExecuteServerActionResponse implements Encodable, Serializable, MessageList, WarningList {
+
+    private static final long serialVersionUID = 1L;
+
+    private final Data result;
+    private final List<String> messages = Lists.newArrayList();
+    private final List<String> warnings = Lists.newArrayList();
+    private final ObjectData[] updatesData;
+    private final ReferenceData[] disposedData;
+    private final ObjectData persistedTarget;
+    private final ObjectData[] persistedParameters;
+
+    public ExecuteServerActionResponse(final Data result, final ObjectData[] updatesData,
+        final ReferenceData[] disposed, final ObjectData persistedTarget, final ObjectData[] persistedParameters,
+        final String[] messages, final String[] warnings) {
+        this.result = result;
+        this.updatesData = updatesData;
+        this.disposedData = disposed;
+        this.persistedTarget = persistedTarget;
+        this.persistedParameters = persistedParameters;
+        this.messages.addAll(Arrays.asList(messages));
+        this.warnings.addAll(Arrays.asList(warnings));
+        initialized();
+    }
+
+    public ExecuteServerActionResponse(final DataInputExtended input) throws IOException {
+        this.result = input.readEncodable(Data.class);
+        this.updatesData = input.readEncodables(ObjectData.class);
+        this.disposedData = input.readEncodables(ReferenceData.class);
+        this.persistedTarget = input.readEncodable(ObjectData.class);
+        this.persistedParameters = input.readEncodables(ObjectData.class);
+        this.messages.addAll(Arrays.asList(input.readUTFs()));
+        this.warnings.addAll(Arrays.asList(input.readUTFs()));
+        initialized();
+    }
+
+    @Override
+    public void encode(final DataOutputExtended output) throws IOException {
+        output.writeEncodable(result);
+        output.writeUTFs(messages.toArray(new String[0]));
+        output.writeUTFs(warnings.toArray(new String[0]));
+        output.writeEncodables(updatesData);
+        output.writeEncodables(disposedData);
+        output.writeEncodable(persistedTarget);
+        output.writeEncodables(persistedParameters);
+    }
+
+    private void initialized() {
+        // nothing to do
+    }
+
+    // ///////////////////////////////////////////////////////
+    //
+    // ///////////////////////////////////////////////////////
+
+    /**
+     * Return the Data for the result from executing the action.
+     */
+    public Data getReturn() {
+        return result;
+    }
+
+    /**
+     * Return the ObjectData for the target if it was persisited by the server.
+     */
+    public ObjectData getPersistedTarget() {
+        return persistedTarget;
+    }
+
+    /**
+     * Return the ObjectDatas for any of the parameters (in the same seqence as passed to the server) if they were was
+     * persisited by the server.
+     */
+    public ObjectData[] getPersistedParameters() {
+        return persistedParameters;
+    }
+
+    /**
+     * Return the set of ObjectData for any objects that where changed by the server while executing the action.
+     */
+    public ObjectData[] getUpdates() {
+        return updatesData;
+    }
+
+    public ReferenceData[] getDisposed() {
+        return disposedData;
+    }
+
+    /**
+     * Return all messages created by the action.
+     */
+    @Override
+    public List<String> getMessages() {
+        return messages;
+    }
+
+    /**
+     * Return all warnings created by the action.
+     */
+    @Override
+    public List<String> getWarnings() {
+        return warnings;
+    }
+
+}

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/FindInstancesRequest.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/FindInstancesRequest.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/FindInstancesRequest.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/FindInstancesRequest.java Tue May  3 06:33:43 2011
@@ -17,17 +17,16 @@
  *  under the License.
  */
 
-
 package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
 import java.io.IOException;
 
-import org.apache.isis.runtimes.dflt.remoting.common.data.query.PersistenceQueryData;
-import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 import org.apache.isis.core.commons.authentication.AuthenticationSession;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
 import org.apache.isis.core.commons.lang.ToString;
+import org.apache.isis.runtimes.dflt.remoting.common.data.query.PersistenceQueryData;
+import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 
 public class FindInstancesRequest extends RequestAbstract {
     private static final long serialVersionUID = 1L;
@@ -46,34 +45,34 @@ public class FindInstancesRequest extend
     }
 
     @Override
-    public void encode(DataOutputExtended output)
-    		throws IOException {
-    	super.encode(output);
+    public void encode(final DataOutputExtended output) throws IOException {
+        super.encode(output);
         output.writeEncodable(criteria);
     }
 
-	private void initialized() {
-		// nothing to do
-	}
+    private void initialized() {
+        // nothing to do
+    }
 
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
     // request data
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
 
-	public PersistenceQueryData getCriteria() {
-		return criteria;
-	}
-	
-    /////////////////////////////////////////////////////////
+    public PersistenceQueryData getCriteria() {
+        return criteria;
+    }
+
+    // ///////////////////////////////////////////////////////
     // execute, response
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
 
-	/**
-	 * {@link #setResponse(Object) Sets a response} of a {@link FindInstancesResponse}.
-	 */
+    /**
+     * {@link #setResponse(Object) Sets a response} of a {@link FindInstancesResponse}.
+     */
+    @Override
     public void execute(final ServerFacade serverFacade) {
-        FindInstancesResponse response = serverFacade.findInstances(this);
-		setResponse(response);
+        final FindInstancesResponse response = serverFacade.findInstances(this);
+        setResponse(response);
     }
 
     /**
@@ -84,10 +83,9 @@ public class FindInstancesRequest extend
         return (FindInstancesResponse) super.getResponse();
     }
 
-    
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
     // toString
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
 
     @Override
     public String toString() {

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/FindInstancesResponse.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/FindInstancesResponse.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/FindInstancesResponse.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/FindInstancesResponse.java Tue May  3 06:33:43 2011
@@ -17,48 +17,47 @@
  *  under the License.
  */
 
+package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
-package org.apache.isis.runtimes.dflt.remoting.common.exchange;
-
 import java.io.IOException;
 import java.io.Serializable;
 
-import org.apache.isis.runtimes.dflt.remoting.common.data.common.ObjectData;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
 import org.apache.isis.core.commons.encoding.Encodable;
-
-public class FindInstancesResponse implements Encodable, Serializable {
-
-	private static final long serialVersionUID = 1L;
-	
-	private final ObjectData[] instances;
-	
-	public FindInstancesResponse(ObjectData[] instances) {
-		this.instances = instances;
-		instantiated();
-	}
-
-	public FindInstancesResponse(DataInputExtended input) throws IOException {
-		this.instances = input.readEncodables(ObjectData.class);
-		instantiated();
-	}
-
-	public void encode(DataOutputExtended output) throws IOException {
-		output.writeEncodables(instances);
-	}
-
-	private void instantiated() {
-		// nothing to do
-	}
-
-	
-	///////////////////////////////////////////
-	//
-	///////////////////////////////////////////
-
-	public ObjectData[] getInstances() {
-		return instances;
-	}
-	
-}
+import org.apache.isis.runtimes.dflt.remoting.common.data.common.ObjectData;
+
+public class FindInstancesResponse implements Encodable, Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    private final ObjectData[] instances;
+
+    public FindInstancesResponse(final ObjectData[] instances) {
+        this.instances = instances;
+        instantiated();
+    }
+
+    public FindInstancesResponse(final DataInputExtended input) throws IOException {
+        this.instances = input.readEncodables(ObjectData.class);
+        instantiated();
+    }
+
+    @Override
+    public void encode(final DataOutputExtended output) throws IOException {
+        output.writeEncodables(instances);
+    }
+
+    private void instantiated() {
+        // nothing to do
+    }
+
+    // /////////////////////////////////////////
+    //
+    // /////////////////////////////////////////
+
+    public ObjectData[] getInstances() {
+        return instances;
+    }
+
+}

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/GetObjectRequest.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/GetObjectRequest.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/GetObjectRequest.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/GetObjectRequest.java Tue May  3 06:33:43 2011
@@ -17,20 +17,19 @@
  *  under the License.
  */
 
-
 package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
 import java.io.IOException;
 
-import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 import org.apache.isis.core.commons.authentication.AuthenticationSession;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
 import org.apache.isis.core.commons.lang.ToString;
 import org.apache.isis.core.metamodel.adapter.oid.Oid;
+import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 
 public class GetObjectRequest extends RequestAbstract {
-	
+
     private static final long serialVersionUID = 1L;
     private final Oid oid;
     private final String specificationName;
@@ -50,53 +49,52 @@ public class GetObjectRequest extends Re
     }
 
     @Override
-    public void encode(DataOutputExtended output)
-    		throws IOException {
-    	super.encode(output);
+    public void encode(final DataOutputExtended output) throws IOException {
+        super.encode(output);
         output.writeEncodable(oid);
         output.writeUTF(specificationName);
     }
 
-	private void initialized() {
-		// nothing to do
-	}
+    private void initialized() {
+        // nothing to do
+    }
 
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
     // request data
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
+
+    public Oid getOid() {
+        return oid;
+    }
 
-	public Oid getOid() {
-		return oid;
-	}
-
-	public String getSpecificationName() {
-		return specificationName;
-	}
-	
-    /////////////////////////////////////////////////////////
+    public String getSpecificationName() {
+        return specificationName;
+    }
+
+    // ///////////////////////////////////////////////////////
     // execute, response
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
 
-	/**
-	 * {@link #setResponse(Object) Sets a response} of a {@link GetObjectResponse}.
-	 */
+    /**
+     * {@link #setResponse(Object) Sets a response} of a {@link GetObjectResponse}.
+     */
+    @Override
     public void execute(final ServerFacade serverFacade) {
-        GetObjectResponse response = serverFacade.getObject(this);
-		setResponse(response);
+        final GetObjectResponse response = serverFacade.getObject(this);
+        setResponse(response);
     }
 
-	/**
-	 * Downcasts.
-	 */
-	@Override
+    /**
+     * Downcasts.
+     */
+    @Override
     public GetObjectResponse getResponse() {
         return (GetObjectResponse) super.getResponse();
     }
 
-
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
     // toString
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
 
     @Override
     public String toString() {
@@ -106,4 +104,3 @@ public class GetObjectRequest extends Re
         return str.toString();
     }
 }
-

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/GetObjectResponse.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/GetObjectResponse.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/GetObjectResponse.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/GetObjectResponse.java Tue May  3 06:33:43 2011
@@ -17,48 +17,47 @@
  *  under the License.
  */
 
+package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
-package org.apache.isis.runtimes.dflt.remoting.common.exchange;
-
 import java.io.IOException;
 import java.io.Serializable;
 
-import org.apache.isis.runtimes.dflt.remoting.common.data.common.ObjectData;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
 import org.apache.isis.core.commons.encoding.Encodable;
-
-public class GetObjectResponse implements Encodable, Serializable {
-
-	private static final long serialVersionUID = 1L;
-	
-	private final ObjectData objectData;
-	
-	public GetObjectResponse(ObjectData objectData) {
-		this.objectData = objectData;
-		instantiated();
-	}
-
-	public GetObjectResponse(DataInputExtended input) throws IOException {
-		this.objectData = input.readEncodable(ObjectData.class);
-		instantiated();
-	}
-
-	public void encode(DataOutputExtended output) throws IOException {
-		output.writeEncodable(objectData);
-	}
-
-	private void instantiated() {
-		// nothing to do
-	}
-
-	
-	///////////////////////////////////////////
-	//
-	///////////////////////////////////////////
-
-	public ObjectData getObjectData() {
-		return objectData;
-	}
-	
-}
+import org.apache.isis.runtimes.dflt.remoting.common.data.common.ObjectData;
+
+public class GetObjectResponse implements Encodable, Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    private final ObjectData objectData;
+
+    public GetObjectResponse(final ObjectData objectData) {
+        this.objectData = objectData;
+        instantiated();
+    }
+
+    public GetObjectResponse(final DataInputExtended input) throws IOException {
+        this.objectData = input.readEncodable(ObjectData.class);
+        instantiated();
+    }
+
+    @Override
+    public void encode(final DataOutputExtended output) throws IOException {
+        output.writeEncodable(objectData);
+    }
+
+    private void instantiated() {
+        // nothing to do
+    }
+
+    // /////////////////////////////////////////
+    //
+    // /////////////////////////////////////////
+
+    public ObjectData getObjectData() {
+        return objectData;
+    }
+
+}

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/GetPropertiesRequest.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/GetPropertiesRequest.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/GetPropertiesRequest.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/GetPropertiesRequest.java Tue May  3 06:33:43 2011
@@ -17,15 +17,14 @@
  *  under the License.
  */
 
-
 package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
 import java.io.IOException;
 
-import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 import org.apache.isis.core.commons.authentication.AuthenticationSession;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
+import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 
 public class GetPropertiesRequest extends RequestAbstract {
     private static final long serialVersionUID = 1L;
@@ -41,35 +40,33 @@ public class GetPropertiesRequest extend
     }
 
     @Override
-    public void encode(DataOutputExtended output)
-    		throws IOException {
-    	super.encode(output);
-    }
-    
-	private void initialized() {
-		// nothing to do
-	}
+    public void encode(final DataOutputExtended output) throws IOException {
+        super.encode(output);
+    }
+
+    private void initialized() {
+        // nothing to do
+    }
 
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
     //
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
 
-	/**
-	 * {@link #setResponse(Object) Sets a response} of a {@link GetPropertiesResponse}.
-	 */
-	public void execute(final ServerFacade serverFacade) {
-		GetPropertiesResponse response = serverFacade.getProperties(this);
-		setResponse(response);
-	}
-	
-
-	/**
-	 * Downcasts.
-	 */
-	@Override
+    /**
+     * {@link #setResponse(Object) Sets a response} of a {@link GetPropertiesResponse}.
+     */
+    @Override
+    public void execute(final ServerFacade serverFacade) {
+        final GetPropertiesResponse response = serverFacade.getProperties(this);
+        setResponse(response);
+    }
+
+    /**
+     * Downcasts.
+     */
+    @Override
     public GetPropertiesResponse getResponse() {
         return (GetPropertiesResponse) super.getResponse();
     }
 
 }
-

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/GetPropertiesResponse.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/GetPropertiesResponse.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/GetPropertiesResponse.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/GetPropertiesResponse.java Tue May  3 06:33:43 2011
@@ -17,9 +17,8 @@
  *  under the License.
  */
 
+package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
-package org.apache.isis.runtimes.dflt.remoting.common.exchange;
-
 import java.io.IOException;
 import java.io.Serializable;
 import java.util.Properties;
@@ -27,38 +26,38 @@ import java.util.Properties;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
 import org.apache.isis.core.commons.encoding.Encodable;
-
-public class GetPropertiesResponse implements Encodable, Serializable {
-
-	private static final long serialVersionUID = 1L;
-	
-	private final Properties properties;
-	
-	public GetPropertiesResponse(Properties properties) {
-		this.properties = properties;
-		instantiated();
-	}
-
-	public GetPropertiesResponse(DataInputExtended input) throws IOException {
-		this.properties = input.readSerializable(Properties.class);
-		instantiated();
-	}
-
-	public void encode(DataOutputExtended output) throws IOException {
-		output.writeSerializable(properties);
-	}
-
-	private void instantiated() {
-		// nothing to do
-	}
-
-	
-	///////////////////////////////////////////
-	//
-	///////////////////////////////////////////
-
-	public Properties getProperties() {
-		return properties;
-	}
-	
-}
+
+public class GetPropertiesResponse implements Encodable, Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    private final Properties properties;
+
+    public GetPropertiesResponse(final Properties properties) {
+        this.properties = properties;
+        instantiated();
+    }
+
+    public GetPropertiesResponse(final DataInputExtended input) throws IOException {
+        this.properties = input.readSerializable(Properties.class);
+        instantiated();
+    }
+
+    @Override
+    public void encode(final DataOutputExtended output) throws IOException {
+        output.writeSerializable(properties);
+    }
+
+    private void instantiated() {
+        // nothing to do
+    }
+
+    // /////////////////////////////////////////
+    //
+    // /////////////////////////////////////////
+
+    public Properties getProperties() {
+        return properties;
+    }
+
+}

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/HasInstancesRequest.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/HasInstancesRequest.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/HasInstancesRequest.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/HasInstancesRequest.java Tue May  3 06:33:43 2011
@@ -17,16 +17,15 @@
  *  under the License.
  */
 
-
 package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
 import java.io.IOException;
 
-import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 import org.apache.isis.core.commons.authentication.AuthenticationSession;
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
 import org.apache.isis.core.commons.lang.ToString;
+import org.apache.isis.runtimes.dflt.remoting.common.facade.ServerFacade;
 
 public class HasInstancesRequest extends RequestAbstract {
     private static final long serialVersionUID = 1L;
@@ -45,34 +44,34 @@ public class HasInstancesRequest extends
     }
 
     @Override
-    public void encode(DataOutputExtended output)
-    		throws IOException {
-    	super.encode(output);
+    public void encode(final DataOutputExtended output) throws IOException {
+        super.encode(output);
         output.writeUTF(specificationName);
     }
 
-	private void initialized() {
-		// nothing to do
-	}
+    private void initialized() {
+        // nothing to do
+    }
 
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
     // request data
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
 
-	public String getSpecificationName() {
-		return specificationName;
-	}
-	
-    /////////////////////////////////////////////////////////
+    public String getSpecificationName() {
+        return specificationName;
+    }
+
+    // ///////////////////////////////////////////////////////
     // execute, response
-    /////////////////////////////////////////////////////////
+    // ///////////////////////////////////////////////////////
 
-	/**
-	 * {@link #setResponse(Object) Sets a response} of a {@link HasInstancesResponse}.
-	 */
+    /**
+     * {@link #setResponse(Object) Sets a response} of a {@link HasInstancesResponse}.
+     */
+    @Override
     public void execute(final ServerFacade serverFacade) {
         final HasInstancesResponse response = serverFacade.hasInstances(this);
-		setResponse(response);
+        setResponse(response);
     }
 
     /**

Modified: incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/HasInstancesResponse.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/HasInstancesResponse.java?rev=1098939&r1=1098938&r2=1098939&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/HasInstancesResponse.java (original)
+++ incubator/isis/trunk/runtimes/dflt/remoting/common/src/main/java/org/apache/isis/runtimes/dflt/remoting/common/exchange/HasInstancesResponse.java Tue May  3 06:33:43 2011
@@ -17,47 +17,46 @@
  *  under the License.
  */
 
+package org.apache.isis.runtimes.dflt.remoting.common.exchange;
 
-package org.apache.isis.runtimes.dflt.remoting.common.exchange;
-
 import java.io.IOException;
 import java.io.Serializable;
 
 import org.apache.isis.core.commons.encoding.DataInputExtended;
 import org.apache.isis.core.commons.encoding.DataOutputExtended;
 import org.apache.isis.core.commons.encoding.Encodable;
-
-public class HasInstancesResponse implements Encodable, Serializable {
-
-	private static final long serialVersionUID = 1L;
-	
-	private boolean hasInstances;
-	
-	public HasInstancesResponse(boolean hasInstances) {
-		this.hasInstances = hasInstances;
-		instantiated();
-	}
-
-	public HasInstancesResponse(DataInputExtended input) throws IOException {
-		this.hasInstances = input.readBoolean();
-		instantiated();
-	}
-
-	public void encode(DataOutputExtended output) throws IOException {
-		output.writeBoolean(hasInstances);
-	}
-
-	private void instantiated() {
-		// nothing to do
-	}
-
-	
-	///////////////////////////////////////////
-	//
-	///////////////////////////////////////////
-	
-	public Boolean hasInstances() {
-		return hasInstances;
-	}
-	
-}
+
+public class HasInstancesResponse implements Encodable, Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    private final boolean hasInstances;
+
+    public HasInstancesResponse(final boolean hasInstances) {
+        this.hasInstances = hasInstances;
+        instantiated();
+    }
+
+    public HasInstancesResponse(final DataInputExtended input) throws IOException {
+        this.hasInstances = input.readBoolean();
+        instantiated();
+    }
+
+    @Override
+    public void encode(final DataOutputExtended output) throws IOException {
+        output.writeBoolean(hasInstances);
+    }
+
+    private void instantiated() {
+        // nothing to do
+    }
+
+    // /////////////////////////////////////////
+    //
+    // /////////////////////////////////////////
+
+    public Boolean hasInstances() {
+        return hasInstances;
+    }
+
+}



Mime
View raw message