Package org.apache.isis.runtimes.dflt.runtime.persistence.query

Examples of org.apache.isis.runtimes.dflt.runtime.persistence.query.PersistenceQueryFindUsingApplibQuerySerializable


            final String queryName = queryDefault.getQueryName();
            final Map<String, ObjectAdapter> argumentsAdaptersByParameterName = wrap(queryDefault.getArgumentsByParameterName());
            return new PersistenceQueryFindUsingApplibQueryDefault(noSpec, queryName, argumentsAdaptersByParameterName, cardinality);
        }
        // fallback; generic serializable applib query.
        return new PersistenceQueryFindUsingApplibQuerySerializable(noSpec, query, cardinality);
    }
View Full Code Here


        return PersistenceQueryFindByTitle.class;
    }

    @Override
    public PersistenceQueryData encode(final PersistenceQuery persistenceQuery) {
        final PersistenceQueryFindUsingApplibQuerySerializable query = downcast(persistenceQuery);
        return new PersistenceQueryFindUsingApplibQuerySerializableData(query.getSpecification(), query.getApplibQuery(), query.getCardinality());
    }
View Full Code Here

    @Override
    protected PersistenceQuery doDecode(final ObjectSpecification specification, final PersistenceQueryData persistenceQueryData) {
        final PersistenceQueryFindUsingApplibQuerySerializableData data = downcast(persistenceQueryData);
        final Query query = (Query) data.getApplibQuerySerializable();
        final QueryCardinality cardinality = data.getCardinality();
        return new PersistenceQueryFindUsingApplibQuerySerializable(specification, query, cardinality);
    }
View Full Code Here

        return PersistenceQueryFindByTitle.class;
    }

    @Override
    public PersistenceQueryData encode(final PersistenceQuery persistenceQuery) {
        final PersistenceQueryFindUsingApplibQuerySerializable query = downcast(persistenceQuery);
        return new PersistenceQueryFindUsingApplibQuerySerializableData(query.getSpecification(),
            query.getApplibQuery(), query.getCardinality());
    }
View Full Code Here

    protected PersistenceQuery doDecode(final ObjectSpecification specification,
        final PersistenceQueryData persistenceQueryData) {
        final PersistenceQueryFindUsingApplibQuerySerializableData data = downcast(persistenceQueryData);
        final Query query = (Query) data.getApplibQuerySerializable();
        final QueryCardinality cardinality = data.getCardinality();
        return new PersistenceQueryFindUsingApplibQuerySerializable(specification, query, cardinality);
    }
View Full Code Here

                wrap(queryDefault.getArgumentsByParameterName());
            return new PersistenceQueryFindUsingApplibQueryDefault(noSpec, queryName, argumentsAdaptersByParameterName,
                cardinality);
        }
        // fallback; generic serializable applib query.
        return new PersistenceQueryFindUsingApplibQuerySerializable(noSpec, query, cardinality);
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.runtimes.dflt.runtime.persistence.query.PersistenceQueryFindUsingApplibQuerySerializable

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.