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) |
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
- public DefaultEntityBuilderFactory(SettingsManager settingsManager, DateEntityFactory dateEntityFactory, DefaultRestAttachmentManager restAttachmentManager, AnyTypeDao anyTypeDao, UserAccessor userAccessor, UserEntityHelper userEntityHelper, ContentTypeManager contentTypeManager)
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–2015 Atlassian. All rights reserved.