com.atlassian.confluence.mail.archive.content
Class MailQueryFactory

java.lang.Object
  extended by com.atlassian.confluence.mail.archive.content.MailQueryFactory

public class MailQueryFactory
extends Object

Convenience class to give us type-safe ways of generating ContentQuery instances, so that all the type-less guessing happens in one class.


Constructor Summary
MailQueryFactory()
           
 
Method Summary
static ContentQuery<CustomContentEntityObject> findInSpaceByMessageId(long spaceId, String messageId)
           
static ContentQuery<CustomContentEntityObject> findNextInSpaceById(long spaceId, long contentId)
           
static ContentQuery<CustomContentEntityObject> findPreviousInSpaceById(long spaceId, long contentId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailQueryFactory

public MailQueryFactory()
Method Detail

findNextInSpaceById

public static ContentQuery<CustomContentEntityObject> findNextInSpaceById(long spaceId,
                                                                          long contentId)

findPreviousInSpaceById

public static ContentQuery<CustomContentEntityObject> findPreviousInSpaceById(long spaceId,
                                                                              long contentId)

findInSpaceByMessageId

public static ContentQuery<CustomContentEntityObject> findInSpaceByMessageId(long spaceId,
                                                                             String messageId)


Copyright © 2003-2012 Atlassian. All Rights Reserved.