Package org.pentaho.actionsequence.dom

Examples of org.pentaho.actionsequence.dom.IActionSequenceOutput


   *          the action definition output to check
   * @return true if this output corresponds to a public destination-bound output
   */
  protected boolean hasPublicDestination( IActionOutput contentOutput ) {
    String resolvedName = contentOutput.getPublicName();
    IActionSequenceOutput publicOutput = getActionDefinition().getDocument().getOutput( resolvedName );
    if ( publicOutput == null ) {
      return false;
    }
    return ( publicOutput.getType().equals( ActionSequenceDocument.CONTENT_TYPE )
      && publicOutput.getDestinations().length > 0 );
  }
View Full Code Here


      } else {
        input.addSource( "request", parameterName );
      }
    }

    IActionSequenceOutput outputStreamOutput = actionSequenceDocument.createOutput( "outputstream", CONTENT_TYPE ); //$NON-NLS-1$
    outputStreamOutput.addDestination( RESPONSE_OUTPUT_DESTINATION, "content" ); //$NON-NLS-1$

    MQLAction mqlAction = (MQLAction) actionSequenceDocument.addAction( MQLAction.class );
    mqlAction.setActionInputValue( "query", queryInput ); //$NON-NLS-1$

    // add inputs from parameterNameSet to this action
View Full Code Here

TOP

Related Classes of org.pentaho.actionsequence.dom.IActionSequenceOutput

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.