Package org.apache.isis.applib.events

Examples of org.apache.isis.applib.events.CollectionAccessEvent


        super(InteractionContextType.COLLECTION_READ, deploymentCategory, session, invocationMethod, identifier, target);
    }

    @Override
    public CollectionAccessEvent createInteractionEvent() {
        return new CollectionAccessEvent(unwrap(getTarget()), getIdentifier());
    }
View Full Code Here


        resolveIfRequired(targetAdapter);

        final ObjectAdapter currentReferencedAdapter = otma.get(targetAdapter);
        final Object currentReferencedObj = AdapterUtils.unwrap(currentReferencedAdapter);

        final CollectionAccessEvent ev = new CollectionAccessEvent(getDelegate(), otma.getIdentifier());

        if (currentReferencedObj instanceof Collection) {
            final Collection<?> collectionViewObject = lookupViewObject(method, memberName, (Collection<?>) currentReferencedObj, otma);
            notifyListeners(ev);
            return collectionViewObject;
View Full Code Here

        super(InteractionContextType.COLLECTION_READ, deploymentCategory, session, invocationMethod, identifier, target);
    }

    @Override
    public CollectionAccessEvent createInteractionEvent() {
        return new CollectionAccessEvent(unwrap(getTarget()), getIdentifier());
    }
View Full Code Here

        super(InteractionContextType.COLLECTION_READ, session, invocationMethod, identifier, target);
    }

    @Override
    public CollectionAccessEvent createInteractionEvent() {
        return new CollectionAccessEvent(unwrap(getTarget()), getIdentifier());
    }
View Full Code Here

        resolveIfRequired(targetAdapter);

        final ObjectAdapter currentReferencedAdapter = otma.get(targetAdapter);
        final Object currentReferencedObj = AdapterUtils.unwrap(currentReferencedAdapter);

        final CollectionAccessEvent ev = new CollectionAccessEvent(getDelegate(), otma.getIdentifier());

        if (currentReferencedObj instanceof Collection) {
            final Collection<?> collectionViewObject = lookupViewObject(method, memberName, (Collection<?>) currentReferencedObj, otma);
            notifyListeners(ev);
            return collectionViewObject;
View Full Code Here

        resolveIfRequired(targetAdapter);

        final ObjectAdapter currentReferencedAdapter = otma.get(targetAdapter);
        final Object currentReferencedObj = AdapterUtils.unwrap(currentReferencedAdapter);

        final CollectionAccessEvent ev = new CollectionAccessEvent(getDelegate(), otma.getIdentifier());

        if (currentReferencedObj instanceof Collection) {
            final Collection<?> collectionViewObject =
                lookupViewObject(method, memberName, (Collection<?>) currentReferencedObj, otma);
            notifyListeners(ev);
View Full Code Here

        resolveIfRequired(targetAdapter);

        final ObjectAdapter currentReferencedAdapter = otma.get(targetAdapter);
        final Object currentReferencedObj = AdapterUtils.unwrap(currentReferencedAdapter);

        final CollectionAccessEvent ev = new CollectionAccessEvent(getDelegate(), otma.getIdentifier());

        if (currentReferencedObj instanceof Collection) {
            final Collection<?> collectionViewObject = lookupViewObject(method, memberName, (Collection<?>) currentReferencedObj, otma);
            notifyListeners(ev);
            return collectionViewObject;
View Full Code Here

        super(InteractionContextType.COLLECTION_READ, session, invocationMethod, identifier, target);
    }

    @Override
    public CollectionAccessEvent createInteractionEvent() {
        return new CollectionAccessEvent(unwrap(getTarget()), getIdentifier());
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.applib.events.CollectionAccessEvent

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.