Examples of CollectionAccessEvent


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

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

        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

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

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

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

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

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

        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

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

        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

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

        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

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

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

    @Override
    public CollectionAccessEvent createInteractionEvent() {
        return new CollectionAccessEvent(unwrap(getTarget()), getIdentifier());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.