public class SpaceEntityBuilder extends Object implements SearchEntityBuilder
Constructor and Description |
---|
SpaceEntityBuilder(DateEntityFactory dateEntityFactory,
SettingsManager settingsManager,
AnyTypeDao anyTypeDao) |
SpaceEntityBuilder(DateEntityHelper dateEntityHelper,
SettingsManager settingsManager,
AnyTypeDao anyTypeDao)
Deprecated.
since 4.3. DateEntityFactory replaces DateEntityHelper.
|
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) |
@Deprecated public SpaceEntityBuilder(DateEntityHelper dateEntityHelper, SettingsManager settingsManager, AnyTypeDao anyTypeDao)
dateEntityHelper
- settingsManager
- anyTypeDao
- 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–2016 Atlassian. All rights reserved.