Package step.repository.alm.otaclient
Interface _IAttachment2
- 
- All Superinterfaces:
- com4j.Com4jObject
 
 public interface _IAttachment2 extends com4j.Com4jObjectFor HP use. Missing attachment functionality.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intconvert_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.Stringconvert_CR_REFERENCE_FieldValueToFileName(java.lang.String filePath)Converts the given value of the CR_REFERENCE field the way IAttachment.FileName property does.java.lang.Stringconvert_CR_REFERENCE_FieldValueToName(java.lang.String filePath)Converts the given value of the CR_REFERENCE field the way IAttachment.Name property does.voidcopyToResource(int lResourceID, java.lang.String resourceFileName)Copies the attachment file to a test resource.voidpostVirtual(boolean async)Post a virtual attachment asynchronously.
 
- 
- 
- 
Method Detail- 
postVirtualvoid postVirtual(boolean async) Post a virtual attachment asynchronously. - Parameters:
- async- Mandatory boolean parameter.
 
 - 
convert_CR_REFERENCE_FieldValueToNamejava.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_FieldValueToFileNamejava.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_FieldValueint 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
 
 - 
copyToResourcevoid 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.
 
 
- 
 
-