Interface _IAttachment2

  • All Superinterfaces:
    com4j.Com4jObject

    public interface _IAttachment2
    extends com4j.Com4jObject
    For HP use. Missing attachment functionality.
    • Method Detail

      • postVirtual

        void postVirtual​(boolean async)

        Post a virtual attachment asynchronously.

        Parameters:
        async - Mandatory boolean parameter.
      • convert_CR_REFERENCE_FieldValueToName

        String convert_CR_REFERENCE_FieldValueToName​(String filePath)

        Converts the given value of the CR_REFERENCE field the way IAttachment.Name property does.

        Parameters:
        filePath - Mandatory java.lang.String parameter.
        Returns:
        Returns a value of type java.lang.String
      • convert_CR_REFERENCE_FieldValueToFileName

        String convert_CR_REFERENCE_FieldValueToFileName​(String filePath)

        Converts the given value of the CR_REFERENCE field the way IAttachment.FileName property does.

        Parameters:
        filePath - Mandatory java.lang.String parameter.
        Returns:
        Returns a value of type java.lang.String
      • convert_CR_REF_TYPE_FieldValue

        int convert_CR_REF_TYPE_FieldValue​(String typeId)

        Converts the given value of the CR_REF_TYPE field the way IAttachment.Type property does.

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

        void copyToResource​(int lResourceID,
                            String resourceFileName)

        Copies the attachment file to a test resource.

        Parameters:
        lResourceID - Mandatory int parameter.
        resourceFileName - Mandatory java.lang.String parameter.