KIE Remote Services :: Services 6.2.0.Beta3

org.kie.remote.services.rest.query
Class RemoteServicesQueryCommandBuilder

java.lang.Object
  extended by org.kie.internal.query.AbstractQueryBuilderImpl<RemoteServicesQueryCommandBuilder>
      extended by org.kie.remote.services.rest.query.RemoteServicesQueryCommandBuilder

public class RemoteServicesQueryCommandBuilder
extends org.kie.internal.query.AbstractQueryBuilderImpl<RemoteServicesQueryCommandBuilder>


Field Summary
 
Fields inherited from class org.kie.internal.query.AbstractQueryBuilderImpl
queryData
 
Constructor Summary
RemoteServicesQueryCommandBuilder()
           
RemoteServicesQueryCommandBuilder(String userId)
           
 
Method Summary
 RemoteServicesQueryCommandBuilder businessAdmin(String... businessAdminId)
          Add one or more business administrator ids as a criteria to the query
 RemoteServicesQueryCommandBuilder clear()
           
 org.jbpm.services.task.commands.TaskQueryDataCommand createTaskQueryDataCommand()
           
 org.jbpm.process.audit.command.AuditVariableInstanceLogQueryCommand createVariableInstanceLogQueryCommand()
           
 RemoteServicesQueryCommandBuilder deploymentId(String... deploymentId)
          Add one or more deployment ids as a criteria to the query
 RemoteServicesQueryCommandBuilder endDate(Date... date)
           
 RemoteServicesQueryCommandBuilder endDateMax(Date rangeEnd)
           
 RemoteServicesQueryCommandBuilder endDateMin(Date rangeStart)
           
 RemoteServicesQueryCommandBuilder initiator(String... createdById)
          Add one or more initiator ids as a criteria to the query
 RemoteServicesQueryCommandBuilder last()
           
 RemoteServicesQueryCommandBuilder oldValue(String... oldVvalue)
           
 RemoteServicesQueryCommandBuilder potentialOwner(String... potentialOwnerId)
          Add one or more potential owner ids as a criteria to the query
 RemoteServicesQueryCommandBuilder processId(String... processId)
          Add one or more process ids as a criteria to the query
 RemoteServicesQueryCommandBuilder processInstanceId(long... processInstanceId)
          Add one or more process instance ids as a criteria to the query
 RemoteServicesQueryCommandBuilder processInstanceStatus(int... status)
          Specify one more statuses (in the form of an int) as criteria.
 RemoteServicesQueryCommandBuilder processVersion(String... processVersion)
          Add one or more process versions as a criteria to the query
 RemoteServicesQueryCommandBuilder stakeHolder(String... stakeHolderId)
          Add one or more stakeholder ids as a criteria to the query
 RemoteServicesQueryCommandBuilder startDate(Date... date)
           
 RemoteServicesQueryCommandBuilder startDateMax(Date rangeEnd)
           
 RemoteServicesQueryCommandBuilder startDateMin(Date rangeStart)
           
 RemoteServicesQueryCommandBuilder taskId(long... taskId)
          Add one or more task ids as a criteria to the query
 RemoteServicesQueryCommandBuilder taskOwner(String... taskOwnerId)
          Add one or more (actual) task owner ids as a criteria to the query
 RemoteServicesQueryCommandBuilder taskStatus(org.kie.api.task.model.Status... status)
          Add one or more statuses as a criteria to the query
 RemoteServicesQueryCommandBuilder value(String... value)
           
 RemoteServicesQueryCommandBuilder variableId(String... variableId)
           
 RemoteServicesQueryCommandBuilder workItemId(long... workItemId)
           
 
Methods inherited from class org.kie.internal.query.AbstractQueryBuilderImpl
addIntParameter, addLongParameter, addObjectParameter, addRangeParameter, ascending, descending, equals, getQueryData, intersect, like, maxResults, offset, union
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteServicesQueryCommandBuilder

public RemoteServicesQueryCommandBuilder()

RemoteServicesQueryCommandBuilder

public RemoteServicesQueryCommandBuilder(String userId)
Method Detail

deploymentId

public RemoteServicesQueryCommandBuilder deploymentId(String... deploymentId)
Add one or more deployment ids as a criteria to the query

Parameters:
deploymentId -
Returns:
the current instance

processId

public RemoteServicesQueryCommandBuilder processId(String... processId)
Add one or more process ids as a criteria to the query

Parameters:
processId -
Returns:
the current instance

processVersion

public RemoteServicesQueryCommandBuilder processVersion(String... processVersion)
Add one or more process versions as a criteria to the query

Parameters:
processId -
Returns:
the current instance

processInstanceId

public RemoteServicesQueryCommandBuilder processInstanceId(long... processInstanceId)
Add one or more process instance ids as a criteria to the query

Parameters:
processInstanceId -
Returns:
the current instance

processInstanceStatus

public RemoteServicesQueryCommandBuilder processInstanceStatus(int... status)
Specify one more statuses (in the form of an int) as criteria.

Parameters:
status - one or more int statuses
Returns:
The current instance of this query builder

startDate

public RemoteServicesQueryCommandBuilder startDate(Date... date)

startDateMin

public RemoteServicesQueryCommandBuilder startDateMin(Date rangeStart)

startDateMax

public RemoteServicesQueryCommandBuilder startDateMax(Date rangeEnd)

endDate

public RemoteServicesQueryCommandBuilder endDate(Date... date)

endDateMin

public RemoteServicesQueryCommandBuilder endDateMin(Date rangeStart)

endDateMax

public RemoteServicesQueryCommandBuilder endDateMax(Date rangeEnd)

workItemId

public RemoteServicesQueryCommandBuilder workItemId(long... workItemId)

taskId

public RemoteServicesQueryCommandBuilder taskId(long... taskId)
Add one or more task ids as a criteria to the query

Parameters:
taskId -
Returns:
the current instance

taskStatus

public RemoteServicesQueryCommandBuilder taskStatus(org.kie.api.task.model.Status... status)
Add one or more statuses as a criteria to the query

Parameters:
status -
Returns:
the current instance

initiator

public RemoteServicesQueryCommandBuilder initiator(String... createdById)
Add one or more initiator ids as a criteria to the query

Parameters:
createdById -
Returns:
the current instance

stakeHolder

public RemoteServicesQueryCommandBuilder stakeHolder(String... stakeHolderId)
Add one or more stakeholder ids as a criteria to the query

Parameters:
stakeHolderId -
Returns:
the current instance

potentialOwner

public RemoteServicesQueryCommandBuilder potentialOwner(String... potentialOwnerId)
Add one or more potential owner ids as a criteria to the query

Parameters:
stakeHolderId -
Returns:
the current instance

taskOwner

public RemoteServicesQueryCommandBuilder taskOwner(String... taskOwnerId)
Add one or more (actual) task owner ids as a criteria to the query

Parameters:
taskOwnerId -
Returns:
the current instance

businessAdmin

public RemoteServicesQueryCommandBuilder businessAdmin(String... businessAdminId)
Add one or more business administrator ids as a criteria to the query

Parameters:
businessAdminId -
Returns:
the current instance

variableId

public RemoteServicesQueryCommandBuilder variableId(String... variableId)

value

public RemoteServicesQueryCommandBuilder value(String... value)

oldValue

public RemoteServicesQueryCommandBuilder oldValue(String... oldVvalue)

last

public RemoteServicesQueryCommandBuilder last()

createTaskQueryDataCommand

public org.jbpm.services.task.commands.TaskQueryDataCommand createTaskQueryDataCommand()

createVariableInstanceLogQueryCommand

public org.jbpm.process.audit.command.AuditVariableInstanceLogQueryCommand createVariableInstanceLogQueryCommand()

clear

public RemoteServicesQueryCommandBuilder clear()
Overrides:
clear in class org.kie.internal.query.AbstractQueryBuilderImpl<RemoteServicesQueryCommandBuilder>

KIE Remote Services :: Services 6.2.0.Beta3

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.