Interface IDataServiceProvider

  • All Superinterfaces:
    com4j.Com4jObject

    public interface IDataServiceProvider
    extends com4j.Com4jObject
    For HP use. Interface providing project data related services.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String convertObjectTypeToName​(int objectType)
      Converts object type to name.
      int getIDFromEntityKey​(java.lang.Object key)
      Converts entity key xid/variant to entity ID which is long.
      com4j.Com4jObject itemByTableNameAndId​(java.lang.String objectType, int objectId)
      Create instance of object according by its type and ID.
      com4j.Com4jObject itemByTypeAndId​(int objectType, int objectId)
      Create instance of object according by its type and ID.
      • Methods inherited from interface com4j.Com4jObject

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

      • itemByTypeAndId

        com4j.Com4jObject itemByTypeAndId​(int objectType,
                                          int objectId)

        Create instance of object according by its type and ID.

        Getter method for the COM property "ItemByTypeAndId"

        Parameters:
        objectType - Mandatory int parameter.
        objectId - Mandatory int parameter.
        Returns:
        Returns a value of type com4j.Com4jObject
      • itemByTableNameAndId

        com4j.Com4jObject itemByTableNameAndId​(java.lang.String objectType,
                                               int objectId)

        Create instance of object according by its type and ID.

        Getter method for the COM property "ItemByTableNameAndId"

        Parameters:
        objectType - Mandatory java.lang.String parameter.
        objectId - Mandatory int parameter.
        Returns:
        Returns a value of type com4j.Com4jObject
      • convertObjectTypeToName

        java.lang.String convertObjectTypeToName​(int objectType)

        Converts object type to name.

        Parameters:
        objectType - Mandatory int parameter.
        Returns:
        Returns a value of type java.lang.String
      • getIDFromEntityKey

        int getIDFromEntityKey​(java.lang.Object key)

        Converts entity key xid/variant to entity ID which is long.

        Parameters:
        key - Mandatory java.lang.Object parameter.
        Returns:
        Returns a value of type int