Module platform

Class ItemFactory

All Implemented Interfaces:
Manageable, PersistenceCapable, Shareable, RegistryContext, UIItem, UserFields, XObject, Described, Map, Serializable
Direct Known Subclasses:
ObjectItemFactory

public class ItemFactory extends ObjectExpr implements UIItem
See Also:
  • Field Details

  • Constructor Details

    • ItemFactory

      public ItemFactory()
  • Method Details

    • getNTypeImpl

      protected Node.NType getNTypeImpl()
      Description copied from class: Node
      This method returns the Node.NType which describes the managed fields of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      getNTypeImpl in class ObjectExpr
      Returns:
      type describing the managed fields of the class of this node
    • newInstance

      protected Node newInstance()
      Description copied from class: Node
      This method returns a new instance of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      newInstance in class ObjectExpr
      Returns:
      new instance of class of this node
    • createItem

      public final Item createItem(Context ctx)
    • createItemImpl

      protected Object createItemImpl(Context ctx)
    • createList

      public final ObjectList<Item> createList(Context ctx)
    • invoke

      public Object invoke(Context ctx, String method, Object arg)
      Specified by:
      invoke in interface UIItem
    • isAvailable

      public boolean isAvailable(Context ctx)
      Specified by:
      isAvailable in interface UIItem
    • isEnabled

      public boolean isEnabled(Context ctx)
      Specified by:
      isEnabled in interface UIItem
    • getUINodeType

      public int getUINodeType()
      Specified by:
      getUINodeType in interface UIItem