fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/userquery/UserQueryClient.java
public FluidItemListing executeUserQuery(
			UserQuery queryToExecuteParam,
			boolean populateAncestorIdParam,
			int queryLimitParam,
			int offsetParam,
			boolean forceUseDatabaseParam
	) {
		if(this.serviceTicket != null && queryToExecuteParam != null) {
			queryToExecuteParam.setServiceTicket(this.serviceTicket);
		}

		try {
			return new FluidItemListing(this.postJson(
					queryToExecuteParam, WS.Path.UserQuery.Version1.executeUserQuery(
							populateAncestorIdParam,
							forceUseDatabaseParam,
							queryLimitParam,
							offsetParam)));
		} catch (JSONException jsonExcept) {
			//JSON Issue...
			throw new FluidClientException(jsonExcept.getMessage(),
					FluidClientException.ErrorCode.JSON_PARSING);
		}
	}
public FluidItemListing executeUserQuery(
			UserQuery queryToExecuteParam,
			boolean populateAncestorIdParam,
			int queryLimitParam,
			int offsetParam,
			boolean forceUseDatabaseParam
	) {
		if(this.serviceTicket != null && queryToExecuteParam != null) {
			queryToExecuteParam.setServiceTicket(this.serviceTicket);
		}

		try {
			return new FluidItemListing(this.postJson(
					queryToExecuteParam, WS.Path.UserQuery.Version1.executeUserQuery(
							populateAncestorIdParam,
							forceUseDatabaseParam,
							queryLimitParam,
							offsetParam)));
		} catch (JSONException jsonExcept) {
			//JSON Issue...
			throw new FluidClientException(jsonExcept.getMessage(),
					FluidClientException.ErrorCode.JSON_PARSING);
		}
	}
Executes the {@code UserQuery} {@code queryToExecuteParam}
and returns the result information.

@param queryToExecuteParam The UserQuery to execute.
@param populateAncestorIdParam - Whether the ancestor id should be populated (when applicable).
@param queryLimitParam The query limit.
@param offsetParam The query offset.
@param forceUseDatabaseParam Force to use underlying database.

@return The UserQuery result.

@see FluidItemListing