Interface IBaseFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com4j.Com4jObject addItem​(Object itemData)
      Creates a new item object.
      short fetchLevel​(String fieldName)
      The Fetch level for a field.
      void fetchLevel​(String fieldName, short pVal)
      The Fetch level for a field.
      IList fields()
      The list of all available fields for the entity managed by the factory.
      Object fields​(int index)  
      com4j.Com4jObject filter()
      The TDFilter object for the factory.
      com4j.Com4jObject history()
      The History object for this entity.
      com4j.Com4jObject item​(Object itemKey)
      Gets an object managed by the factory by its key.
      IList newList​(String filter)
      Creates a list of objects according to the specified filter.
      void removeItem​(Object itemKey)
      Removes item from the database.
      • Methods inherited from interface com4j.Com4jObject

        advise, dispose, equals, getComThread, getIUnknownPointer, getPointer, getPtr, hashCode, is, queryInterface, setName, toString
    • Method Detail

      • item

        com4j.Com4jObject item​(Object itemKey)

        Gets an object managed by the factory by its key.

        Getter method for the COM property "Item"

        Parameters:
        itemKey - Mandatory java.lang.Object parameter.
        Returns:
        Returns a value of type com4j.Com4jObject
      • newList

        IList newList​(String filter)

        Creates a list of objects according to the specified filter.

        Parameters:
        filter - Mandatory java.lang.String parameter.
        Returns:
        Returns a value of type otaclient.IList
      • fields

        IList fields()

        The list of all available fields for the entity managed by the factory.

        Getter method for the COM property "Fields"

        Returns:
        Returns a value of type otaclient.IList
      • fields

        Object fields​(int index)
      • addItem

        com4j.Com4jObject addItem​(Object itemData)

        Creates a new item object.

        Parameters:
        itemData - Mandatory java.lang.Object parameter.
        Returns:
        Returns a value of type com4j.Com4jObject
      • removeItem

        void removeItem​(Object itemKey)

        Removes item from the database. Removal takes place immediately, without a Post.

        Parameters:
        itemKey - Mandatory java.lang.Object parameter.
      • filter

        com4j.Com4jObject filter()

        The TDFilter object for the factory.

        Getter method for the COM property "Filter"

        Returns:
        Returns a value of type com4j.Com4jObject
      • history

        com4j.Com4jObject history()

        The History object for this entity.

        Getter method for the COM property "History"

        Returns:
        Returns a value of type com4j.Com4jObject
      • fetchLevel

        short fetchLevel​(String fieldName)

        The Fetch level for a field.

        Getter method for the COM property "FetchLevel"

        Parameters:
        fieldName - Mandatory java.lang.String parameter.
        Returns:
        Returns a value of type short
      • fetchLevel

        void fetchLevel​(String fieldName,
                        short pVal)

        The Fetch level for a field.

        Setter method for the COM property "FetchLevel"

        Parameters:
        fieldName - Mandatory java.lang.String parameter.
        pVal - Mandatory short parameter.