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>
-
Field Summary
Fields inherited from class com.atlassian.confluence.plugins.rest.entities.builders.DefaultContentEntityBuilder
settingsManager
-
Constructor Summary
ConstructorDescriptionPersonalInformationContentEntityBuilder
(SettingsManager settingsManager, DateEntityFactory dateEntityFactory, UserAccessor userAccessor, UserEntityHelper userEntityHelper, AvatarProviderAccessor avatarProviderAccessor, AttachmentManager attachmentManager) -
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 resultbuild
(PersonalInformation personalInfo) Builds a REST ContentEntity for the given CEOMethods inherited from class com.atlassian.confluence.plugins.rest.entities.builders.DefaultContentEntityBuilder
createSpaceEntity
-
Constructor Details
-
PersonalInformationContentEntityBuilder
public PersonalInformationContentEntityBuilder(SettingsManager settingsManager, DateEntityFactory dateEntityFactory, UserAccessor userAccessor, UserEntityHelper userEntityHelper, AvatarProviderAccessor avatarProviderAccessor, AttachmentManager attachmentManager)
-
-
Method Details
-
build
Description copied from interface:ContentEntityBuilder
Builds a REST ContentEntity for the given CEO- Specified by:
build
in interfaceContentEntityBuilder<PersonalInformation>
- Overrides:
build
in classWikiLinkableContentEntityBuilder<PersonalInformation>
- Parameters:
personalInfo
- theContentEntityObject
- 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
Description copied from interface:SearchEntityBuilder
Builds a REST ContentEntity for the given search result- Specified by:
build
in interfaceSearchEntityBuilder
- Overrides:
build
in classDefaultContentEntityBuilder<PersonalInformation>
- 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
- Overrides:
build
in classDefaultContentEntityBuilder<PersonalInformation>
- 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.
-