| java.lang.Object com.flexive.shared.search.FxSQLSearchParams
FxSQLSearchParams | public class FxSQLSearchParams implements Serializable(Code) | | Search parameters
author: Gregor Schober (gregor.schober@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
Inner Class :public static enum CacheMode | |
Inner Class :public static class BriefcaseCreationData implements Serializable | |
FxSQLSearchParams | public FxSQLSearchParams()(Code) | | Constructor.
|
getBriefcaseCreationData | public BriefcaseCreationData getBriefcaseCreationData()(Code) | | |
getCacheMode | public CacheMode getCacheMode()(Code) | | Returns the cache mode.
the cache mode. |
getQueryTimeout | public int getQueryTimeout()(Code) | | Returns the query timeout in seconds.
the query timeout |
getResultLanguages | public List<FxLanguage> getResultLanguages()(Code) | | Gets the languages that the resultset will contain.
the languages |
getWillCreateBriefcase | public boolean getWillCreateBriefcase()(Code) | | Retuns true if the query will create a briefcase with the found objects.
true if the query will create a briefcase with the found objects. |
saveResultInBriefcase | public FxSQLSearchParams saveResultInBriefcase(String name, String description, Long aclId)(Code) | | Saves the result of the query in a new briefcase.
Parameters: name - the name of the briefcase to create Parameters: description - the description of the briefcase Parameters: aclId - null if the briefcase is not shared, or a ACL to grant permissions to other users this |
saveResultInBriefcase | public FxSQLSearchParams saveResultInBriefcase(String name, String description, ACL acl)(Code) | | Saves the result of the query in a new briefcase.
Parameters: name - the name of the briefcase to create Parameters: description - the description of the briefcase Parameters: acl - null if the briefcase is not shared, or a ACL to grant permissions to other users this |
setCacheMode | public FxSQLSearchParams setCacheMode(CacheMode mode)(Code) | | Sets the caching mode for the search.
Parameters: mode - the cache mode to use CacheMode.ON: read from the cache if possible and write result to the cache CacheMode.OFF: do not read or write the cache CacheMode.READ_ONLY: read from the cache, but do not write to it if null is specified CacheMode.READ_ONLY will be used. this |
setQueryTimeout | public FxSQLSearchParams setQueryTimeout(int value)(Code) | | Sets the query timeout on the database.
Parameters: value - in seconds, zero means unlimited this |
setResultLanguages | public FxSQLSearchParams setResultLanguages(List<FxLanguage> languages)(Code) | | Sets the languages that the resultset should contain.
Parameters: languages - the languages, if null or a emtpty array is specified the default language of thecalling user will be used. this |
|
|