Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 2 (10.1.2)
B25708-01


oracle.tip.pc.api.worklist
Interface ITaskAttachment

All Superinterfaces:
java.io.Serializable

public interface ITaskAttachment
extends java.io.Serializable

Field Summary
static java.lang.String ATTACHMENT_TYPE_FILE
           
static java.lang.String ATTACHMENT_TYPE_URL
           

 

Method Summary
 java.lang.String getBoundary()
          Returns the boundary for the content type
 byte[] getBytes()
          Return attachment content in bytes
 java.lang.String getContent()
          Returns the value of field 'content'.
 java.io.InputStream getInputStream()
          Return inputstream to read the content
 java.lang.String getName()
          Returns the value of field 'name'.
 java.io.OutputStream getOutputStream()
          Return output stream of content
 java.lang.String getURI()
          Returns the value of field 'URI'.
 void setBoundary(java.lang.String boundary)
          Sets the boundary string for the content type of file upload
 void setBytes(byte[] bytes)
          To set the content as bytes
 void setContent(java.lang.String content)
          Sets the value of field 'content'.
 void setInputStream(java.io.InputStream stream)
          To set the input stream.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setURI(java.lang.String URI)
          Sets the value of field 'URI'.

 

Field Detail

ATTACHMENT_TYPE_URL

public static final java.lang.String ATTACHMENT_TYPE_URL
See Also:
Constant Field Values

ATTACHMENT_TYPE_FILE

public static final java.lang.String ATTACHMENT_TYPE_FILE
See Also:
Constant Field Values

Method Detail

getContent

public java.lang.String getContent()
                            throws PCException
Returns the value of field 'content'. The field 'content' has the following description:
Returns:
the value of field 'content'.
Throws:
PCException

getBoundary

public java.lang.String getBoundary()
                             throws PCException
Returns the boundary for the content type
Returns:
boundary for the content type
Throws:
PCException

getName

public java.lang.String getName()
Returns the value of field 'name'. The field 'name' has the following description:
Returns:
the value of field 'name'.

getURI

public java.lang.String getURI()
Returns the value of field 'URI'. The field 'URI' has the following description:
Returns:
the value of field 'URI'.

setContent

public void setContent(java.lang.String content)
                throws PCException
Sets the value of field 'content'. The field 'content' has the following description:
Parameters:
content - the value of field 'content'.
Throws:
PCException

setBoundary

public void setBoundary(java.lang.String boundary)
                 throws PCException
Sets the boundary string for the content type of file upload
Parameters:
boundary - string for the content type
Throws:
PCException

setInputStream

public void setInputStream(java.io.InputStream stream)
                    throws PCException
To set the input stream. Worklist UI will set the inputStream. During update Task service will read the data from input stream and stores in blob
Parameters:
stream -
Throws:
PCException

setName

public void setName(java.lang.String name)
Sets the value of field 'name'. The field 'name' has the following description:
Parameters:
name - the value of field 'name'.

setURI

public void setURI(java.lang.String URI)
            throws PCException
Sets the value of field 'URI'. The field 'URI' has the following description:
Parameters:
URI - the value of field 'URI'.
Throws:
PCException

setBytes

public void setBytes(byte[] bytes)
              throws PCException
To set the content as bytes
Parameters:
bytes -
Throws:
PCException

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws PCException
Return output stream of content
Returns:
TaskBlobOutputStream Output steam of the content
Throws:
PCException

getInputStream

public java.io.InputStream getInputStream()
                                   throws PCException
Return inputstream to read the content
Returns:
InputStream Content input stream
Throws:
PCException

getBytes

public byte[] getBytes()
                throws PCException
Return attachment content in bytes
Returns:
byte[]
Throws:
PCException

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 2 (10.1.2)
B25708-01


Copyright © 2005, Oracle. All rights reserved.