com.atlassian.confluence.plugins.rest.entities.builders
Class SpaceEntityBuilder
java.lang.Object
com.atlassian.confluence.plugins.rest.entities.builders.SpaceEntityBuilder
- All Implemented Interfaces:
- SearchEntityBuilder
public class SpaceEntityBuilder
- extends Object
- implements SearchEntityBuilder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpaceEntityBuilder
@Deprecated
public SpaceEntityBuilder(DateEntityHelper dateEntityHelper,
SettingsManager settingsManager,
AnyTypeDao anyTypeDao)
- Deprecated. since 4.3. DateEntityFactory replaces DateEntityHelper.
- Parameters:
dateEntityHelper
- settingsManager
- anyTypeDao
-
SpaceEntityBuilder
public SpaceEntityBuilder(DateEntityFactory dateEntityFactory,
SettingsManager settingsManager,
AnyTypeDao anyTypeDao)
build
public SearchResultEntity build(SearchResult result)
- Description copied from interface:
SearchEntityBuilder
- Builds a REST ContentEntity for the given search result
- Specified by:
build
in interface SearchEntityBuilder
- Parameters:
result
- the SearchResult
- 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
public SearchResultEntity build(SearchResult result)
- Description copied from interface:
SearchEntityBuilder
- Builds a REST ContentEntity for the given search result
- Specified by:
build
in interface SearchEntityBuilder
- Parameters:
result
- the SearchResult
- 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
public SpaceEntity build(Space space)
Copyright © 2003-2013 Atlassian. All Rights Reserved.