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, AnyTypeDaoInternal 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, AnyTypeDaoInternal anyTypeDao)
-
-
Method Details
-
build
Description copied from interface:SearchEntityBuilderBuilds a REST ContentEntity for the given search result- Specified by:
buildin interfaceSearchEntityBuilder- Parameters:
result- theSearchResult- Returns:
- the entity, or
nullif 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:SearchEntityBuilderBuilds a REST ContentEntity for the given search result- Specified by:
buildin interfaceSearchEntityBuilder- Parameters:
result- theSearchResult- Returns:
- the entity, or
nullif the current user is not permitted to view the content or if no content object can be found for the given result.
-
build
-