|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface StagedEmailThreadAdminService
Describes operations for managing existing StagedEmailThread objects.
EmailStagingService
Method Summary | ||
---|---|---|
int |
clearExpiredEmailThreads(org.joda.time.DateTime expiry)
Deletes old email threads from the staging area. |
|
|
convertAndPublishStagedEmailThread(StagedEmailThreadKey stagedEmailThreadKey,
MessageHolder messageHolder,
EmailToContentConverter<C> emailToContentConverter)
Converts an existing StagedEmailThread into a Confluence Page and publishes it. |
|
void |
deleteStagedEmailThread(StagedEmailThreadKey stagedEmailThreadKey)
Delete an existing StagedEmailThread from the store. |
Method Detail |
---|
<C extends ContentEntityObject> C convertAndPublishStagedEmailThread(StagedEmailThreadKey stagedEmailThreadKey, MessageHolder messageHolder, EmailToContentConverter<C> emailToContentConverter)
stagedEmailThreadKey
- The key used to locate the StagedEmailThreadmessageHolder
- The collector for any status messages that should be shown to the useremailToContentConverter
- The converter to use in publishing the staged email
java.lang.IllegalArgumentException
- If no StagedEmailThread can be found for the given StagedEmailThreadKeyvoid deleteStagedEmailThread(StagedEmailThreadKey stagedEmailThreadKey)
stagedEmailThreadKey
- The key used to locate the StagedEmailThreadint clearExpiredEmailThreads(org.joda.time.DateTime expiry)
expiry
- the cut-off date for which any threads older will be deleted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |