private String getHarvestRequestPath(String requestID, Boolean byResourceID, Boolean byDocID)
    {
        String path = harvestPath;
        
        if (requestID != null)
        {
            path += "?" + requestIDParam + "=" + requestID;
        }
        else
        {
            // error
            return null;
        }
        
        if (byResourceID)
        {
            path += "&" + byResourceIDParam + "=" + booleanTrueString;
        }
        else
        {
            path += "&" + byResourceIDParam + "=" + booleanFalseString;
        }
        
        if (byDocID)
        {
            path += "&" + byDocIDParam + "=" + booleanTrueString;
        }
        else
        {
            path += "&" + byDocIDParam + "=" + booleanFalseString;
        }
        
        return path;
    }
private String getHarvestRequestPath ( String requestID , Boolean byResourceID , Boolean byDocID ) { String path = harvestPath ; if ( requestID != null ) { path += "?" + requestIDParam + "=" + requestID ; } else { return null ; } if ( byResourceID ) { path += "&" + byResourceIDParam + "=" + booleanTrueString ; } else { path += "&" + byResourceIDParam + "=" + booleanFalseString ; } if ( byDocID ) { path += "&" + byDocIDParam + "=" + booleanTrueString ; } else { path += "&" + byDocIDParam + "=" + booleanFalseString ; } return path ; }
Obtain the path used for a harvest request

@param requestID the "request_ID" parameter for the request
@param byResourceID the "by_resource_ID" parameter for the request
@param byDocID the "by_doc_ID" parameter for the request
@return the string of the path for a harvest request