com.atlassian.confluence.plugins.rest.entities.builders
Class DefaultEntityBuilderFactory

java.lang.Object
  extended by com.atlassian.confluence.plugins.rest.entities.builders.DefaultEntityBuilderFactory
All Implemented Interfaces:
EntityBuilderFactory

public class DefaultEntityBuilderFactory
extends java.lang.Object
implements EntityBuilderFactory


Constructor Summary
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.
 
Method Summary
 SearchEntityBuilder createBuilder(java.lang.String type)
          A builder for constructing a search REST entity from a search result
<T extends ContentEntityObject>
ContentEntityBuilder<? super T>
createContentEntityBuilder(java.lang.Class<? extends T> clazz)
          A builder for constructing a REST entity from a {{com.atlassian.confluence.core.ContentEntityObject}}
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEntityBuilderFactory

@Deprecated
public DefaultEntityBuilderFactory(SettingsManager settingsManager,
                                              DateEntityHelper dateEntityHelper,
                                              DefaultRestAttachmentManager restAttachmentManager,
                                              AnyTypeDao anyTypeDao,
                                              UserAccessor userAccessor,
                                              UserEntityHelper userEntityHelper)
Deprecated. since 4.3. DateEntityFactory replaces DateEntityHelper.

Parameters:
settingsManager -
dateEntityHelper -
restAttachmentManager -
anyTypeDao -
userAccessor -
userEntityHelper -

DefaultEntityBuilderFactory

public DefaultEntityBuilderFactory(SettingsManager settingsManager,
                                   DateEntityFactory dateEntityFactory,
                                   DefaultRestAttachmentManager restAttachmentManager,
                                   AnyTypeDao anyTypeDao,
                                   UserAccessor userAccessor,
                                   UserEntityHelper userEntityHelper,
                                   ContentTypeManager contentTypeManager)
Method Detail

createBuilder

public SearchEntityBuilder createBuilder(java.lang.String type)
Description copied from interface: EntityBuilderFactory
A builder for constructing a search REST entity from a search result

Specified by:
createBuilder in interface EntityBuilderFactory
Parameters:
type - - the type of the search result
Returns:
A builder for constructing a search REST entity from a search result

createContentEntityBuilder

public <T extends ContentEntityObject> ContentEntityBuilder<? super T> createContentEntityBuilder(java.lang.Class<? extends T> clazz)
Description copied from interface: EntityBuilderFactory
A builder for constructing a REST entity from a {{com.atlassian.confluence.core.ContentEntityObject}}

Specified by:
createContentEntityBuilder in interface EntityBuilderFactory
Type Parameters:
T - A ContentEntityObject
Parameters:
clazz - the class of the content entity
Returns:
A builder for constructing a REST entity from a {{com.atlassian.confluence.core.ContentEntityObject}}


Copyright © 2003-2014 Atlassian. All Rights Reserved.