java.lang.Objectcom.ibm.commerce.messaging.outboundservice.WCMSRecord
The WCMSRecord class
Field Summary | |
static java.lang.String | COPYRIGHT Copyright statement. |
Constructor Summary | |
WCMSRecord() WCMSRecord constructor comment. |
Method Summary | |
void | addPart(ContentPart part) Adds a new content part to the message. |
java.lang.Object | clone() Calls super.clone(). |
int | countParts() Returns the number of content parts in the message. |
byte[] | getBytes() Returns the content of the message body in byte format. |
byte[] | getBytes(java.lang.String csClassName, InteractionSpec is) Returns the content of the message in byte format according to ConnectionSpec. |
java.lang.Object | getContentObject() Gets the object |
java.lang.String | getContentType() Gets contentType |
ContentPart | getPart(int index) Returns the content part based on the given index. |
java.lang.String | getRecordName() Gets RecordName. |
java.lang.String | getRecordShortDescription() Gets RecordShortDescription. |
void | read(java.io.InputStream arg1) Read an object into an input stream. |
void | setBytes(byte[] arg1) Sets the bytes of the IByteBuffer. |
void | setContentObject(java.lang.Object contentObject) Sets the content object |
void | setContentType(java.lang.String content_type) Sets content type |
void | setRecordName(java.lang.String arg1) Sets RecordName. |
void | setRecordShortDescription(java.lang.String arg1) Sets RecordShortDescription. |
void | write(java.io.OutputStream arg1) Writes the output stream into a byte array. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public WCMSRecord()
Method Detail |
public void addPart(ContentPart part)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
public int countParts()
public byte[] getBytes()
public byte[] getBytes(java.lang.String csClassName, InteractionSpec is)
public java.lang.Object getContentObject()
public java.lang.String getContentType()
public ContentPart getPart(int index)
public java.lang.String getRecordName()
public java.lang.String getRecordShortDescription()
public void read(java.io.InputStream arg1) throws java.io.IOException
public void setBytes(byte[] arg1)
public void setContentObject(java.lang.Object contentObject)
public void setContentType(java.lang.String content_type)
public void setRecordName(java.lang.String arg1)
public void setRecordShortDescription(java.lang.String arg1)
public void write(java.io.OutputStream arg1) throws java.io.IOException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.