Package org.apache.isis.viewer.scimpi.dispatcher

Examples of org.apache.isis.viewer.scimpi.dispatcher.NotLoggedInException


    @Override
    public void process(final RequestContext context) throws IOException {

        final AuthenticationSession session = context.getSession();
        if (session == null) {
            throw new NotLoggedInException();
        }

        final String levelName = (String) context.getVariable("level");

        final org.apache.log4j.Level level = org.apache.log4j.Level.toLevel(levelName);
View Full Code Here


            final List<ObjectAssociation> fields = adapter.getSpecification().getAssociations(Contributed.EXCLUDED, ObjectAssociation.Filters.dynamicallyVisible(session, adapter, where));

            for (final ObjectAssociation objectAssociation : fields) {
                if (objectAssociation.isVisible(session, adapter, where).isVetoed()) {
                    throw new NotLoggedInException();
                }
            }

            final FormState entryState = validateObject(context, adapter, fields);
            final Version adapterVersion = adapter.getVersion();
View Full Code Here

    @Override
    public void process(final RequestContext context) throws IOException {
        final AuthenticationSession session = context.getSession();
        if (session == null) {
            throw new NotLoggedInException();
        }

        final String parentId = context.getParameter(OBJECT);
        final String rowId = context.getParameter(ELEMENT);
View Full Code Here

            final ObjectAction action = MethodsUtils.findAction(object, methodName);
            entryState = validateParameters(context, action, object);

            final AuthenticationSession session = context.getSession();
            if (session == null && action.isVisible(new AnonymousSession(), object).isVetoed()) {
                throw new NotLoggedInException();
            }

            object.checkLock(context.getVersion(version));
            /*
             * Version adapterVersion = object.getVersion(); if
View Full Code Here

            final List<ObjectAssociation> fields = adapter.getSpecification().getAssociations(ObjectAssociationFilters.dynamicallyVisible(session, adapter));

            for (final ObjectAssociation objectAssociation : fields) {
                if (objectAssociation.isVisible(session, adapter).isVetoed()) {
                    throw new NotLoggedInException();
                }
            }

            final FormState entryState = validateObject(context, adapter, fields);
            final Version adapterVersion = adapter.getVersion();
View Full Code Here

    @Override
    public void process(final RequestContext context) throws IOException {

        final AuthenticationSession session = context.getSession();
        if (session == null) {
            throw new NotLoggedInException();
        }

        final String levelName = (String) context.getVariable("level");

        final Level level = Level.toLevel(levelName);
View Full Code Here

            final ObjectAction action = MethodsUtils.findAction(object, methodName);
            entryState = validateParameters(context, action, object);

            final AuthenticationSession session = context.getSession();
            if (session == null && action.isUsable(new AnonymousSession(), object).isVetoed()) {
                throw new NotLoggedInException();
            }

            object.checkLock(context.getVersion(version));
            /*
             * Version adapterVersion = object.getVersion(); if (adapterVersion.different(context.getVersion(version)))
View Full Code Here

    @Override
    public void process(final RequestContext context) throws IOException {
        final AuthenticationSession session = context.getSession();
        if (session == null) {
            throw new NotLoggedInException();
        }

        try {
            final String objectId = context.getParameter("_" + OBJECT);
            final String version = context.getParameter("_" + VERSION);
View Full Code Here

    @Override
    public void process(final RequestContext context) throws IOException {
        final AuthenticationSession session = context.getSession();
        if (session == null) {
            throw new NotLoggedInException();
        }

        final String parentId = context.getParameter(OBJECT);
        final String rowId = context.getParameter(ELEMENT);
View Full Code Here

    @Override
    public void process(final RequestContext context) throws IOException {

        final AuthenticationSession session = context.getSession();
        if (session == null) {
            throw new NotLoggedInException();
        }

        final String levelName = (String) context.getVariable("level");

        final Level level = Level.toLevel(levelName);
View Full Code Here

TOP

Related Classes of org.apache.isis.viewer.scimpi.dispatcher.NotLoggedInException

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.