Package edu.stanford.bmir.protege.web.server.dispatch.validators

Examples of edu.stanford.bmir.protege.web.server.dispatch.validators.UserHasProjectReadPermissionValidator


    private static final ObjectPropertyFrameTranslator TRANSLATOR = new ObjectPropertyFrameTranslator();

    @Override
    protected RequestValidator<GetObjectPropertyFrameAction> getAdditionalRequestValidator(GetObjectPropertyFrameAction action, RequestContext requestContext) {
        return new UserHasProjectReadPermissionValidator();
    }
View Full Code Here


*/
public class GetAnnotationPropertyFrameActionHandler extends AbstractHasProjectActionHandler<GetAnnotationPropertyFrameAction, GetObjectResult<LabelledFrame<AnnotationPropertyFrame>>> {

    @Override
    protected RequestValidator<GetAnnotationPropertyFrameAction> getAdditionalRequestValidator(GetAnnotationPropertyFrameAction action, RequestContext requestContext) {
        return new UserHasProjectReadPermissionValidator();
    }
View Full Code Here

    /**
     * Returns an additional validator which ensures the requesting user had read permission for the project.
     */
    @Override
    protected RequestValidator getAdditionalRequestValidator(GetRootOntologyIdAction action, RequestContext requestContext) {
        return new UserHasProjectReadPermissionValidator();
    }
View Full Code Here

        return GetOntologyAnnotationsAction.class;
    }

    @Override
    protected RequestValidator getAdditionalRequestValidator(GetOntologyAnnotationsAction action, RequestContext requestContext) {
        return new UserHasProjectReadPermissionValidator();
    }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.server.dispatch.validators.UserHasProjectReadPermissionValidator

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.