Class ListableUtil

java.lang.Object
net.sf.basedb.util.listable.ListableUtil

public class ListableUtil
extends Object
Utility class for working with Listable items.
Since:
3.5
Author:
nicklas
  • Constructor Details

    • ListableUtil

      public ListableUtil()
  • Method Details

    • getListableItems

      public static List<Item> getListableItems​(Item item, SyncFilter.SourceItemTransform transform)
      Get all item types that can have the specified relation to the with the given item type. Depending on the transform parameter this return either the parent or child items or the item itself.
    • getTransformerFactory

      public static SourceItemTransformerFactory getTransformerFactory​(Item targetItemType)
      Create a source item transformer factory that can transform items to the given target item type. If no transformer factory exists, null is returned.