public class CustomContentEntityBuilder extends DefaultContentEntityBuilder
settingsManager
Constructor and Description |
---|
CustomContentEntityBuilder(SettingsManager settingsManager,
DateEntityFactory dateEntityFactory,
UserEntityHelper userEntityHelper,
ContentTypeManager contentTypeManager) |
Modifier and Type | Method and Description |
---|---|
SearchResultEntity |
build(SearchResult result)
Builds a REST ContentEntity for the given search result
|
build, build, createSpaceEntity
public CustomContentEntityBuilder(SettingsManager settingsManager, DateEntityFactory dateEntityFactory, UserEntityHelper userEntityHelper, ContentTypeManager contentTypeManager)
public SearchResultEntity build(SearchResult result)
SearchEntityBuilder
build
in interface SearchEntityBuilder
build
in class DefaultContentEntityBuilder
result
- the SearchResult
null
if the current user is not permitted to view the content or
if no content object can be found for the given result.Copyright © 2003–2016 Atlassian. All rights reserved.