public class SearchOptions extends Object implements Serializable, Comparable<SearchOptions>
Modifier and Type | Field and Description |
---|---|
protected boolean |
caseSensitive |
protected String |
description |
protected String |
expression |
protected Set<Long> |
filterIds
Optional set of document ids.
|
protected Long |
folderId |
protected int |
maxHits |
protected String |
name |
protected Object[] |
parameters |
protected int |
retrieveAliases |
protected boolean |
searchInSubPath |
protected Long |
template |
protected String |
topOperator |
static int |
TYPE_FOLDERS |
static int |
TYPE_FULLTEXT |
static int |
TYPE_PARAMETRIC |
static int |
TYPE_TAG |
protected long |
userId |
Modifier | Constructor and Description |
---|---|
protected |
SearchOptions()
Necessary constructor for the Search Web Service
|
|
SearchOptions(int type)
Creates a new instance of SearchOptions
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SearchOptions o) |
String |
getDescription() |
String |
getExpression() |
Set<Long> |
getFilterIds() |
Long |
getFolderId() |
int |
getMaxHits() |
String |
getName() |
Object[] |
getParameters() |
int |
getRetrieveAliases() |
Long |
getTemplate() |
String |
getTopOperator() |
int |
getType() |
long |
getUserId() |
boolean |
isCaseSensitive() |
boolean |
isFulltext() |
boolean |
isSearchInSubPath() |
static SearchOptions |
read(File file) |
void |
setCaseSensitive(boolean caseSensitive) |
void |
setDescription(String description) |
void |
setExpression(String expr) |
void |
setFilterIds(Set<Long> filterIds) |
void |
setFolderId(Long folderId) |
void |
setMaxHits(int maxHits) |
void |
setName(String name) |
void |
setParameters(Object[] parameters) |
void |
setRetrieveAliases(int retrieveAliases) |
void |
setSearchInSubPath(boolean searchInSubPath) |
void |
setTemplate(Long template) |
void |
setTopOperator(String topOperator) |
void |
setType(int type) |
void |
setUserId(long userId) |
void |
write(File file) |
public static final int TYPE_FULLTEXT
public static final int TYPE_TAG
public static final int TYPE_PARAMETRIC
public static final int TYPE_FOLDERS
protected int maxHits
protected String expression
protected String name
protected String description
protected Object[] parameters
protected long userId
protected String topOperator
protected boolean caseSensitive
protected int retrieveAliases
protected Set<Long> filterIds
protected Long folderId
protected boolean searchInSubPath
protected Long template
public SearchOptions(int type)
protected SearchOptions()
public Long getTemplate()
public void setTemplate(Long template)
public Object[] getParameters()
public void setParameters(Object[] parameters)
public void setExpression(String expr)
public int getType()
public void setType(int type)
public static SearchOptions read(File file) throws FileNotFoundException, IOException, ClassNotFoundException
public void write(File file) throws FileNotFoundException, IOException
FileNotFoundException
IOException
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public int compareTo(SearchOptions o)
compareTo
in interface Comparable<SearchOptions>
public int getMaxHits()
public void setMaxHits(int maxHits)
public boolean isFulltext()
public String getExpression()
public long getUserId()
public void setUserId(long userId)
public String getTopOperator()
public void setTopOperator(String topOperator)
public boolean isCaseSensitive()
public void setCaseSensitive(boolean caseSensitive)
public int getRetrieveAliases()
public void setRetrieveAliases(int retrieveAliases)
public Long getFolderId()
public void setFolderId(Long folderId)
public boolean isSearchInSubPath()
public void setSearchInSubPath(boolean searchInSubPath)
Copyright © 2008-2014 Logical Objects. All Rights Reserved.