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
      String convertObjectTypeToName​(int objectType)
      Converts object type to name.
      com4j.Com4jObject itemByTableNameAndId​(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​(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

        String convertObjectTypeToName​(int objectType)

        Converts object type to name.

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