|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Represents the content and information concerning a document
| Field Summary | |
static int |
MAX_REFERENCES
|
static java.lang.String |
NA
|
static java.lang.String |
NA_LIT
|
| Method Summary | |
java.lang.String |
getControlId()
getControlId |
java.lang.String |
getCorrelationId()
getCorrelationId |
java.lang.String |
getEbXmlAction()
Return the ebXmlAction of the document was transfered using ebXml |
java.lang.String |
getEbXmlService()
Return the ebXmlService if the document was transfered using ebXml |
java.lang.String |
getFingerprint()
getFingerPrint |
InterchangeURL |
getInterchangeHttpsURL()
getInterchangeHttpsURL For use by remote clients only |
InterchangeURL |
getInterchangeURL()
getInterchangeURL For use by remote clients only |
int |
getMaxReferences()
Deprecated. |
java.lang.String |
getName()
getName For use by local clients only |
java.lang.String |
getOriginalName()
getOriginalName |
int |
getOriginalSize()
getOriginalSize |
java.lang.String |
getPackagingType()
Get the packaging type (AKA: BusinessProtocol) to used transfering sending a document. |
java.lang.String |
getPackagingVersion()
Get the packaging version (AKA: BusinessProtocol) used when transfering a document. |
java.lang.String |
getPath()
getPath For use by local clients only |
java.lang.String |
getPersistedName()
getPersistedName |
CompanyId |
getReceiverId()
getReciverId |
java.lang.String |
getReference(int referenceNumber)
Deprecated. Use getUserData instead. |
java.lang.String |
getRefToMessageId()
getRefToMessageId |
SecurityLevel |
getSecurityLevel()
getSecurityLevel |
CompanyId |
getSenderId()
getSenderId |
int |
getSequenceId()
getSequenceId |
java.lang.String |
getTransport()
getTransport |
int |
getTransportSize()
getTransportSize |
DocumentType |
getType()
getType |
java.lang.String |
getUniqueId()
getUniqueId |
java.util.Properties |
getUserData()
Get the additional user defined data. |
void |
setContent(java.lang.String path)
setContent - Sets the raw data of the document. |
void |
setCorrelationId(java.lang.String id)
setCorrelationId |
void |
setEbXmlAction(java.lang.String ebXmlAction)
Set the ebXmlAction if MCD free trading is enabled. |
void |
setEbXmlService(java.lang.String ebXmlService)
Set the ebXmlService if MCD free ebXml trading is enabled. |
void |
setInterchangeHttpsURL(InterchangeURL url)
setInterchangeHttpsURL - Sets URL to use when communicating with Interchange. |
void |
setInterchangeURL(InterchangeURL url)
setInterchangeURL - Sets URL to use when communicating with Interchange. |
void |
setPackagingType(java.lang.String packagingType)
Set the packaging type (AKA: BusinessProtocol) to used when transfering a document. |
void |
setPackagingVersion(java.lang.String packagingVersion)
Set the packaging version (AKA: BusinessProtocol) to used when transfering a document. |
void |
setPath(java.lang.String path)
setPath |
void |
setReceiverId(CompanyId id)
setReceiverId - Sets the ID of the document recipient |
void |
setReference(int referenceNumber,
java.lang.String reference)
Deprecated. Use setUserData instead. |
void |
setRefToMessageId(java.lang.String id)
setRefToMessageId |
void |
setSenderId(CompanyId id)
setSenderId - Sets the ID of the document sender |
void |
setUniqueId(java.lang.String uniqueId)
setUniqueId - Set the documents Unique Id. |
void |
setUserData(java.util.Properties userProperties)
Sets additional user defined data that may be used by the packager when constructing the packaged document. |
| Field Detail |
public static final int MAX_REFERENCES
public static final java.lang.String NA_LIT
public static final java.lang.String NA
| Method Detail |
public java.lang.String getControlId()
public java.lang.String getFingerprint()
public java.lang.String getName()
public java.lang.String getOriginalName()
public int getOriginalSize()
public java.lang.String getPath()
public void setPath(java.lang.String path)
path - the full path of the raw data filepublic CompanyId getReceiverId()
public java.lang.String getReference(int referenceNumber)
referenceNumber - The reference index ( zero based )public InterchangeURL getInterchangeURL()
public InterchangeURL getInterchangeHttpsURL()
public SecurityLevel getSecurityLevel()
public CompanyId getSenderId()
public int getTransportSize()
public java.lang.String getTransport()
public DocumentType getType()
public java.lang.String getUniqueId()
public void setUniqueId(java.lang.String uniqueId)
public java.lang.String getCorrelationId()
public void setCorrelationId(java.lang.String id)
id - The document Correlation Id. This id can be generated by
Interchange, or generated by applications integrating with Interchange. The
id is used to tie together multiple documents into a conversation. Multiple
documents can have the same Correlation Id.public java.lang.String getRefToMessageId()
public void setRefToMessageId(java.lang.String id)
id - document RefToMessageId. This id can be generated bypublic int getSequenceId()
public java.lang.String getPersistedName()
public void setInterchangeURL(InterchangeURL url)
url - public void setInterchangeHttpsURL(InterchangeURL url)
url - public void setContent(java.lang.String path)
path - The full path of the file containing the raw datapublic void setReceiverId(CompanyId id)
id - The company ID
public void setReference(int referenceNumber,
java.lang.String reference)
referenceNumber - The reference indexreference - The user specifed referencepublic void setSenderId(CompanyId id)
id - The company IDpublic int getMaxReferences()
public java.lang.String getEbXmlService()
public void setEbXmlService(java.lang.String ebXmlService)
public java.lang.String getEbXmlAction()
public void setEbXmlAction(java.lang.String ebXmlAction)
public java.lang.String getPackagingType()
public void setPackagingType(java.lang.String packagingType)
packagingType - The packaging typepublic java.lang.String getPackagingVersion()
public void setPackagingVersion(java.lang.String packagingVersion)
packagingVersion - The packaging versionpublic void setUserData(java.util.Properties userProperties)
userProperties - Initialized with user defined data.public java.util.Properties getUserData()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||