com.atlassian.confluence.plugins.rest.entities.builders
Class PersonalInformationContentEntityBuilder
java.lang.Object
com.atlassian.confluence.plugins.rest.entities.builders.DefaultContentEntityBuilder<T>
com.atlassian.confluence.plugins.rest.entities.builders.WikiLinkableContentEntityBuilder<PersonalInformation>
com.atlassian.confluence.plugins.rest.entities.builders.PersonalInformationContentEntityBuilder
- All Implemented Interfaces:
- ContentEntityBuilder<PersonalInformation>, SearchEntityBuilder
public class PersonalInformationContentEntityBuilder
- extends WikiLinkableContentEntityBuilder<PersonalInformation>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersonalInformationContentEntityBuilder
@Deprecated
public PersonalInformationContentEntityBuilder(SettingsManager settingsManager,
DateEntityHelper dateEntityHelper,
UserAccessor userAccessor,
UserEntityHelper userEntityHelper)
- Deprecated. since 4.3. DateEntityFactory replaces DateEntityHelper.
- Parameters:
settingsManager
- dateEntityHelper
- userAccessor
- userEntityHelper
-
PersonalInformationContentEntityBuilder
public PersonalInformationContentEntityBuilder(SettingsManager settingsManager,
DateEntityFactory dateEntityFactory,
UserAccessor userAccessor,
UserEntityHelper userEntityHelper)
build
public ContentEntity build(PersonalInformation personalInfo)
- Description copied from interface:
ContentEntityBuilder
- Builds a REST ContentEntity for the given CEO
- Specified by:
build
in interface ContentEntityBuilder<PersonalInformation>
- Overrides:
build
in class WikiLinkableContentEntityBuilder<PersonalInformation>
- Parameters:
personalInfo
- the ContentEntityObject
- 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 object.
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
- Overrides:
build
in class DefaultContentEntityBuilder<PersonalInformation>
- 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
- Overrides:
build
in class DefaultContentEntityBuilder<PersonalInformation>
- 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.
Copyright © 2003-2013 Atlassian. All Rights Reserved.