Interface _IAttachment2
-
- All Superinterfaces:
com4j.Com4jObject
public interface _IAttachment2 extends com4j.Com4jObject
For HP use. Missing attachment functionality.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
convert_CR_REF_TYPE_FieldValue(java.lang.String typeId)
Converts the given value of the CR_REF_TYPE field the way IAttachment.Type property does.java.lang.String
convert_CR_REFERENCE_FieldValueToFileName(java.lang.String filePath)
Converts the given value of the CR_REFERENCE field the way IAttachment.FileName property does.java.lang.String
convert_CR_REFERENCE_FieldValueToName(java.lang.String filePath)
Converts the given value of the CR_REFERENCE field the way IAttachment.Name property does.void
copyToResource(int lResourceID, java.lang.String resourceFileName)
Copies the attachment file to a test resource.void
postVirtual(boolean async)
Post a virtual attachment asynchronously.
-
-
-
Method Detail
-
postVirtual
void postVirtual(boolean async)
Post a virtual attachment asynchronously.
- Parameters:
async
- Mandatory boolean parameter.
-
convert_CR_REFERENCE_FieldValueToName
java.lang.String convert_CR_REFERENCE_FieldValueToName(java.lang.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
java.lang.String convert_CR_REFERENCE_FieldValueToFileName(java.lang.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(java.lang.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, java.lang.String resourceFileName)
Copies the attachment file to a test resource.
- Parameters:
lResourceID
- Mandatory int parameter.resourceFileName
- Mandatory java.lang.String parameter.
-
-