Package org.apache.isis.core.metamodel.interactions

Examples of org.apache.isis.core.metamodel.interactions.ActionInvocationContext


        return resultSet;
    }

    @Override
    public ActionInvocationContext createActionInvocationInteractionContext(final AuthenticationSession session, final InteractionInvocationMethod invocationMethod, final ObjectAdapter targetObject, final ObjectAdapter[] proposedArguments) {
        return new ActionInvocationContext(getDeploymentCategory(), getAuthenticationSession(), invocationMethod, targetObject, getIdentifier(), proposedArguments);
    }
View Full Code Here


    @Override
    public String invalidates(final ValidityContext<? extends ValidityEvent> context) {
        if (!(context instanceof ActionInvocationContext)) {
            return null;
        }
        final ActionInvocationContext actionInvocationContext = (ActionInvocationContext) context;
        return invalidReason(actionInvocationContext.getTarget(), actionInvocationContext.getArgs());
    }
View Full Code Here

        return resultSet;
    }

    @Override
    public ActionInvocationContext createActionInvocationInteractionContext(final AuthenticationSession session, final InteractionInvocationMethod invocationMethod, final ObjectAdapter targetObject, final ObjectAdapter[] proposedArguments) {
        return new ActionInvocationContext(getDeploymentCategory(), getAuthenticationSession(), invocationMethod, targetObject, getIdentifier(), proposedArguments);
    }
View Full Code Here

    @Override
    public String invalidates(final ValidityContext<? extends ValidityEvent> context) {
        if (!(context instanceof ActionInvocationContext)) {
            return null;
        }
        final ActionInvocationContext actionInvocationContext = (ActionInvocationContext) context;
        return invalidReason(actionInvocationContext.getTarget(), actionInvocationContext.getArgs());
    }
View Full Code Here

        }

        // reset (belt-n-braces)
        currentInteraction.set(null);

        final ActionInvocationContext aic = (ActionInvocationContext) ic;
        final ActionInteractionEvent<?> event =
                interactionHelper.postEventForAction(
                        eventType(), null, null, AbstractInteractionEvent.Phase.VALIDATE,
                        getIdentified(), ic.getTarget(), aic.getArgs());
        if (event != null && event.isInvalid()) {
            return event.getInvalidityReason();
        }

        // make available for next phases (executing/executed)
View Full Code Here

    @Override
    public String invalidates(final ValidityContext<? extends ValidityEvent> context) {
        if (!(context instanceof ActionInvocationContext)) {
            return null;
        }
        final ActionInvocationContext actionInvocationContext = (ActionInvocationContext) context;
        return invalidReason(actionInvocationContext.getTarget(), actionInvocationContext.getArgs());
    }
View Full Code Here

        return resultSet;
    }

    @Override
    public ActionInvocationContext createActionInvocationInteractionContext(final AuthenticationSession session, final InteractionInvocationMethod invocationMethod, final ObjectAdapter targetObject, final ObjectAdapter[] proposedArguments) {
        return new ActionInvocationContext(getAuthenticationSession(), invocationMethod, targetObject, getIdentifier(), proposedArguments);
    }
View Full Code Here

        return resultSet;
    }

    @Override
    public ActionInvocationContext createActionInvocationInteractionContext(final AuthenticationSession session, final InteractionInvocationMethod invocationMethod, final ObjectAdapter targetObject, final ObjectAdapter[] proposedArguments) {
        return new ActionInvocationContext(getDeploymentCategory(), getAuthenticationSession(), invocationMethod, targetObject, getIdentifier(), proposedArguments);
    }
View Full Code Here

    @Override
    public ActionInvocationContext createActionInvocationInteractionContext(final AuthenticationSession session,
        final InteractionInvocationMethod invocationMethod, final ObjectAdapter targetObject,
        final ObjectAdapter[] proposedArguments) {
        return new ActionInvocationContext(getAuthenticationSession(), invocationMethod, targetObject, getIdentifier(),
            proposedArguments);
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.core.metamodel.interactions.ActionInvocationContext

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.