Class SpaceEntityBuilder
java.lang.Object
com.atlassian.confluence.plugins.rest.jackson2.entities.builders.SpaceEntityBuilder
- All Implemented Interfaces:
SearchEntityBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionSpaceEntityBuilder
(DateEntityFactory dateEntityFactory, GlobalSettingsManager settingsManager, AnyTypeDao anyTypeDao) -
Method Summary
Modifier and TypeMethodDescriptionbuild
(SearchResult result) Builds a REST ContentEntity for the given search resultbuild
(SearchResult result) Builds a REST ContentEntity for the given search result
-
Constructor Details
-
SpaceEntityBuilder
public SpaceEntityBuilder(DateEntityFactory dateEntityFactory, GlobalSettingsManager settingsManager, AnyTypeDao anyTypeDao)
-
-
Method Details
-
build
Description copied from interface:SearchEntityBuilder
Builds a REST ContentEntity for the given search result- Specified by:
build
in interfaceSearchEntityBuilder
- Parameters:
result
- theSearchResult
- Returns:
- the entity, or
null
if the current user is not permitted to view the content or if no content object can be found for the given result.
-
build
Description copied from interface:SearchEntityBuilder
Builds a REST ContentEntity for the given search result- Specified by:
build
in interfaceSearchEntityBuilder
- Parameters:
result
- theSearchResult
- Returns:
- the entity, or
null
if the current user is not permitted to view the content or if no content object can be found for the given result.
-
build
-