public class WCMSRecord
extends java.lang.Object
implements javax.resource.cci.Record, javax.resource.cci.Streamable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
Copyright statement.
|
Constructor and Description |
---|
WCMSRecord()
The WCMSRecord constructor calls its superclass constructor and performs initialization of the record.
|
Modifier and Type | Method and Description |
---|---|
void | addPart(com.ibm.commerce.messaging.outboundservice.ContentPart part)
This method adds a new content part to the message.
|
java.lang.Object | clone()
This method calls super.clone().
|
int | countParts()
This method returns the number of content parts in the message.
|
byte[] | getBytes()
This message returns the content of the message body in byte format.
|
byte[] | getBytes(java.lang.String csClassName, javax.resource.cci.InteractionSpec is)
This method returns the content of the message in byte format according to the ConnectionSpec object.
|
java.lang.Object | getContentObject()
This method gets a content object.
|
java.lang.String | getContentType()
This method gets a content type.
|
com.ibm.commerce.messaging.outboundservice.ContentPart | getPart(int index)
This method returns the content part based on the given index.
|
java.lang.String | getRecordName()
This method gets the RecordName.
|
java.lang.String | getRecordShortDescription()
This method gets the RecordShortDescription.
|
void | read(java.io.InputStream arg1)
This method reads an object into an input stream.
|
void | setBytes(byte[] arg1)
This method sets the bytes of the IByteBuffer.
|
void | setContentObject(java.lang.Object newContentObj)
This method sets the content object.
|
void | setContentType(java.lang.String content_type)
This method sets the content type.
|
void | setRecordName(java.lang.String arg1)
This method sets the record name.
|
void | setRecordShortDescription(java.lang.String arg1)
This method sets the RecordShortDescription.
|
void | write(java.io.OutputStream arg1)
This method writes the output stream into a byte array.
|
public static final java.lang.String COPYRIGHT
public WCMSRecord()
public void addPart(com.ibm.commerce.messaging.outboundservice.ContentPart part)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
public int countParts()
public byte[] getBytes()
public byte[] getBytes(java.lang.String csClassName, javax.resource.cci.InteractionSpec is)
public java.lang.Object getContentObject()
public java.lang.String getContentType()
public com.ibm.commerce.messaging.outboundservice.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 newContentObj)
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