com.atlassian.confluence.plugins.emailgateway.service
Interface StagedEmailThreadManager

All Superinterfaces:
java.lang.Iterable<StagedEmailThread>
All Known Implementing Classes:
BandanaStagedEmailThreadManager, InMemoryStagedEmailThreadManager

public interface StagedEmailThreadManager
extends java.lang.Iterable<StagedEmailThread>

Defines operations concerning the storage and retrieval of StagedEmailThread objects.

Since:
v5.0

Method Summary
 void deleteStagedEmailThread(StagedEmailThreadKey stagedEmailThreadKey)
          Removes a StagedEmailThread from the store.
 StagedEmailThread findStagedEmailThread(StagedEmailThreadKey stagedEmailThreadKey)
          Retrieves a StagedEmailThread.
 java.util.Iterator<StagedEmailThread> iterator()
           
 void storeStagedEmailThread(StagedEmailThread stagedEmailThread)
          Stores a StagedEmailThread against the StagedEmailThreadKey contained within.
 

Method Detail

storeStagedEmailThread

void storeStagedEmailThread(StagedEmailThread stagedEmailThread)
Stores a StagedEmailThread against the StagedEmailThreadKey contained within.

Parameters:
stagedEmailThread - The StagedEmailThread to be stored.

findStagedEmailThread

StagedEmailThread findStagedEmailThread(StagedEmailThreadKey stagedEmailThreadKey)
Retrieves a StagedEmailThread.

Parameters:
stagedEmailThreadKey - The key used to locate the required StagedEmailThread.
Returns:
The StagedEmailThread located for the key, or null if none found

deleteStagedEmailThread

void deleteStagedEmailThread(StagedEmailThreadKey stagedEmailThreadKey)
Removes a StagedEmailThread from the store.

Parameters:
stagedEmailThreadKey - The key used to locate the StagedEmailThread to be deleted.

iterator

java.util.Iterator<StagedEmailThread> iterator()
Specified by:
iterator in interface java.lang.Iterable<StagedEmailThread>


Copyright © 2003-2014 Atlassian. All Rights Reserved.