Package org.apache.isis.applib.annotation

Examples of org.apache.isis.applib.annotation.Hidden


        super(FeatureType.OBJECTS_ONLY);
    }

    @Override
    public void process(final ProcessClassContext processClassContext) {
        final Hidden annotation = Annotations.getAnnotation(processClassContext.getCls(), Hidden.class);
        FacetUtil.addFacet(create(annotation, processClassContext.getFacetHolder()));
    }
View Full Code Here


        // no-op if null
        FacetUtil.addFacet(hiddenFacet);
    }
   
    private static HiddenFacet createFromAnnotationIfPossible(final ProcessMethodContext processMethodContext) {
        final Hidden hiddenAnnotation = Annotations.getAnnotation(processMethodContext.getMethod(), Hidden.class);
        return hiddenAnnotation != null
                ? new HiddenFacetOnMemberAnnotation(hiddenAnnotation.when(), hiddenAnnotation.where(), processMethodContext.getFacetHolder())
                : null;
    }
View Full Code Here

        super(FeatureType.OBJECTS_ONLY);
    }

    @Override
    public void process(final ProcessClassContext processClassContext) {
        final Hidden annotation = Annotations.getAnnotation(processClassContext.getCls(), Hidden.class);
        FacetUtil.addFacet(create(annotation, processClassContext.getFacetHolder()));
    }
View Full Code Here

        // no-op if null
        FacetUtil.addFacet(hiddenFacet);
    }
   
    private static HiddenFacet createFromAnnotationIfPossible(final ProcessMethodContext processMethodContext) {
        final Hidden hiddenAnnotation = Annotations.getAnnotation(processMethodContext.getMethod(), Hidden.class);
        return hiddenAnnotation != null
                ? new HiddenFacetOnMemberAnnotation(hiddenAnnotation.when(), hiddenAnnotation.where(), processMethodContext.getFacetHolder())
                : null;
    }
View Full Code Here

        super(FeatureType.OBJECTS_ONLY);
    }

    @Override
    public void process(final ProcessClassContext processClassContaxt) {
        final Hidden annotation = getAnnotation(processClassContaxt.getCls(), Hidden.class);
        FacetUtil.addFacet(create(annotation, processClassContaxt.getFacetHolder()));
    }
View Full Code Here

        super(FeatureType.MEMBERS);
    }

    @Override
    public void process(final ProcessMethodContext processMethodContext) {
        final Hidden annotation = getAnnotation(processMethodContext.getMethod(), Hidden.class);
        FacetUtil.addFacet(create(annotation, processMethodContext.getFacetHolder()));
    }
View Full Code Here

        super(FeatureType.MEMBERS);
    }

    @Override
    public void process(final ProcessMethodContext processMethodContext) {
        final Hidden annotation = Annotations.getAnnotation(processMethodContext.getMethod(), Hidden.class);
        FacetUtil.addFacet(create(annotation, processMethodContext.getFacetHolder()));
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.applib.annotation.Hidden

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.