net.fortuna.mstor.connector.jcr
Class JcrMessageDao

java.lang.Object
  extended by org.jcrom.dao.AbstractJcrDAO<JcrMessage>
      extended by net.fortuna.mstor.connector.jcr.JcrMessageDao
All Implemented Interfaces:
org.jcrom.dao.JcrDAO<JcrMessage>

public class JcrMessageDao
extends org.jcrom.dao.AbstractJcrDAO<JcrMessage>

Author:
Ben
 $Id$

 Created on 18/02/2009
 

Field Summary
 
Fields inherited from class org.jcrom.dao.AbstractJcrDAO
entityClass, isVersionable, jcrom, mixinTypes, session
 
Constructor Summary
JcrMessageDao(javax.jcr.Session session, org.jcrom.Jcrom jcrom)
           
 
Method Summary
 java.util.List<JcrMessage> findByFlag(java.lang.String path, javax.mail.Flags.Flag flag)
           
 java.util.List<JcrMessage> findByHeader(java.lang.String path, java.lang.String name, java.lang.String value)
           
 java.util.List<JcrMessage> findByMessageId(java.lang.String path, java.lang.String messageId)
           
 java.util.List<JcrMessage> findByMessageNumber(java.lang.String path, int messageNumber)
           
 
Methods inherited from class org.jcrom.dao.AbstractJcrDAO
create, create, exists, findAll, findAll, findAll, findAll, findByXPath, findByXPath, get, get, getSession, getSize, getVersion, getVersion, getVersion, getVersionByUUID, getVersionByUUID, getVersionList, getVersionList, getVersionList, getVersionList, getVersionList, getVersionListByUUID, getVersionListByUUID, getVersionListByUUID, getVersionSize, getVersionSize, getVersionSizeByUUID, hasMixinType, loadByUUID, loadByUUID, move, relativePath, remove, removeByUUID, removeVersion, removeVersion, removeVersionByUUID, restoreVersion, restoreVersion, restoreVersion, restoreVersionByUUID, restoreVersionByUUID, toList, toList, update, update, update, updateByUUID, updateByUUID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcrMessageDao

public JcrMessageDao(javax.jcr.Session session,
                     org.jcrom.Jcrom jcrom)
Parameters:
session -
jcrom -
Method Detail

findByMessageNumber

public java.util.List<JcrMessage> findByMessageNumber(java.lang.String path,
                                                      int messageNumber)
Parameters:
path -
messageNumber -
Returns:

findByMessageId

public java.util.List<JcrMessage> findByMessageId(java.lang.String path,
                                                  java.lang.String messageId)
Parameters:
path -
messageId -
Returns:

findByHeader

public java.util.List<JcrMessage> findByHeader(java.lang.String path,
                                               java.lang.String name,
                                               java.lang.String value)
Parameters:
path -
name -
value -
Returns:

findByFlag

public java.util.List<JcrMessage> findByFlag(java.lang.String path,
                                             javax.mail.Flags.Flag flag)
Parameters:
path -
flag -
Returns:


Copyright © 2004-2011 Micronode. All Rights Reserved.