com.trackstudio.app.adapter.store
Class MailImportTaskStoreAdapter

java.lang.Object
  extended by com.trackstudio.app.adapter.store.MailImportTaskStoreAdapter
All Implemented Interfaces:
Adapter, StoreAdapter

public class MailImportTaskStoreAdapter
extends java.lang.Object
implements StoreAdapter

MailImport Task Adapter. Import e-mail, create a new task, users, and attachments.


Constructor Summary
MailImportTaskStoreAdapter()
           
 
Method Summary
 java.lang.String getDescription()
          Adapter's description
 boolean init()
          Initialize adapter.
 boolean process(java.lang.String from, java.lang.String name, java.lang.String subject, java.lang.String body, boolean plainText, javax.mail.internet.MimeMessage message)
          Parse message to body and attached file,
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailImportTaskStoreAdapter

public MailImportTaskStoreAdapter()
Method Detail

init

public boolean init()
Description copied from interface: Adapter
Initialize adapter. TrackStudio calls this method during startup.

Specified by:
init in interface Adapter
Returns:
true when adapter initialized, false otherwise.

getDescription

public java.lang.String getDescription()
Adapter's description

Specified by:
getDescription in interface Adapter
Returns:
adapter's description

process

public boolean process(java.lang.String from,
                       java.lang.String name,
                       java.lang.String subject,
                       java.lang.String body,
                       boolean plainText,
                       javax.mail.internet.MimeMessage message)
                throws MailImportException
Parse message to body and attached file,

Parameters:
message - e-mail message
result - if true does nothing
Returns:
true if successful
Throws:
GranException
MailImportException


Copyright © 2002-2008 TrackStudio, Ltd. All Rights Reserved.