com.atlassian.confluence.plugins.rest.entities.builders
Class DefaultEntityBuilderFactory
java.lang.Object
com.atlassian.confluence.plugins.rest.entities.builders.DefaultEntityBuilderFactory
- All Implemented Interfaces:
- EntityBuilderFactory
public class DefaultEntityBuilderFactory
- extends Object
- implements EntityBuilderFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultEntityBuilderFactory
public DefaultEntityBuilderFactory(SettingsManager settingsManager,
DateEntityHelper dateEntityHelper,
DefaultRestAttachmentManager restAttachmentManager,
AnyTypeDao anyTypeDao,
UserAccessor userAccessor)
createBuilder
public SearchEntityBuilder createBuilder(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(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-2011 Atlassian. All Rights Reserved.