public class DefaultEntityBuilderFactory extends Object implements EntityBuilderFactory
Constructor and Description |
---|
DefaultEntityBuilderFactory(SettingsManager settingsManager,
DateEntityFactory dateEntityFactory,
DefaultRestAttachmentManager restAttachmentManager,
AnyTypeDao anyTypeDao,
UserAccessor userAccessor,
UserEntityHelper userEntityHelper,
ContentTypeManager contentTypeManager)
Deprecated.
since 5.10
|
DefaultEntityBuilderFactory(SettingsManager settingsManager,
DateEntityFactory dateEntityFactory,
DefaultRestAttachmentManager restAttachmentManager,
AnyTypeDao anyTypeDao,
UserAccessor userAccessor,
UserEntityHelper userEntityHelper,
ContentTypeManager contentTypeManager,
AvatarProviderAccessor avatarProviderAccessor,
AttachmentManager attachmentManager) |
Modifier and Type | Method and Description |
---|---|
SearchEntityBuilder |
createBuilder(String type)
A builder for constructing a search REST entity from a search result
|
<T extends ContentEntityObject> |
createContentEntityBuilder(Class<? extends T> clazz)
A builder for constructing a REST entity from a {{com.atlassian.confluence.core.ContentEntityObject}}
|
@Deprecated public DefaultEntityBuilderFactory(SettingsManager settingsManager, DateEntityFactory dateEntityFactory, DefaultRestAttachmentManager restAttachmentManager, AnyTypeDao anyTypeDao, UserAccessor userAccessor, UserEntityHelper userEntityHelper, ContentTypeManager contentTypeManager)
settingsManager
- dateEntityFactory
- restAttachmentManager
- anyTypeDao
- userAccessor
- userEntityHelper
- contentTypeManager
- public DefaultEntityBuilderFactory(SettingsManager settingsManager, DateEntityFactory dateEntityFactory, DefaultRestAttachmentManager restAttachmentManager, AnyTypeDao anyTypeDao, UserAccessor userAccessor, UserEntityHelper userEntityHelper, ContentTypeManager contentTypeManager, AvatarProviderAccessor avatarProviderAccessor, AttachmentManager attachmentManager)
public SearchEntityBuilder createBuilder(String type)
EntityBuilderFactory
createBuilder
in interface EntityBuilderFactory
type
- - the type of the search resultpublic <T extends ContentEntityObject> ContentEntityBuilder<? super T> createContentEntityBuilder(Class<? extends T> clazz)
EntityBuilderFactory
createContentEntityBuilder
in interface EntityBuilderFactory
T
- A ContentEntityObjectclazz
- the class of the content entityCopyright © 2003–2020 Atlassian. All rights reserved.