public abstract class DenormalisedBatchSortingValueDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements DenormalisedBatchSortingValueDao
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue.
DenormalisedBatchSortingValueTRANSFORM_NONE| Constructor and Description |
|---|
DenormalisedBatchSortingValueDaoBase() |
| Modifier and Type | Method and Description |
|---|---|
Collection<DenormalisedBatchSortingValue> |
create(Collection<DenormalisedBatchSortingValue> entities)
Creates a new instance of fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue and adds
from the passed in
entities collection |
DenormalisedBatchSortingValue |
create(DenormalisedBatchSortingValue denormalisedBatchSortingValue)
Creates an instance of fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue and adds it to the persistent store.
|
DenormalisedBatchSortingValue |
create(DenormalizedBatch denormalizedBatch,
Boolean isInherited,
Parameter parameter,
Pmfm pmfm,
Integer rankOrder,
Unit unit)
Creates a new
fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
Collection<?> |
create(int transform,
Collection<DenormalisedBatchSortingValue> entities)
Does the same thing as
DenormalisedBatchSortingValueDao.create(fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue) with an
additional flag called transform. |
Object |
create(int transform,
DenormalisedBatchSortingValue denormalisedBatchSortingValue)
Does the same thing as
DenormalisedBatchSortingValueDao.create(fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue) with an
additional flag called transform. |
Object |
create(int transform,
DenormalizedBatch denormalizedBatch,
Boolean isInherited,
Parameter parameter,
Pmfm pmfm,
Integer rankOrder,
Unit unit)
Does the same thing as
DenormalisedBatchSortingValueDao.create(fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalizedBatch,java.lang.Boolean,fr.ifremer.adagio.core.dao.referential.pmfm.Parameter,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm,java.lang.Integer,fr.ifremer.adagio.core.dao.referential.pmfm.Unit) with an
additional flag called transform. |
DenormalisedBatchSortingValue |
create(Integer rankOrder,
Boolean isInherited,
Float numericalValue,
QualitativeValue qualitativeValue,
DenormalizedBatch denormalizedBatch,
Unit unit,
Parameter parameter,
Pmfm pmfm)
Creates a new
fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue
instance from all attributes and
properties and adds it to the persistent store. |
Object |
create(int transform,
Integer rankOrder,
Boolean isInherited,
Float numericalValue,
QualitativeValue qualitativeValue,
DenormalizedBatch denormalizedBatch,
Unit unit,
Parameter parameter,
Pmfm pmfm)
Does the same thing as
DenormalisedBatchSortingValueDao.create(java.lang.Integer,java.lang.Boolean,java.lang.Float,fr.ifremer.adagio.core.dao.referential.pmfm.QualitativeValue,fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalizedBatch,fr.ifremer.adagio.core.dao.referential.pmfm.Unit,fr.ifremer.adagio.core.dao.referential.pmfm.Parameter,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm) with an
additional flag called transform. |
protected Principal |
getPrincipal()
Gets the current
principal if one has been set,
otherwise returns null. |
DenormalisedBatchSortingValue |
load(Integer id)
Loads an instance of fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue from the persistent store.
|
Object |
load(int transform,
Integer id)
Does the same thing as
DenormalisedBatchSortingValueDao.load(java.lang.Integer) with an
additional flag called transform. |
Collection<DenormalisedBatchSortingValue> |
loadAll()
Loads all entities of type
DenormalisedBatchSortingValue. |
Collection<?> |
loadAll(int transform)
Does the same thing as
DenormalisedBatchSortingValueDao.loadAll() with an
additional flag called transform. |
Collection<?> |
loadAll(int pageNumber,
int pageSize)
Does the same thing as
DenormalisedBatchSortingValueDao.loadAll() with an
additional two arguments called pageNumber and pageSize. |
Collection<?> |
loadAll(int transform,
int pageNumber,
int pageSize)
Does the same thing as
DenormalisedBatchSortingValueDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize. |
void |
remove(Collection<DenormalisedBatchSortingValue> entities)
Removes all entities in the given
entities |
void |
remove(DenormalisedBatchSortingValue denormalisedBatchSortingValue)
Removes the instance of fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue from the persistent store.
|
void |
remove(Integer id)
Removes the instance of fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue having the given
identifier from the persistent store. |
PaginationResult |
search(int transform,
int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(int, fr.ifremer.adagio.core.dao.Search) but with an
additional two flags called
pageNumber and pageSize. |
PaginationResult |
search(int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(fr.ifremer.adagio.core.dao.Search) but with an
additional two flags called
pageNumber and pageSize. |
Set<?> |
search(int transform,
Search search)
Does the same thing as
DenormalisedBatchSortingValueDao.search(fr.ifremer.adagio.core.dao.Search) but with an
additional flag called transform. |
Set<DenormalisedBatchSortingValue> |
search(Search search)
Performs a search using the parameters specified in the given
search object. |
protected DenormalisedBatchSortingValue |
toEntity(Object[] row) |
protected void |
transformEntities(int transform,
Collection<?> entities)
Transforms a collection of entities using the
transformEntity(int,fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue)
method. |
protected Object |
transformEntity(int transform,
DenormalisedBatchSortingValue 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 fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValueDao, please note
that the DenormalisedBatchSortingValueDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(Collection<DenormalisedBatchSortingValue> entities)
Updates all instances in the
entities collection in the persistent store. |
void |
update(DenormalisedBatchSortingValue denormalisedBatchSortingValue)
Updates the
denormalisedBatchSortingValue instance in the persistent store. |
public DenormalisedBatchSortingValueDaoBase()
public Object load(int transform, Integer id)
DenormalisedBatchSortingValueDao
Does the same thing as DenormalisedBatchSortingValueDao.load(java.lang.Integer) 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 DenormalisedBatchSortingValueDaoid - identifier of the entity to loadDenormalisedBatchSortingValueDao.load(int, java.lang.Integer)public DenormalisedBatchSortingValue load(Integer id)
DenormalisedBatchSortingValueDaoload in interface DenormalisedBatchSortingValueDaoDenormalisedBatchSortingValueDao.load(java.lang.Integer)public Collection<DenormalisedBatchSortingValue> loadAll()
DenormalisedBatchSortingValueDaoDenormalisedBatchSortingValue.loadAll in interface DenormalisedBatchSortingValueDaoDenormalisedBatchSortingValueDao.loadAll()public Collection<?> loadAll(int transform)
DenormalisedBatchSortingValueDao
Does the same thing as DenormalisedBatchSortingValueDao.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 DenormalisedBatchSortingValueDaotransform - the flag indicating what transformation to use.DenormalisedBatchSortingValueDao.loadAll(int)public Collection<?> loadAll(int pageNumber, int pageSize)
DenormalisedBatchSortingValueDao
Does the same thing as DenormalisedBatchSortingValueDao.loadAll() with an
additional two arguments called pageNumber and pageSize. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll in interface DenormalisedBatchSortingValueDaopageNumber - the page number to retrieve when paging results.pageSize - the size of the page to retrieve when paging results.DenormalisedBatchSortingValueDao.loadAll(int, int)public Collection<?> loadAll(int transform, int pageNumber, int pageSize)
DenormalisedBatchSortingValueDao
Does the same thing as DenormalisedBatchSortingValueDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll in interface DenormalisedBatchSortingValueDaotransform - the flag indicating what transformation to use.pageNumber - the page number to retrieve when paging results.pageSize - the size of the page to retrieve when paging results.DenormalisedBatchSortingValueDao.loadAll(int, int, int)public DenormalisedBatchSortingValue create(DenormalisedBatchSortingValue denormalisedBatchSortingValue)
DenormalisedBatchSortingValueDaopublic Object create(int transform, DenormalisedBatchSortingValue denormalisedBatchSortingValue)
DenormalisedBatchSortingValueDao
Does the same thing as DenormalisedBatchSortingValueDao.create(fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue) 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.
public Collection<DenormalisedBatchSortingValue> create(Collection<DenormalisedBatchSortingValue> entities)
DenormalisedBatchSortingValueDaoentities collectioncreate in interface DenormalisedBatchSortingValueDaoentities - the collection of fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue
instances to create.fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValueDao#create(java.util.Collection) public Collection<?> create(int transform, Collection<DenormalisedBatchSortingValue> entities)
DenormalisedBatchSortingValueDao
Does the same thing as DenormalisedBatchSortingValueDao.create(fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue) 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 DenormalisedBatchSortingValueDaofr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValueDao#create(int, java.util.Collection) public DenormalisedBatchSortingValue create(Integer rankOrder, Boolean isInherited, Float numericalValue, QualitativeValue qualitativeValue, DenormalizedBatch denormalizedBatch, Unit unit, Parameter parameter, Pmfm pmfm)
DenormalisedBatchSortingValueDao
Creates a new fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue
instance from all attributes and
properties and adds it to the persistent store.
create in interface DenormalisedBatchSortingValueDaoDenormalisedBatchSortingValueDao.create(java.lang.Integer,java.lang.Boolean,java.lang.Float,fr.ifremer.adagio.core.dao.referential.pmfm.QualitativeValue,fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalizedBatch,fr.ifremer.adagio.core.dao.referential.pmfm.Unit,fr.ifremer.adagio.core.dao.referential.pmfm.Parameter,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm)public Object create(int transform, Integer rankOrder, Boolean isInherited, Float numericalValue, QualitativeValue qualitativeValue, DenormalizedBatch denormalizedBatch, Unit unit, Parameter parameter, Pmfm pmfm)
DenormalisedBatchSortingValueDao
Does the same thing as DenormalisedBatchSortingValueDao.create(java.lang.Integer,java.lang.Boolean,java.lang.Float,fr.ifremer.adagio.core.dao.referential.pmfm.QualitativeValue,fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalizedBatch,fr.ifremer.adagio.core.dao.referential.pmfm.Unit,fr.ifremer.adagio.core.dao.referential.pmfm.Parameter,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm) 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 DenormalisedBatchSortingValueDaoDenormalisedBatchSortingValueDao.create(int, java.lang.Integer,java.lang.Boolean,java.lang.Float,fr.ifremer.adagio.core.dao.referential.pmfm.QualitativeValue,fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalizedBatch,fr.ifremer.adagio.core.dao.referential.pmfm.Unit,fr.ifremer.adagio.core.dao.referential.pmfm.Parameter,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm)public DenormalisedBatchSortingValue create(DenormalizedBatch denormalizedBatch, Boolean isInherited, Parameter parameter, Pmfm pmfm, Integer rankOrder, Unit unit)
DenormalisedBatchSortingValueDao
Creates a new fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create in interface DenormalisedBatchSortingValueDaoDenormalisedBatchSortingValueDao.create(fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalizedBatch,java.lang.Boolean,fr.ifremer.adagio.core.dao.referential.pmfm.Parameter,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm,java.lang.Integer,fr.ifremer.adagio.core.dao.referential.pmfm.Unit)public Object create(int transform, DenormalizedBatch denormalizedBatch, Boolean isInherited, Parameter parameter, Pmfm pmfm, Integer rankOrder, Unit unit)
DenormalisedBatchSortingValueDao
Does the same thing as DenormalisedBatchSortingValueDao.create(fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalizedBatch,java.lang.Boolean,fr.ifremer.adagio.core.dao.referential.pmfm.Parameter,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm,java.lang.Integer,fr.ifremer.adagio.core.dao.referential.pmfm.Unit) with an
additional flag called transform. If this flag is set to TRANSFORM_NONE then
the returned entity will NOTWILL 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 DenormalisedBatchSortingValueDaoDenormalisedBatchSortingValueDao.create(int, fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalizedBatch,java.lang.Boolean,fr.ifremer.adagio.core.dao.referential.pmfm.Parameter,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm,java.lang.Integer,fr.ifremer.adagio.core.dao.referential.pmfm.Unit)public void update(DenormalisedBatchSortingValue denormalisedBatchSortingValue)
DenormalisedBatchSortingValueDaodenormalisedBatchSortingValue instance in the persistent store.public void update(Collection<DenormalisedBatchSortingValue> entities)
DenormalisedBatchSortingValueDaoentities collection in the persistent store.update in interface DenormalisedBatchSortingValueDaofr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValueDao#update(java.util.Collection) public void remove(DenormalisedBatchSortingValue denormalisedBatchSortingValue)
DenormalisedBatchSortingValueDaopublic void remove(Integer id)
DenormalisedBatchSortingValueDaoidentifier from the persistent store.remove in interface DenormalisedBatchSortingValueDaoDenormalisedBatchSortingValueDao.remove(java.lang.Integer)public void remove(Collection<DenormalisedBatchSortingValue> entities)
DenormalisedBatchSortingValueDaoentities collection.remove in interface DenormalisedBatchSortingValueDaofr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValueDao#remove(java.util.Collection) protected Object transformEntity(int transform, DenormalisedBatchSortingValue entity)
transform
flag is set to one of the constants defined in fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValueDao, please note
that the DenormalisedBatchSortingValueDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned.
If the integer argument value is unknown DenormalisedBatchSortingValueDao.TRANSFORM_NONE is assumed.transform - one of the constants declared in DenormalisedBatchSortingValueDaoentity - an entity that was foundtransformEntities(int,java.util.Collection)protected void transformEntities(int transform,
Collection<?> entities)
transformEntity(int,fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue)
method. This method does not instantiate a new collection.
This method is to be used internally only.transform - one of the constants declared in fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValueDaoentities - the collection of entities to transformtransformEntity(int,fr.ifremer.adagio.core.dao.data.batch.denormalized.DenormalisedBatchSortingValue)protected DenormalisedBatchSortingValue toEntity(Object[] row)
protected Principal getPrincipal()
principal if one has been set,
otherwise returns null.public PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
DenormalisedBatchSortingValueDaopageNumber and pageSize. These flags allow you to
limit your data to a specified page number and size.search in interface DenormalisedBatchSortingValueDaotransform - the transformation flag.pageNumber - the page number in the data to retrievepageSize - the size of the page to retrieve.search - the search object which provides the search parameters and pagination specification.PaginationResult instance.DenormalisedBatchSortingValueDao.search(int, int, int, fr.ifremer.adagio.core.dao.Search)public PaginationResult search(int pageNumber, int pageSize, Search search)
DenormalisedBatchSortingValueDaopageNumber and pageSize. These flags allow you to
limit your data to a specified page number and size.search in interface DenormalisedBatchSortingValueDaopageNumber - the page number in the data to retrievepageSize - the size of the page to retrieve.search - the search object which provides the search parameters and pagination specification.PaginationResult instance.DenormalisedBatchSortingValueDao.search(int, int, fr.ifremer.adagio.core.dao.Search)public Set<?> search(int transform, Search search)
DenormalisedBatchSortingValueDaoDenormalisedBatchSortingValueDao.search(fr.ifremer.adagio.core.dao.Search) but with an
additional flag called transform. If this flag is set to TRANSFORM_NONE then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.search in interface DenormalisedBatchSortingValueDaotransform - the transformation flag.search - the search object which provides the search parameters and pagination specification.DenormalisedBatchSortingValueDao.search(int, fr.ifremer.adagio.core.dao.Search)public Set<DenormalisedBatchSortingValue> search(Search search)
DenormalisedBatchSortingValueDaosearch object.search in interface DenormalisedBatchSortingValueDaosearch - the search object which provides the search parameters and pagination specification.DenormalisedBatchSortingValueDao.search(fr.ifremer.adagio.core.dao.Search)Copyright © 2013. All Rights Reserved.