public class SearchResultItem extends Object
| Constructor and Description |
|---|
SearchResultItem() |
| Modifier and Type | Method and Description |
|---|---|
AttachmentType |
getAttachmentType()
Get the attachment type if the search result item is an attachment
|
List<String> |
getContextData()
Gets the context data for this specific search result.
|
Boolean |
getFavorite()
Get a flag indicating if the search result item is a favorite
|
String |
getMimeType()
Gets the mime type.
|
Long |
getObjectId()
Gets the object id for this specific search result.
|
String |
getObjectType()
Gets the object type for this specific search result.
|
Boolean |
getParentObjectFavorite()
Get a flag indicating if the search result item parent is a favorite
|
Long |
getParentObjectId()
Gets the parent object id for this specific search result.
|
String |
getParentObjectName()
Gets the parent object name for this specific search result.
|
String |
getParentObjectType()
Gets the parent object type for this specific search result.
|
String |
getText()
Gets the text for this specific search result.
|
void |
setAttachmentType(AttachmentType attachmentType)
Set the attachment type if the search result item is an attachment
|
void |
setContextData(List<String> contextData)
Sets the context data for this specific search result.
|
void |
setFavorite(Boolean favorite)
Set a flag indicating if the search result item is a favorite
|
void |
setMimeType(String mimeType)
Sets the mime type.
|
void |
setObjectId(Long objectId)
Sets the object id for this specific search result.
|
void |
setObjectType(String objectType)
Sets the object type for this specific search result.
|
void |
setParentObjectFavorite(Boolean parentObjectFavorite)
Set a flag indicating if the search result item parent is a favorite
|
void |
setParentObjectId(Long parentObjectId)
Sets the parent object id for this specific search result.
|
void |
setParentObjectName(String parentObjectName)
Sets the parent object name for this specific search result.
|
void |
setParentObjectType(String parentObjectType)
Sets the parent object type for this specific search result.
|
void |
setText(String text)
Sets the text for this specific search result.
|
public String getText()
public void setText(String text)
text - the new textpublic Long getObjectId()
public void setObjectId(Long objectId)
objectId - the new object idpublic String getObjectType()
public void setObjectType(String objectType)
objectType - the new object typepublic Long getParentObjectId()
public void setParentObjectId(Long parentObjectId)
parentObjectId - the new parent object idpublic String getParentObjectType()
public void setParentObjectType(String parentObjectType)
parentObjectType - the new parent object typepublic String getParentObjectName()
public void setParentObjectName(String parentObjectName)
parentObjectName - the new parent object namepublic List<String> getContextData()
public void setContextData(List<String> contextData)
contextData - the new context datapublic AttachmentType getAttachmentType()
public void setAttachmentType(AttachmentType attachmentType)
attachmentType - the attachment typepublic String getMimeType()
public void setMimeType(String mimeType)
mimeType - the new mime typepublic Boolean getFavorite()
public void setFavorite(Boolean favorite)
favorite - the favorite flagpublic Boolean getParentObjectFavorite()
public void setParentObjectFavorite(Boolean parentObjectFavorite)
parentObjectFavorite - the favorite flagCopyright © 2014–2019 Smartsheet. All rights reserved.