public class SpaceEntityBuilder extends Object implements SearchEntityBuilder
Constructor and Description |
---|
SpaceEntityBuilder(DateEntityFactory dateEntityFactory,
SettingsManager settingsManager,
AnyTypeDao anyTypeDao) |
Modifier and Type | Method and Description |
---|---|
SearchResultEntity |
build(SearchResult result)
Builds a REST ContentEntity for the given search result
|
SearchResultEntity |
build(SearchResult result)
Builds a REST ContentEntity for the given search result
|
SpaceEntity |
build(Space space) |
public SpaceEntityBuilder(DateEntityFactory dateEntityFactory, SettingsManager settingsManager, AnyTypeDao anyTypeDao)
public SearchResultEntity build(SearchResult result)
SearchEntityBuilder
build
in interface SearchEntityBuilder
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.public SearchResultEntity build(SearchResult result)
SearchEntityBuilder
build
in interface SearchEntityBuilder
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.public SpaceEntity build(Space space)
Copyright © 2003–2019 Atlassian. All rights reserved.