com.atlassian.jira.entityengine
Class FindOptions

java.lang.Object
  extended by org.ofbiz.core.entity.EntityFindOptions
      extended by com.atlassian.jira.entityengine.FindOptions
All Implemented Interfaces:
Serializable

public class FindOptions
extends org.ofbiz.core.entity.EntityFindOptions

Entity options class with convenience builder methods.

Since:
v5.1
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ofbiz.core.entity.EntityFindOptions
CONCUR_READ_ONLY, CONCUR_UPDATABLE, distinct, maxResults, resultSetConcurrency, resultSetType, specifyTypeAndConcur, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE
 
Method Summary
 FindOptions distinct(boolean distinct)
          Returns a new FindOptions with the given distinct.
static FindOptions findOptions()
          Creates a new FindOptions with no options set.
 FindOptions maxResults(int maxResults)
          Returns a new FindOptions with the given maxResults.
 FindOptions resultSetConcurrency(int resultSetConcurrency)
          Returns a new FindOptions with the given resultSetConcurrency.
 FindOptions resultSetType(int resultSetType)
          Returns a new FindOptions with the given resultSetType.
 FindOptions specifyTypeAndConcur(boolean specifyTypeAndConcur)
          Returns a new FindOptions with the given specifyTypeAndConcur.
 
Methods inherited from class org.ofbiz.core.entity.EntityFindOptions
getDistinct, getMaxResults, getResultSetConcurrency, getResultSetType, getSpecifyTypeAndConcur, setDistinct, setMaxResults, setResultSetConcurrency, setResultSetType, setSpecifyTypeAndConcur
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findOptions

public static FindOptions findOptions()
Creates a new FindOptions with no options set.

Returns:
a new FindOptions

specifyTypeAndConcur

public FindOptions specifyTypeAndConcur(boolean specifyTypeAndConcur)
Returns a new FindOptions with the given specifyTypeAndConcur.

Parameters:
specifyTypeAndConcur -
Returns:
a new FindOptions

resultSetType

public FindOptions resultSetType(int resultSetType)
Returns a new FindOptions with the given resultSetType.

Parameters:
resultSetType -
Returns:
a new FindOptions

resultSetConcurrency

public FindOptions resultSetConcurrency(int resultSetConcurrency)
Returns a new FindOptions with the given resultSetConcurrency.

Parameters:
resultSetConcurrency -
Returns:
a new FindOptions

distinct

public FindOptions distinct(boolean distinct)
Returns a new FindOptions with the given distinct.

Parameters:
distinct -
Returns:
a new FindOptions

maxResults

public FindOptions maxResults(int maxResults)
Returns a new FindOptions with the given maxResults.

Parameters:
maxResults -
Returns:
a new FindOptions


Copyright © 2002-2012 Atlassian. All Rights Reserved.