fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/flow/FlowStepClient.java
public JobView getStandardJobViewBy(
            String flowNameParam,
            String flowStepNameParam,
            String flowViewNameParam)
    {
        if(flowNameParam == null ||
                flowNameParam.trim().isEmpty())
        {
            throw new FluidClientException(
                    "Flow name not provided.",
                    FluidClientException.ErrorCode.FIELD_VALIDATE);
        }

        if(flowStepNameParam == null ||
                flowStepNameParam.trim().isEmpty())
        {
            throw new FluidClientException(
                    "Step name not provided.",
                    FluidClientException.ErrorCode.FIELD_VALIDATE);
        }

        if(flowViewNameParam == null ||
                flowViewNameParam.trim().isEmpty())
        {
            throw new FluidClientException(
                    "View name not provided.",
                    FluidClientException.ErrorCode.FIELD_VALIDATE);
        }

        JobViewListing jobViewListing = this.getJobViewsByStepName(
                flowStepNameParam, new Flow(flowNameParam));

        JobView returnVal = null;

        if(jobViewListing.getListingCount().intValue() > 1)
        {
            for(JobView jobView : jobViewListing.getListing())
            {
                if(ViewType.STANDARD.equals(jobView.getViewType()) &&
                        jobView.getViewName().equalsIgnoreCase(flowViewNameParam))
                {
                    returnVal = jobView;
                    break;
                }
            }
        }

        if(returnVal == null)
        {
            throw new FluidClientException(
                    "No View found for Flow '"+
                            flowNameParam +"', Step '"+
                            flowStepNameParam+"' and View '"+
                            flowViewNameParam+"'.",
                    FluidClientException.ErrorCode.NO_RESULT);
        }

        return returnVal;
    }
public JobView getStandardJobViewBy(
            String flowNameParam,
            String flowStepNameParam,
            String flowViewNameParam)
    {
        if(flowNameParam == null ||
                flowNameParam.trim().isEmpty())
        {
            throw new FluidClientException(
                    "Flow name not provided.",
                    FluidClientException.ErrorCode.FIELD_VALIDATE);
        }

        if(flowStepNameParam == null ||
                flowStepNameParam.trim().isEmpty())
        {
            throw new FluidClientException(
                    "Step name not provided.",
                    FluidClientException.ErrorCode.FIELD_VALIDATE);
        }

        if(flowViewNameParam == null ||
                flowViewNameParam.trim().isEmpty())
        {
            throw new FluidClientException(
                    "View name not provided.",
                    FluidClientException.ErrorCode.FIELD_VALIDATE);
        }

        JobViewListing jobViewListing = this.getJobViewsByStepName(
                flowStepNameParam, new Flow(flowNameParam));

        JobView returnVal = null;

        if(jobViewListing.getListingCount().intValue() > 1)
        {
            for(JobView jobView : jobViewListing.getListing())
            {
                if(ViewType.STANDARD.equals(jobView.getViewType()) &&
                        jobView.getViewName().equalsIgnoreCase(flowViewNameParam))
                {
                    returnVal = jobView;
                    break;
                }
            }
        }

        if(returnVal == null)
        {
            throw new FluidClientException(
                    "No View found for Flow '"+
                            flowNameParam +"', Step '"+
                            flowStepNameParam+"' and View '"+
                            flowViewNameParam+"'.",
                    FluidClientException.ErrorCode.NO_RESULT);
        }

        return returnVal;
    }
public JobView getStandardJobViewBy ( String flowNameParam , String flowStepNameParam , String flowViewNameParam ) { if ( flowNameParam == null || flowNameParam . trim ( ) . isEmpty ( ) ) { throw new FluidClientException ( "Flow name not provided." , FluidClientException . ErrorCode . FIELD_VALIDATE ) ; } if ( flowStepNameParam == null || flowStepNameParam . trim ( ) . isEmpty ( ) ) { throw new FluidClientException ( "Step name not provided." , FluidClientException . ErrorCode . FIELD_VALIDATE ) ; } if ( flowViewNameParam == null || flowViewNameParam . trim ( ) . isEmpty ( ) ) { throw new FluidClientException ( "View name not provided." , FluidClientException . ErrorCode . FIELD_VALIDATE ) ; } JobViewListing jobViewListing = this . getJobViewsByStepName ( flowStepNameParam , new Flow ( flowNameParam ) ) ; JobView returnVal = null ; if ( jobViewListing . getListingCount ( ) . intValue ( ) > 1 ) { for ( JobView jobView : jobViewListing . getListing ( ) ) { if ( ViewType . STANDARD . equals ( jobView . getViewType ( ) ) && jobView . getViewName ( ) . equalsIgnoreCase ( flowViewNameParam ) ) { returnVal = jobView ; break ; } } } if ( returnVal == null ) { throw new FluidClientException ( "No View found for Flow '" + flowNameParam + "', Step '" + flowStepNameParam + "' and View '" + flowViewNameParam + "'." , FluidClientException . ErrorCode . NO_RESULT ) ; } return returnVal ; }
Retrieves all Assignment {@link com.fluidbpm.program.api.vo.flow.JobView}s
via Flow Step Name key.

@param flowNameParam The Flow Name.
@param flowStepNameParam The Flow Step Name.
@param flowViewNameParam The Step View Name.

@return The View that matches the credentials.

@see com.fluidbpm.program.api.vo.flow.FlowStep.StepType
@see JobView
Retrieves all Assignment { @link com . fluidbpm . program . api . vo . flow . JobView } s via Flow Step Name key .