Package org.apache.isis.core.runtime.transaction.facets

Examples of org.apache.isis.core.runtime.transaction.facets.ActionInvocationFacetWrapTransaction


    @Override
    public Facet decorate(final Facet facet, final FacetHolder requiredHolder) {
        final Class<? extends Facet> facetType = facet.facetType();
        if (facetType == ActionInvocationFacet.class) {
            final ActionInvocationFacet decoratedFacet = (ActionInvocationFacet) facet;
            final Facet decoratingFacet = new ActionInvocationFacetWrapTransaction(decoratedFacet);
            requiredHolder.addFacet(decoratingFacet);
            return decoratingFacet;
        }

        if (facetType == CollectionAddToFacet.class) {
View Full Code Here


    @Override
    public Facet decorate(final Facet facet, final FacetHolder requiredHolder) {
        final Class<? extends Facet> facetType = facet.facetType();
        if (facetType == ActionInvocationFacet.class) {
            final ActionInvocationFacet decoratedFacet = (ActionInvocationFacet) facet;
            final Facet decoratingFacet = new ActionInvocationFacetWrapTransaction(decoratedFacet);
            requiredHolder.addFacet(decoratingFacet);
            return decoratingFacet;
        }

        if (facetType == CollectionAddToFacet.class) {
View Full Code Here

TOP

Related Classes of org.apache.isis.core.runtime.transaction.facets.ActionInvocationFacetWrapTransaction

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.