Package org.apache.isis.runtimes.dflt.remoting.common.exchange

Examples of org.apache.isis.runtimes.dflt.remoting.common.exchange.GetObjectResponse


        final String specificationName = request.getSpecificationName();

        final ObjectSpecification specification = getSpecification(specificationName);
        final ObjectAdapter adapter = getPersistenceSession().loadObject(oid, specification);

        return new GetObjectResponse(encoderDecoder.encodeForUpdate(adapter));
    }
View Full Code Here


    public GetObjectResponse getObject(final GetObjectRequest request) {

        final Oid oid = request.getOid();

        log("get object " + oid);
        final GetObjectResponse response = decorated.getObject(request);
        final ObjectData data = response.getObjectData();
        log(" <-- data: " + data);
        return response;
    }
View Full Code Here

            public ObjectAdapter execute() {
                // NB: I think that the auth session must be null because we may
                // not yet have logged in if
                // retrieving the services.
                final GetObjectRequest request = new GetObjectRequest(null, oid, specHint.getFullIdentifier());
                final GetObjectResponse response = serverFacade.getObject(request);
                final ObjectData data = response.getObjectData();
                return encoderDecoder.decode(data);
            }
        });
    }
View Full Code Here

                @Override
                public ObjectAdapter execute() {
                    // NB: I think that the auth session must be null because we may not yet have logged in if
                    // retrieving the services.
                    final GetObjectRequest request = new GetObjectRequest(null, oid, specHint.getFullIdentifier());
                    final GetObjectResponse response = serverFacade.getObject(request);
                    final ObjectData data = response.getObjectData();
                    return encoderDecoder.decode(data);
                }
            });
    }
View Full Code Here

    public GetObjectResponse getObject(final GetObjectRequest request) {

        final Oid oid = request.getOid();

        log("get object " + oid);
        final GetObjectResponse response = decorated.getObject(request);
        final ObjectData data = response.getObjectData();
        log(" <-- data: " + data);
        return response;
    }
View Full Code Here

        final String specificationName = request.getSpecificationName();

        final ObjectSpecification specification = getSpecification(specificationName);
        final ObjectAdapter adapter = getPersistenceSession().loadObject(oid, specification);

        return new GetObjectResponse(encoderDecoder.encodeForUpdate(adapter));
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.runtimes.dflt.remoting.common.exchange.GetObjectResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.