Class SearchResult
java.lang.Object
org.exoplatform.wiki.service.search.SearchResult
- Direct Known Subclasses:
TemplateSearchResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Calendarprotected Stringprotected Stringprotected org.exoplatform.social.core.identity.model.Identityprotected longprotected Stringprotected SearchResultTypeprotected Calendarprotected Stringprotected Stringprotected org.exoplatform.social.core.identity.model.Identityprotected String -
Constructor Summary
ConstructorsConstructorDescriptionSearchResult(String wikiType, String wikiOwner, String pageName, String attachmentName, String excerpt, String title, SearchResultType type, Calendar updatedDate, Calendar createdDate) SearchResult(String wikiType, org.exoplatform.social.core.identity.model.Identity poster, org.exoplatform.social.core.identity.model.Identity wikiOwnerIdentity, String pageName, String attachmentName, String excerpt, String title, SearchResultType type, Calendar updatedDate, Calendar createdDate) -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.social.core.identity.model.IdentitylonggetScore()getTitle()getType()getUrl()org.exoplatform.social.core.identity.model.IdentityvoidsetAttachmentName(String attachmentName) voidsetCreatedDate(Calendar createdDate) voidsetExcerpt(String text) voidsetPageName(String pageName) voidsetPoster(org.exoplatform.social.core.identity.model.Identity poster) voidsetScore(long score) voidvoidsetType(SearchResultType type) voidsetUpdatedDate(Calendar updatedDate) voidvoidsetWikiOwner(String wikiOwner) voidsetWikiOwnerIdentity(org.exoplatform.social.core.identity.model.Identity wikiOwnerIdentity) voidsetWikiType(String wikiType)
-
Field Details
-
wikiType
-
wikiOwner
-
wikiOwnerIdentity
protected org.exoplatform.social.core.identity.model.Identity wikiOwnerIdentity -
poster
protected org.exoplatform.social.core.identity.model.Identity poster -
pageName
-
attachmentName
-
excerpt
-
title
-
type
-
url
-
score
protected long score -
updatedDate
-
createdDate
-
-
Constructor Details
-
SearchResult
public SearchResult() -
SearchResult
-
SearchResult
public SearchResult(String wikiType, org.exoplatform.social.core.identity.model.Identity poster, org.exoplatform.social.core.identity.model.Identity wikiOwnerIdentity, String pageName, String attachmentName, String excerpt, String title, SearchResultType type, Calendar updatedDate, Calendar createdDate)
-
-
Method Details
-
getWikiType
-
setWikiType
-
getWikiOwner
-
setWikiOwner
-
getPageName
-
setPageName
-
getAttachmentName
-
setAttachmentName
-
getTitle
-
setTitle
-
getExcerpt
-
setExcerpt
-
getType
-
setType
-
getUrl
-
setUrl
-
getScore
public long getScore() -
setScore
public void setScore(long score) -
getUpdatedDate
-
setUpdatedDate
-
getCreatedDate
- Returns:
- the createdDate
-
setCreatedDate
- Parameters:
createdDate- the createdDate to set
-
getWikiOwnerIdentity
public org.exoplatform.social.core.identity.model.Identity getWikiOwnerIdentity() -
setWikiOwnerIdentity
public void setWikiOwnerIdentity(org.exoplatform.social.core.identity.model.Identity wikiOwnerIdentity) -
getPoster
public org.exoplatform.social.core.identity.model.Identity getPoster() -
setPoster
public void setPoster(org.exoplatform.social.core.identity.model.Identity poster)
-