Package org.apache.isis.noa.reflect

Examples of org.apache.isis.noa.reflect.Consent


     * then {@link #isParameterSetValidImperatively(ObjectAdapterReference, ObjectAdapter[])}, as per the
     * contract in the {@link ObjectAction implemented interface}.
     */
  public Consent isParameterSetValid(final ObjectAdapterReference object,
      final ObjectAdapter[] parameters) {
      Consent consentDeclaratively = isParameterSetValidDeclaratively(object, parameters);
        if (consentDeclaratively.isVetoed()) {
            return consentDeclaratively;
        }
    return isParameterSetValidImperatively(object, parameters);
  }
View Full Code Here


    public Consent isUsable(final ObjectAdapterReference target) {
    return peer.isUsable(target);
  }

    public Consent isUsable() {
        Consent usableDeclaratively = isUsableDeclaratively();
        if (usableDeclaratively.isVetoed()) {
            return usableDeclaratively;
        }
        return isUsableForSession();
    }
View Full Code Here

    public String getDescription() {
        return null;
    }

    public Consent isUsable() {
        Consent usableDeclaratively = isUsableDeclaratively();
        if (usableDeclaratively.isVetoed()) {
            return usableDeclaratively;
        }
        return isUsableForSession();
    }
View Full Code Here

    public ObjectAdapter[] getOptions(final ObjectAdapter target) {
        return null;
    }
   
    public Consent isUsable() {
        Consent usableDeclaratively = isUsableDeclaratively();
        if (usableDeclaratively.isVetoed()) {
            return usableDeclaratively;
        }
        return isUsableForSession();
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.noa.reflect.Consent

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.