public class SuggestParam
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SuggestParam.SuggestFilter |
Constructor and Description |
---|
SuggestParam()
Default constructor
|
SuggestParam(java.lang.Long type,
java.lang.String[] displayProperties,
java.lang.String[] searchProperties,
java.lang.String[] sortProperties)
Constructs a new instance.
|
SuggestParam(SuggestParam param)
Convenience creator used for cloning
SuggestParam instances. |
Modifier and Type | Method and Description |
---|---|
void |
fillInFromParent(SuggestParam parent) |
java.lang.String[] |
getDisplayProperties() |
SuggestParam.SuggestFilter[] |
getFilters() |
java.lang.Boolean |
getIncludeAllDescendants() |
LocalObject[] |
getRootItems() |
java.lang.String[] |
getSearchProperties() |
java.lang.String[] |
getSortProperties() |
java.lang.Long |
getType() |
boolean |
isRunContainsQuery()
Returns whether a "contains query" should be executed
when searching for suggestions.
|
boolean |
isRunSpaceQuery()
Returns whether a "space query" should be executed
when searching for suggestions.
|
void |
setDisplayProperties(java.lang.String[] displayProperties) |
void |
setFilters(SuggestParam.SuggestFilter[] filters) |
void |
setIncludeAllDescendants(java.lang.Boolean includeAllDescendants) |
void |
setRootItems(LocalObject[] rootItem) |
void |
setRunContainsQuery(boolean runContainsQuery)
Specify whether a "contains query" should be executed when searching
for suggestions.
|
void |
setRunSpaceQuery(boolean runSpaceQuery)
Specify whether a "space query" should be executed when searching
for suggestions.
|
void |
setSearchProperties(java.lang.String[] searchProperties) |
void |
setSortProperties(java.lang.String[] sortProperties) |
void |
setType(java.lang.Long type) |
public SuggestParam()
public SuggestParam(java.lang.Long type, java.lang.String[] displayProperties, java.lang.String[] searchProperties, java.lang.String[] sortProperties)
type
- the Appian type this suggest representsdisplayProperties
- the list of display properties; these are the properties being requested for the typesearchProperties
- the list of object properties to search acrosssortProperties
- the list of object properties that are sortable for suggest requestsAppianType
public SuggestParam(SuggestParam param)
SuggestParam
instances. This creator is useful when you
intend to copy and edit a constant param template.public boolean isRunSpaceQuery()
setRunSpaceQuery(boolean)
public void setRunSpaceQuery(boolean runSpaceQuery)
runSpaceQuery
- true if a "space query" should be executed,
and false otherwisepublic boolean isRunContainsQuery()
setRunContainsQuery(boolean)
public void setRunContainsQuery(boolean runContainsQuery)
runContainsQuery
- true if a "contains query" should be executed,
and false otherwisepublic java.lang.Boolean getIncludeAllDescendants()
public void setIncludeAllDescendants(java.lang.Boolean includeAllDescendants)
public LocalObject[] getRootItems()
public void setRootItems(LocalObject[] rootItem)
public java.lang.Long getType()
public void setType(java.lang.Long type)
public java.lang.String[] getDisplayProperties()
public void setDisplayProperties(java.lang.String[] displayProperties)
public java.lang.String[] getSortProperties()
public void setSortProperties(java.lang.String[] sortProperties)
public SuggestParam.SuggestFilter[] getFilters()
public void setFilters(SuggestParam.SuggestFilter[] filters)
public java.lang.String[] getSearchProperties()
public void setSearchProperties(java.lang.String[] searchProperties)
public void fillInFromParent(SuggestParam parent)
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.