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) |
DefaultEntityBuilderFactory(SettingsManager settingsManager,
DateEntityHelper dateEntityHelper,
DefaultRestAttachmentManager restAttachmentManager,
AnyTypeDao anyTypeDao,
UserAccessor userAccessor,
UserEntityHelper userEntityHelper)
Deprecated.
since 4.3. DateEntityFactory replaces DateEntityHelper.
|
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, DateEntityHelper dateEntityHelper, DefaultRestAttachmentManager restAttachmentManager, AnyTypeDao anyTypeDao, UserAccessor userAccessor, UserEntityHelper userEntityHelper)
settingsManager
- dateEntityHelper
- restAttachmentManager
- anyTypeDao
- userAccessor
- userEntityHelper
- @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–2017 Atlassian. All rights reserved.