public abstract class ProcessedMailNoteDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements ProcessedMailNoteDao
Base Spring DAO Class: is able to create, update, remove, load, and find objects of type
com.communote.server.persistence.blog.ProcessedMailNote.
ProcessedMailNoteTRANSFORM_NONE| Constructor and Description |
|---|
ProcessedMailNoteDaoBase() |
| Modifier and Type | Method and Description |
|---|---|
Collection<ProcessedMailNote> |
create(Collection<ProcessedMailNote> entities)
Creates a new instance of com.communote.server.persistence.blog.ProcessedMailNote and adds
from the passed in
entities collection |
Collection<ProcessedMailNote> |
create(int transform,
Collection<ProcessedMailNote> entities)
Does the same thing as
ProcessedMailNoteDao.create(com.communote.server.model.note.ProcessedMailNote)
with an additional flag called transform. |
Object |
create(int transform,
ProcessedMailNote processedMailNote)
Does the same thing as
ProcessedMailNoteDao.create(com.communote.server.model.note.ProcessedMailNote)
with an additional flag called transform. |
ProcessedMailNote |
create(ProcessedMailNote processedMailNote)
Creates an instance of com.communote.server.persistence.blog.ProcessedMailNote and adds it to
the persistent store.
|
void |
evict(ProcessedMailNote entity)
Evicts (removes) the entity from the hibernate cache
|
ProcessedMailNote |
findByMailMessageId(String mailMessageId) |
protected abstract ProcessedMailNote |
handleFindByMailMessageId(String mailMessageId)
Performs the core logic for
findByMailMessageId(String) |
Object |
load(int transform,
Long id)
Does the same thing as
ProcessedMailNoteDao.load(Long) with an additional flag called
transform. |
ProcessedMailNote |
load(Long id)
Loads an instance of com.communote.server.persistence.blog.ProcessedMailNote from the
persistent store.
|
Collection<ProcessedMailNote> |
loadAll()
Loads all entities of type
ProcessedMailNote. |
Collection<?> |
loadAll(int transform)
Does the same thing as
ProcessedMailNoteDao.loadAll() with an additional flag called
transform. |
void |
remove(Collection<ProcessedMailNote> entities)
Removes all entities in the given
entities |
void |
remove(Long id)
Removes the instance of com.communote.server.persistence.blog.ProcessedMailNote having the
given
identifier from the persistent store. |
void |
remove(ProcessedMailNote processedMailNote)
Removes the instance of com.communote.server.persistence.blog.ProcessedMailNote from the
persistent store.
|
protected void |
transformEntities(int transform,
Collection<?> entities)
Transforms a collection of entities using the
transformEntity(int,com.communote.server.model.note.ProcessedMailNote) method. |
protected Object |
transformEntity(int transform,
ProcessedMailNote entity)
Allows transformation of entities into value objects (or something else for that matter),
when the
transform flag is set to one of the constants defined in
com.communote.server.persistence.blog.ProcessedMailNoteDao, please note that the
ProcessedMailNoteDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be
returned. |
void |
update(Collection<ProcessedMailNote> entities)
Updates all instances in the
entities collection in the persistent store. |
void |
update(ProcessedMailNote processedMailNote)
Updates the
processedMailNote instance in the persistent store. |
public ProcessedMailNote create(ProcessedMailNote processedMailNote)
ProcessedMailNoteDaocreate in interface ProcessedMailNoteDaoProcessedMailNoteDao.create(com.communote.server.model.note.ProcessedMailNote)public Object create(int transform, ProcessedMailNote processedMailNote)
ProcessedMailNoteDao
Does the same thing as ProcessedMailNoteDao.create(com.communote.server.model.note.ProcessedMailNote)
with an additional flag called transform. If this flag is set to
TRANSFORM_NONE then the returned entity will NOT be
transformed. If this flag is any of the other constants defined here then the result
WILL BE passed through an operation which can optionally transform the
entity (into a value object for example). By default, transformation does not occur.
create in interface ProcessedMailNoteDaocom.communote.server.persistence.blog.ProcessedMailNoteDao#create(int transform,
com.communote.server.persistence.blog.ProcessedMailNote)public Collection<ProcessedMailNote> create(int transform, Collection<ProcessedMailNote> entities)
ProcessedMailNoteDao
Does the same thing as ProcessedMailNoteDao.create(com.communote.server.model.note.ProcessedMailNote)
with an additional flag called transform. If this flag is set to
TRANSFORM_NONE then the returned entity will NOT be
transformed. If this flag is any of the other constants defined here then the result
WILL BE passed through an operation which can optionally transform the
entities (into value objects for example). By default, transformation does not occur.
create in interface ProcessedMailNoteDaocom.communote.server.persistence.blog.ProcessedMailNoteDao#create(int,
java.util.Collection) public Collection<ProcessedMailNote> create(Collection<ProcessedMailNote> entities)
ProcessedMailNoteDaoentities collectioncreate in interface ProcessedMailNoteDaoentities - the collection of com.communote.server.persistence.blog.ProcessedMailNote
instances to create.com.communote.server.persistence.blog.ProcessedMailNoteDao#create(java.util.Collection) public void evict(ProcessedMailNote entity)
evict in interface ProcessedMailNoteDaoentity - the entity to evictpublic ProcessedMailNote findByMailMessageId(String mailMessageId)
findByMailMessageId in interface ProcessedMailNoteDaoProcessedMailNoteDao.findByMailMessageId(String)protected abstract ProcessedMailNote handleFindByMailMessageId(String mailMessageId)
findByMailMessageId(String)public Object load(int transform, Long id)
ProcessedMailNoteDao
Does the same thing as ProcessedMailNoteDao.load(Long) with an additional flag called
transform. If this flag is set to TRANSFORM_NONE then the returned
entity will NOT be transformed. If this flag is any of the other constants
defined in this class then the result WILL BE passed through an operation
which can optionally transform the entity (into a value object for example). By default,
transformation does not occur.
load in interface ProcessedMailNoteDaoid - the identifier of the entity to load.ProcessedMailNoteDao.load(int, Long)public ProcessedMailNote load(Long id)
ProcessedMailNoteDaoload in interface ProcessedMailNoteDaoProcessedMailNoteDao.load(Long)public Collection<ProcessedMailNote> loadAll()
ProcessedMailNoteDaoProcessedMailNote.loadAll in interface ProcessedMailNoteDaoProcessedMailNoteDao.loadAll()public Collection<?> loadAll(int transform)
ProcessedMailNoteDao
Does the same thing as ProcessedMailNoteDao.loadAll() with an additional flag called
transform. If this flag is set to TRANSFORM_NONE then the returned
entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can
optionally transform the entity (into a value object for example). By default, transformation
does not occur.
loadAll in interface ProcessedMailNoteDaotransform - the flag indicating what transformation to use.ProcessedMailNoteDao.loadAll(int)public void remove(ProcessedMailNote processedMailNote)
ProcessedMailNoteDaoremove in interface ProcessedMailNoteDaoProcessedMailNoteDao.remove(com.communote.server.model.note.ProcessedMailNote)public void remove(Collection<ProcessedMailNote> entities)
ProcessedMailNoteDaoentities collection.remove in interface ProcessedMailNoteDaocom.communote.server.persistence.blog.ProcessedMailNoteDao#remove(java.util.Collection) public void remove(Long id)
ProcessedMailNoteDaoidentifier from the persistent store.remove in interface ProcessedMailNoteDaoProcessedMailNoteDao.remove(Long)protected void transformEntities(int transform,
Collection<?> entities)
transformEntity(int,com.communote.server.model.note.ProcessedMailNote) method. This
method does not instantiate a new collection.
This method is to be used internally only.transform - one of the constants declared in
com.communote.server.persistence.blog.ProcessedMailNoteDaoentities - the collection of entities to transformtransformEntity(int,com.communote.server.model.note.ProcessedMailNote)protected Object transformEntity(int transform, ProcessedMailNote entity)
transform flag is set to one of the constants defined in
com.communote.server.persistence.blog.ProcessedMailNoteDao, please note that the
ProcessedMailNoteDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be
returned.
If the integer argument value is unknown ProcessedMailNoteDao.TRANSFORM_NONE is assumed.transform - one of the constants declared in
ProcessedMailNoteDaoentity - an entity that was foundtransformEntities(int,java.util.Collection)public void update(ProcessedMailNote processedMailNote)
ProcessedMailNoteDaoprocessedMailNote instance in the persistent store.update in interface ProcessedMailNoteDaoProcessedMailNoteDao.update(com.communote.server.model.note.ProcessedMailNote)public void update(Collection<ProcessedMailNote> entities)
ProcessedMailNoteDaoentities collection in the persistent store.update in interface ProcessedMailNoteDaocom.communote.server.persistence.blog.ProcessedMailNoteDao#update(java.util.Collection) Copyright © 2019 Communote team. All rights reserved.