Package org.apache.isis.core.metamodel.facets.objcoll.paged

Examples of org.apache.isis.core.metamodel.facets.objcoll.paged.PagedFacetAnnotation


        return properties != null ? new PagedFacetProperties(properties, processMethodContext.getFacetHolder()) : null;
    }

    private PagedFacet createFromPagedAnnotationIfPossible(final ProcessMethodContext processMethodContext) {
        final Paged annotation = Annotations.getAnnotation(processMethodContext.getMethod(), Paged.class);
        return annotation != null ? new PagedFacetAnnotation(processMethodContext.getFacetHolder(), annotation.value()) : null;
    }
View Full Code Here


        return properties != null ? new PagedFacetProperties(properties, processMethodContext.getFacetHolder()) : null;
    }

    private PagedFacet createFromPagedAnnotationIfPossible(final ProcessMethodContext processMethodContext) {
        final Paged annotation = Annotations.getAnnotation(processMethodContext.getMethod(), Paged.class);
        return annotation != null ? new PagedFacetAnnotation(processMethodContext.getFacetHolder(), annotation.value()) : null;
    }
View Full Code Here

        final Paged annotation = Annotations.getAnnotation(processClassContext.getCls(), Paged.class);
        FacetUtil.addFacet(create(annotation, processClassContext.getFacetHolder()));
    }

    private PagedFacet create(final Paged annotation, final FacetHolder holder) {
        return annotation != null ? new PagedFacetAnnotation(holder, annotation.value()) : null;
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.core.metamodel.facets.objcoll.paged.PagedFacetAnnotation

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.