com.atlassian.confluence.plugins.emailgateway.service
Class BandanaStagedEmailThreadManager

java.lang.Object
  extended by com.atlassian.confluence.plugins.emailgateway.service.BandanaStagedEmailThreadManager
All Implemented Interfaces:
StagedEmailThreadManager, Iterable<StagedEmailThread>

public class BandanaStagedEmailThreadManager
extends Object
implements StagedEmailThreadManager

A StagedEmailThreadManager that persists the StagedEmailThread objects in Bandana.

Since:
v5.0

Constructor Summary
BandanaStagedEmailThreadManager(com.atlassian.bandana.BandanaManager bandanaManager)
           
 
Method Summary
 void deleteStagedEmailThread(StagedEmailThreadKey stagedEmailThreadKey)
          Removes a StagedEmailThread from the store.
 StagedEmailThread findStagedEmailThread(StagedEmailThreadKey stagedEmailThreadKey)
          Retrieves a StagedEmailThread.
 Iterator<StagedEmailThread> iterator()
           
 void storeStagedEmailThread(StagedEmailThread stagedEmailThread)
          Stores a StagedEmailThread against the StagedEmailThreadKey contained within.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BandanaStagedEmailThreadManager

public BandanaStagedEmailThreadManager(com.atlassian.bandana.BandanaManager bandanaManager)
Method Detail

storeStagedEmailThread

public void storeStagedEmailThread(StagedEmailThread stagedEmailThread)
Description copied from interface: StagedEmailThreadManager
Stores a StagedEmailThread against the StagedEmailThreadKey contained within.

Specified by:
storeStagedEmailThread in interface StagedEmailThreadManager
Parameters:
stagedEmailThread - The StagedEmailThread to be stored.

findStagedEmailThread

public StagedEmailThread findStagedEmailThread(StagedEmailThreadKey stagedEmailThreadKey)
Description copied from interface: StagedEmailThreadManager
Retrieves a StagedEmailThread.

Specified by:
findStagedEmailThread in interface StagedEmailThreadManager
Parameters:
stagedEmailThreadKey - The key used to locate the required StagedEmailThread.
Returns:
The StagedEmailThread located for the key, or null if none found

deleteStagedEmailThread

public void deleteStagedEmailThread(StagedEmailThreadKey stagedEmailThreadKey)
Description copied from interface: StagedEmailThreadManager
Removes a StagedEmailThread from the store.

Specified by:
deleteStagedEmailThread in interface StagedEmailThreadManager
Parameters:
stagedEmailThreadKey - The key used to locate the StagedEmailThread to be deleted.

iterator

public Iterator<StagedEmailThread> iterator()
Specified by:
iterator in interface StagedEmailThreadManager
Specified by:
iterator in interface Iterable<StagedEmailThread>


Copyright © 2003-2013 Atlassian. All Rights Reserved.