Examples of AdapterMapAbstract


Examples of org.apache.isis.core.metamodel.adapter.map.AdapterMapAbstract

    public TrialObjects() {

        final IsisConfigurationDefault configuration = new IsisConfigurationDefault();

        final AdapterMapAbstract adapterMap = new AdapterMapAbstract() {

            @Override
            public ObjectAdapter getAdapterFor(final Object pojo) {
                throw new UnsupportedOperationException();
            }
View Full Code Here

Examples of org.apache.isis.core.metamodel.adapter.map.AdapterMapAbstract

            @Override
            public AuthenticationSession getAuthenticationSession() {
                return IsisContext.getAuthenticationSession();
            }
        };
        this.adapterManager = new AdapterMapAbstract() {

            @Override
            public ObjectAdapter getAdapterFor(final Object pojo) {
                return getRuntimeAdapterManager().getAdapterFor(pojo);
            }
View Full Code Here

Examples of org.apache.isis.core.metamodel.adapter.map.AdapterMapAbstract

            @Override
            public AuthenticationSession getAuthenticationSession() {
                throw new UnsupportedOperationException("Not supported by this implementation of RuntimeContext");
            }
        };
        adapterMap = new AdapterMapAbstract() {

            @Override
            public ObjectAdapter getAdapterFor(final Object pojo) {
                throw new UnsupportedOperationException("Not supported by this implementation of RuntimeContext");
            }
View Full Code Here

Examples of org.apache.isis.core.metamodel.adapter.map.AdapterMapAbstract

            public <T> ObjectAdapter firstMatchingQuery(final Query<T> query) {
                return getAdapterMap().adapterFor(context.firstMatchingQuery(query));
            }

        };
        this.adapterMap = new AdapterMapAbstract() {
            @Override
            public ObjectAdapter adapterFor(final Object domainObject) {
                final ObjectSpecification domainObjectSpec = getSpecificationLookup().loadSpecification(domainObject.getClass());
                final PersistenceState persistenceState = context.getPersistenceState(domainObject);
                return new StandaloneAdapter(domainObjectSpec, domainObject, persistenceState);
View Full Code Here

Examples of org.apache.isis.core.metamodel.adapter.map.AdapterMapAbstract

            @Override
            public AuthenticationSession getAuthenticationSession() {
                throw new UnsupportedOperationException("Not supported by this implementation of RuntimeContext");
            }
        };
        adapterMap = new AdapterMapAbstract() {

            @Override
            public ObjectAdapter getAdapterFor(final Object pojo) {
                throw new UnsupportedOperationException("Not supported by this implementation of RuntimeContext");
            }
View Full Code Here

Examples of org.apache.isis.core.metamodel.adapter.map.AdapterMapAbstract

            public <T> ObjectAdapter firstMatchingQuery(final Query<T> query) {
                return getAdapterMap().adapterFor(context.firstMatchingQuery(query));
            }

        };
        this.adapterMap = new AdapterMapAbstract() {
            @Override
            public ObjectAdapter adapterFor(final Object domainObject) {
                final ObjectSpecification domainObjectSpec =
                    getSpecificationLookup().loadSpecification(domainObject.getClass());
                final PersistenceState persistenceState = context.getPersistenceState(domainObject);
View Full Code Here

Examples of org.apache.isis.core.metamodel.adapter.map.AdapterMapAbstract

    public TrialObjects() {

        final IsisConfigurationDefault configuration = new IsisConfigurationDefault();

        final AdapterMapAbstract adapterMap = new AdapterMapAbstract() {

            @Override
            public ObjectAdapter getAdapterFor(final Object pojo) {
                throw new UnsupportedOperationException();
            }
View Full Code Here

Examples of org.apache.isis.core.metamodel.adapter.map.AdapterMapAbstract

            @Override
            public AuthenticationSession getAuthenticationSession() {
                return IsisContext.getAuthenticationSession();
            }
        };
        this.adapterManager = new AdapterMapAbstract() {

            @Override
            public ObjectAdapter getAdapterFor(final Object pojo) {
                return getRuntimeAdapterManager().getAdapterFor(pojo);
            }
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.