Interface EntityBuilderFactory

  • All Known Implementing Classes:
    DefaultEntityBuilderFactory

    public interface EntityBuilderFactory
    Creates a builder for converting an object into a REST entity
    • Method Detail

      • createBuilder

        SearchEntityBuilder createBuilder​(String type)
        A builder for constructing a search REST entity from a search result
        Parameters:
        type - - the type of the search result
        Returns:
        A builder for constructing a search REST entity from a search result
      • createContentEntityBuilder

        <T extends ContentEntityObjectContentEntityBuilder<? super T> createContentEntityBuilder​(Class<? extends T> clazz)
        A builder for constructing a REST entity from a {{com.atlassian.confluence.core.ContentEntityObject}}
        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}}