gran.app.adapter.store
Class MailImportTaskStoreAdapter

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

public class MailImportTaskStoreAdapter
extends java.lang.Object
implements StoreAdapter


Constructor Summary
MailImportTaskStoreAdapter()
           
 
Method Summary
 java.lang.String getDescription()
          Get description of adapter as plain text
 boolean init()
          Initialize adapter.
 boolean processImpl(javax.mail.internet.MimeMessage message, boolean result)
          Import e-mail message into system
 
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()
Description copied from interface: Adapter
Get description of adapter as plain text

Specified by:
getDescription in interface Adapter

processImpl

public boolean processImpl(javax.mail.internet.MimeMessage message,
                           boolean result)
                    throws GranException
Description copied from interface: StoreAdapter
Import e-mail message into system

Specified by:
processImpl in interface StoreAdapter
Parameters:
message - e-mail message
Throws:
GranException


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