Interface ItemFactory


  • public interface ItemFactory
    Factory to createContent new items.

    The implementation must always be able to createContent a new item, but it doesn't need to processor linking with child items. In which case createContent(Item parent) should call createContent().

    • Method Detail

      • create

        Item create()
        Create a new item
        Returns:
        non-null
      • create

        Item create​(Item parent)
        Create a new item with a parent
        Parameters:
        parent - the parent
        Returns:
        non-null