Examples of IdentityData


Examples of org.apache.isis.runtimes.dflt.remoting.common.data.common.IdentityData

    @Override
    public ResolveObjectResponse resolveImmediately(final ResolveObjectRequest request) {

        final AuthenticationSession session = request.getSession();
        final IdentityData targetData = request.getTarget();

        if (LOG.isDebugEnabled()) {
            LOG.debug("request resolveImmediately " + targetData + " for " + session);
        }

        final ObjectSpecification spec = getSpecification(targetData.getType());
        final ObjectAdapter object = getPersistenceSession().loadObject(targetData.getOid(), spec);

        if (object.getResolveState().canChangeTo(ResolveState.RESOLVING)) {
            // this is need when the object store does not load the object fully in the getObject() above
            getPersistenceSession().resolveImmediately(object);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.