|
|||||||||
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()
Get the document's control id. |
java.lang.String |
getCorrelationId()
Get the document's correlation id. |
java.lang.String |
getEbXmlAction()
Get the ebXmlAction of the document was transfered using ebXml |
java.lang.String |
getEbXmlService()
Get the ebXmlService if the document was transfered using ebXml. |
java.lang.String |
getFingerprint()
Get the documents fingerprint. |
InterchangeURL |
getInterchangeHttpsURL()
HTTPS URL to use to retrieve the raw document content. |
InterchangeURL |
getInterchangeURL()
HTTP URL to use to retrieve the raw document content. |
int |
getMaxReferences()
Deprecated. |
java.lang.String |
getName()
Get the filename used when backing up the file. |
java.lang.String |
getOriginalName()
Get the document's original filename. |
int |
getOriginalSize()
Get the size, in bytes, of the original, raw data. |
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()
Return the path to the document content. |
java.lang.String |
getPersistedName()
getPersistedName |
CompanyId |
getReceiverId()
Get the Receiver CompanyId object. |
java.lang.String |
getReference(int referenceNumber)
Deprecated. Use getUserData instead. |
java.lang.String |
getRefToMessageId()
Get the document's RefToMessageId. |
SecurityLevel |
getSecurityLevel()
Get the level of security used when transporting the document. |
CompanyId |
getSenderId()
Set the Sender CompanyId. |
int |
getSequenceId()
getSequenceId |
java.lang.String |
getTransport()
Get the transport that the document was transported on. |
int |
getTransportSize()
Get the packeged size of the document. |
DocumentType |
getType()
Get the document type. |
java.lang.String |
getUniqueId()
Get the document's unique id. |
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)
Set the document's correlation id. |
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)
Set the path the document content. |
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)
Set the document's RefToMessageId. |
void |
setSenderId(CompanyId id)
setSenderId - Sets the ID of the document sender |
void |
setUniqueId(java.lang.String uniqueId)
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
- to the raw document content.public 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
- The document RefToMessageId.public 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 IDpublic 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)
ebXmlService
- ebXML Service to use when packaging a ebXML document if
MCD Free mode is being utilized.public java.lang.String getEbXmlAction()
public void setEbXmlAction(java.lang.String ebXmlAction)
ebXmlAction
- ebXML Action to use when packaging a ebXML document if
MCD Free mode is being utilized.public java.lang.String getPackagingType()
PackagingTypes
public void setPackagingType(java.lang.String packagingType)
packagingType
- The packaging type to use to package the document.PackagingTypes
public 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 |