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

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


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


    // Validate Remove
    // /////////////////////////////////////////////////////////////

    @Override
    public ValidityContext<?> createValidateRemoveInteractionContext(final AuthenticationSession session, final InteractionInvocationMethod invocationMethod, final ObjectAdapter ownerAdapter, final ObjectAdapter proposedToRemoveAdapter) {
        return new CollectionRemoveFromContext(getDeploymentCategory(), session, invocationMethod, ownerAdapter, getIdentifier(), proposedToRemoveAdapter);
    }
View Full Code Here

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

    // Validate Remove
    // /////////////////////////////////////////////////////////////

    @Override
    public ValidityContext<?> createValidateRemoveInteractionContext(final AuthenticationSession session, final InteractionInvocationMethod invocationMethod, final ObjectAdapter ownerAdapter, final ObjectAdapter proposedToRemoveAdapter) {
        return new CollectionRemoveFromContext(getDeploymentCategory(), session, invocationMethod, ownerAdapter, getIdentifier(), proposedToRemoveAdapter);
    }
View Full Code Here

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

    // Validate Remove
    // /////////////////////////////////////////////////////////////

    @Override
    public ValidityContext<?> createValidateRemoveInteractionContext(final AuthenticationSession session, final InteractionInvocationMethod invocationMethod, final ObjectAdapter ownerAdapter, final ObjectAdapter proposedToRemoveAdapter) {
        return new CollectionRemoveFromContext(session, invocationMethod, ownerAdapter, getIdentifier(), proposedToRemoveAdapter);
    }
View Full Code Here

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

    @Override
    public ValidityContext<?> createValidateRemoveInteractionContext(final AuthenticationSession session,
        final InteractionInvocationMethod invocationMethod, final ObjectAdapter ownerAdapter,
        final ObjectAdapter proposedToRemoveAdapter) {
        return new CollectionRemoveFromContext(session, invocationMethod, ownerAdapter, getIdentifier(),
            proposedToRemoveAdapter);
    }
View Full Code Here

TOP

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

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.