Collaboration API Documentation

com.filenet.bso.api.collaboration
Interface EmailSubpart

All Superinterfaces:
CollaborationObject, PersistentBaseObject

public interface EmailSubpart
extends CollaborationObject, PersistentBaseObject

Classes that implement the EmailSubpart interface allow access to the subparts of an email message, which can be either attachments or inline objects.


Field Summary
static java.lang.String COLLABORATIONTYPE_SYMNAME
          Value of the "CollaborationType" Content Engine property.
static int INLINE_OFFSET
          Value of the offset for inline parts.
static java.lang.String MEMBERSHIPMANAGEDSECURITY_SYMNAME
          Value of "MembershipManagedSecurity" Content Engine property.
static java.lang.String PARENT_SYMNAME
          Value of the "CollaborationParent" Content Engine property.
static java.lang.String[] PROPERTIES
           
static java.lang.String SECURITYOWNERID_SYMNAME
          Value of "SecurityOwnerID" Content Engine property.
static java.lang.String SUBPART_FILENAME_SYMNAME
          Value of the "DocumentTitle" Content Engine property.
static java.lang.String SUBPART_NUMBER_SYMNAME
          Value of the "SubpartNumber" Content Engine property.
static java.lang.String TEAMSPACE_SYMNAME
          Value of the "Teamspace" Content Engine property.
 
Method Summary
 com.filenet.wcm.api.TransportInputStream getContent()
          Return the content of this attachment/inline part.
 java.lang.String getFilename()
          Get the filename of this subpart.
 Email getParent()
          Return the parent Email object for this subpart.
 int getSubpartNumber()
          Get the number of this subpart.
 Teamspace getTeamspace()
          Return the teamspace that contains this message.
 
Methods inherited from interface com.filenet.bso.api.collaboration.CollaborationObject
getSymbolicName, getType
 
Methods inherited from interface com.filenet.bso.api.collaboration.PersistentBaseObject
getBaseObject, getID, getObjectStore, getProperties, isMembershipManagedSecurity, isOwner, refresh, setProperties
 

Field Detail

COLLABORATIONTYPE_SYMNAME

public static final java.lang.String COLLABORATIONTYPE_SYMNAME
Value of the "CollaborationType" Content Engine property.

SUBPART_FILENAME_SYMNAME

public static final java.lang.String SUBPART_FILENAME_SYMNAME
Value of the "DocumentTitle" Content Engine property.

SUBPART_NUMBER_SYMNAME

public static final java.lang.String SUBPART_NUMBER_SYMNAME
Value of the "SubpartNumber" Content Engine property.

PARENT_SYMNAME

public static final java.lang.String PARENT_SYMNAME
Value of the "CollaborationParent" Content Engine property.

TEAMSPACE_SYMNAME

public static final java.lang.String TEAMSPACE_SYMNAME
Value of the "Teamspace" Content Engine property.

MEMBERSHIPMANAGEDSECURITY_SYMNAME

public static final java.lang.String MEMBERSHIPMANAGEDSECURITY_SYMNAME
Value of "MembershipManagedSecurity" Content Engine property.

SECURITYOWNERID_SYMNAME

public static final java.lang.String SECURITYOWNERID_SYMNAME
Value of "SecurityOwnerID" Content Engine property.

PROPERTIES

public static final java.lang.String[] PROPERTIES

INLINE_OFFSET

public static final int INLINE_OFFSET
Value of the offset for inline parts.
Method Detail

getFilename

public java.lang.String getFilename()
Get the filename of this subpart.
Returns:
The subpart's filename

getSubpartNumber

public int getSubpartNumber()
Get the number of this subpart. The returned number is 1..N for attachments, 1000001..N for inline objects. If debugging, the method returns 0 for everything in message/rfc822 format.
Returns:
The subpart number

getParent

public Email getParent()
Return the parent Email object for this subpart.
Returns:
The parent

getContent

public com.filenet.wcm.api.TransportInputStream getContent()
Return the content of this attachment/inline part.
Returns:
The content

getTeamspace

public Teamspace getTeamspace()
Return the teamspace that contains this message.
Returns:
The teamspace

Collaboration API Documentation

Copyright ?2002 - 2005 FileNet Corporation. All rights reserved.