Examples of CollectionMemento


Examples of org.apache.isis.viewer.wicket.model.mementos.CollectionMemento

    private EntityCollectionModel(final ObjectAdapterMemento parentAdapterMemento, final OneToManyAssociation collection) {
        this.type = Type.PARENTED;
        this.typeOf = forName(collection.getSpecification());
        this.parentObjectAdapterMemento = parentAdapterMemento;
        this.collectionMemento = new CollectionMemento(collection);
        this.pageSize = pageSize(collection.getFacet(PagedFacet.class), PAGE_SIZE_DEFAULT_FOR_PARENTED);
        final SortedByFacet sortedByFacet = collection.getFacet(SortedByFacet.class);
        this.sortedBy = sortedByFacet != null?sortedByFacet.value(): null;
    }
View Full Code Here

Examples of org.apache.isis.viewer.wicket.model.mementos.CollectionMemento

    public static Function<OneToManyAssociation, CollectionMemento> fromCollection() {
        return new Function<OneToManyAssociation, CollectionMemento>() {
            @Override
            public CollectionMemento apply(final OneToManyAssociation from) {
                return new CollectionMemento(from);
            }
        };
    }
View Full Code Here

Examples of org.apache.isis.viewer.wicket.model.mementos.CollectionMemento

    private EntityCollectionModel(final ObjectAdapterMemento parentAdapterMemento, final OneToManyAssociation collection) {
        this.type = Type.PARENTED;
        this.typeOf = ClassLoaders.forName(collection.getSpecification());
        this.parentObjectAdapterMemento = parentAdapterMemento;
        this.collectionMemento = new CollectionMemento(collection);
    }
View Full Code Here

Examples of org.apache.isis.viewer.wicket.model.mementos.CollectionMemento

    public static Function<OneToManyAssociation, CollectionMemento> fromCollection() {
        return new Function<OneToManyAssociation, CollectionMemento>() {
            @Override
            public CollectionMemento apply(final OneToManyAssociation from) {
                return new CollectionMemento(from);
            }
        };
    }
View Full Code Here

Examples of org.apache.isis.viewer.wicket.model.mementos.CollectionMemento

    private EntityCollectionModel(final ObjectAdapterMemento parentAdapterMemento, final OneToManyAssociation collection) {
        this.type = Type.PARENTED;
        this.typeOf = ClassLoaders.forName(collection.getSpecification());
        this.parentObjectAdapterMemento = parentAdapterMemento;
        this.collectionMemento = new CollectionMemento(collection);
    }
View Full Code Here

Examples of org.apache.isis.viewer.wicket.model.mementos.CollectionMemento

    private EntityCollectionModel(final ObjectAdapterMemento parentAdapterMemento, final OneToManyAssociation collection) {
        this.type = Type.PARENTED;
        this.typeOf = forName(collection.getSpecification());
        this.parentObjectAdapterMemento = parentAdapterMemento;
        this.collectionMemento = new CollectionMemento(collection);
        this.pageSize = pageSize(collection.getFacet(PagedFacet.class), PAGE_SIZE_DEFAULT_FOR_PARENTED);
        final SortedByFacet sortedByFacet = collection.getFacet(SortedByFacet.class);
        this.sortedBy = sortedByFacet != null?sortedByFacet.value(): null;
    }
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.