public abstract class DenormalizedSamplingStrataDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements DenormalizedSamplingStrataDao
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata.
DenormalizedSamplingStrataTRANSFORM_NONE| Constructor and Description |
|---|
DenormalizedSamplingStrataDaoBase() |
| Modifier and Type | Method and Description |
|---|---|
Collection<DenormalizedSamplingStrata> |
create(Collection<DenormalizedSamplingStrata> entities)
Creates a new instance of fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata and adds
from the passed in
entities collection |
DenormalizedSamplingStrata |
create(DenormalizedSamplingStrata denormalizedSamplingStrata)
Creates an instance of fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata and adds it to the persistent store.
|
Collection<?> |
create(int transform,
Collection<DenormalizedSamplingStrata> entities)
Does the same thing as
DenormalizedSamplingStrataDao.create(fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata) with an
additional flag called transform. |
Object |
create(int transform,
DenormalizedSamplingStrata denormalizedSamplingStrata)
Does the same thing as
DenormalizedSamplingStrataDao.create(fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata) with an
additional flag called transform. |
Object |
create(int transform,
String label,
Date startDate,
Date endDate,
String description,
String comments,
String observationLocationComments,
String samplingStrategy,
String taxonGroupName,
String samplingSchemeLabel,
String samplingSchemeName,
String samplingSchemeDescription,
Timestamp updateDate,
String gearMeshRange,
String vesselLengthRange,
String metier,
String areaName,
String subAreaLocationIds,
Program program,
Location observationLocation,
Person person,
Department department)
Does the same thing as
DenormalizedSamplingStrataDao.create(java.lang.String,java.util.Date,java.util.Date,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.sql.Timestamp,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,fr.ifremer.adagio.core.dao.administration.programStrategy.Program,fr.ifremer.adagio.core.dao.referential.location.Location,fr.ifremer.adagio.core.dao.administration.user.Person,fr.ifremer.adagio.core.dao.administration.user.Department) with an
additional flag called transform. |
Object |
create(int transform,
String label,
Program program,
String samplingSchemeLabel,
String samplingSchemeName)
Does the same thing as
DenormalizedSamplingStrataDao.create(java.lang.String,fr.ifremer.adagio.core.dao.administration.programStrategy.Program,java.lang.String,java.lang.String) with an
additional flag called transform. |
DenormalizedSamplingStrata |
create(String label,
Date startDate,
Date endDate,
String description,
String comments,
String observationLocationComments,
String samplingStrategy,
String taxonGroupName,
String samplingSchemeLabel,
String samplingSchemeName,
String samplingSchemeDescription,
Timestamp updateDate,
String gearMeshRange,
String vesselLengthRange,
String metier,
String areaName,
String subAreaLocationIds,
Program program,
Location observationLocation,
Person person,
Department department)
Creates a new
fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata
instance from all attributes and
properties and adds it to the persistent store. |
DenormalizedSamplingStrata |
create(String label,
Program program,
String samplingSchemeLabel,
String samplingSchemeName)
Creates a new
fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
protected Principal |
getPrincipal()
Gets the current
principal if one has been set,
otherwise returns null. |
DenormalizedSamplingStrata |
load(Integer id)
Loads an instance of fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata from the persistent store.
|
Object |
load(int transform,
Integer id)
Does the same thing as
DenormalizedSamplingStrataDao.load(java.lang.Integer) with an
additional flag called transform. |
Collection<DenormalizedSamplingStrata> |
loadAll()
Loads all entities of type
DenormalizedSamplingStrata. |
Collection<?> |
loadAll(int transform)
Does the same thing as
DenormalizedSamplingStrataDao.loadAll() with an
additional flag called transform. |
Collection<?> |
loadAll(int pageNumber,
int pageSize)
Does the same thing as
DenormalizedSamplingStrataDao.loadAll() with an
additional two arguments called pageNumber and pageSize. |
Collection<?> |
loadAll(int transform,
int pageNumber,
int pageSize)
Does the same thing as
DenormalizedSamplingStrataDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize. |
void |
remove(Collection<DenormalizedSamplingStrata> entities)
Removes all entities in the given
entities |
void |
remove(DenormalizedSamplingStrata denormalizedSamplingStrata)
Removes the instance of fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata from the persistent store.
|
void |
remove(Integer id)
Removes the instance of fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata 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
DenormalizedSamplingStrataDao.search(fr.ifremer.adagio.core.dao.Search) but with an
additional flag called transform. |
Set<DenormalizedSamplingStrata> |
search(Search search)
Performs a search using the parameters specified in the given
search object. |
protected DenormalizedSamplingStrata |
toEntity(Object[] row) |
protected void |
transformEntities(int transform,
Collection<?> entities)
Transforms a collection of entities using the
transformEntity(int,fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata)
method. |
protected Object |
transformEntity(int transform,
DenormalizedSamplingStrata 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.referential.samplingScheme.denormalized.DenormalizedSamplingStrataDao, please note
that the DenormalizedSamplingStrataDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(Collection<DenormalizedSamplingStrata> entities)
Updates all instances in the
entities collection in the persistent store. |
void |
update(DenormalizedSamplingStrata denormalizedSamplingStrata)
Updates the
denormalizedSamplingStrata instance in the persistent store. |
public Object load(int transform, Integer id)
DenormalizedSamplingStrataDao
Does the same thing as DenormalizedSamplingStrataDao.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 DenormalizedSamplingStrataDaoid - identifier of the entity to loadDenormalizedSamplingStrataDao.load(int, java.lang.Integer)public DenormalizedSamplingStrata load(Integer id)
DenormalizedSamplingStrataDaoload in interface DenormalizedSamplingStrataDaoDenormalizedSamplingStrataDao.load(java.lang.Integer)public Collection<DenormalizedSamplingStrata> loadAll()
DenormalizedSamplingStrataDaoDenormalizedSamplingStrata.loadAll in interface DenormalizedSamplingStrataDaoDenormalizedSamplingStrataDao.loadAll()public Collection<?> loadAll(int transform)
DenormalizedSamplingStrataDao
Does the same thing as DenormalizedSamplingStrataDao.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 DenormalizedSamplingStrataDaotransform - the flag indicating what transformation to use.DenormalizedSamplingStrataDao.loadAll(int)public Collection<?> loadAll(int pageNumber, int pageSize)
DenormalizedSamplingStrataDao
Does the same thing as DenormalizedSamplingStrataDao.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 DenormalizedSamplingStrataDaopageNumber - the page number to retrieve when paging results.pageSize - the size of the page to retrieve when paging results.DenormalizedSamplingStrataDao.loadAll(int, int)public Collection<?> loadAll(int transform, int pageNumber, int pageSize)
DenormalizedSamplingStrataDao
Does the same thing as DenormalizedSamplingStrataDao.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 DenormalizedSamplingStrataDaotransform - 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.DenormalizedSamplingStrataDao.loadAll(int, int, int)public DenormalizedSamplingStrata create(DenormalizedSamplingStrata denormalizedSamplingStrata)
DenormalizedSamplingStrataDaopublic Object create(int transform, DenormalizedSamplingStrata denormalizedSamplingStrata)
DenormalizedSamplingStrataDao
Does the same thing as DenormalizedSamplingStrataDao.create(fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata) 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<DenormalizedSamplingStrata> create(Collection<DenormalizedSamplingStrata> entities)
DenormalizedSamplingStrataDaoentities collectioncreate in interface DenormalizedSamplingStrataDaoentities - the collection of fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata
instances to create.fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrataDao#create(java.util.Collection) public Collection<?> create(int transform, Collection<DenormalizedSamplingStrata> entities)
DenormalizedSamplingStrataDao
Does the same thing as DenormalizedSamplingStrataDao.create(fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata) 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 DenormalizedSamplingStrataDaofr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrataDao#create(int, java.util.Collection) public DenormalizedSamplingStrata create(String label, Date startDate, Date endDate, String description, String comments, String observationLocationComments, String samplingStrategy, String taxonGroupName, String samplingSchemeLabel, String samplingSchemeName, String samplingSchemeDescription, Timestamp updateDate, String gearMeshRange, String vesselLengthRange, String metier, String areaName, String subAreaLocationIds, Program program, Location observationLocation, Person person, Department department)
DenormalizedSamplingStrataDao
Creates a new fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata
instance from all attributes and
properties and adds it to the persistent store.
create in interface DenormalizedSamplingStrataDaoDenormalizedSamplingStrataDao.create(java.lang.String,java.util.Date,java.util.Date,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.sql.Timestamp,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,fr.ifremer.adagio.core.dao.administration.programStrategy.Program,fr.ifremer.adagio.core.dao.referential.location.Location,fr.ifremer.adagio.core.dao.administration.user.Person,fr.ifremer.adagio.core.dao.administration.user.Department)public Object create(int transform, String label, Date startDate, Date endDate, String description, String comments, String observationLocationComments, String samplingStrategy, String taxonGroupName, String samplingSchemeLabel, String samplingSchemeName, String samplingSchemeDescription, Timestamp updateDate, String gearMeshRange, String vesselLengthRange, String metier, String areaName, String subAreaLocationIds, Program program, Location observationLocation, Person person, Department department)
DenormalizedSamplingStrataDao
Does the same thing as DenormalizedSamplingStrataDao.create(java.lang.String,java.util.Date,java.util.Date,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.sql.Timestamp,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,fr.ifremer.adagio.core.dao.administration.programStrategy.Program,fr.ifremer.adagio.core.dao.referential.location.Location,fr.ifremer.adagio.core.dao.administration.user.Person,fr.ifremer.adagio.core.dao.administration.user.Department) 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 DenormalizedSamplingStrataDaoDenormalizedSamplingStrataDao.create(int, java.lang.String,java.util.Date,java.util.Date,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.sql.Timestamp,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,fr.ifremer.adagio.core.dao.administration.programStrategy.Program,fr.ifremer.adagio.core.dao.referential.location.Location,fr.ifremer.adagio.core.dao.administration.user.Person,fr.ifremer.adagio.core.dao.administration.user.Department)public DenormalizedSamplingStrata create(String label, Program program, String samplingSchemeLabel, String samplingSchemeName)
DenormalizedSamplingStrataDao
Creates a new fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
public Object create(int transform, String label, Program program, String samplingSchemeLabel, String samplingSchemeName)
DenormalizedSamplingStrataDao
Does the same thing as DenormalizedSamplingStrataDao.create(java.lang.String,fr.ifremer.adagio.core.dao.administration.programStrategy.Program,java.lang.String,java.lang.String) 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.
public void update(DenormalizedSamplingStrata denormalizedSamplingStrata)
DenormalizedSamplingStrataDaodenormalizedSamplingStrata instance in the persistent store.public void update(Collection<DenormalizedSamplingStrata> entities)
DenormalizedSamplingStrataDaoentities collection in the persistent store.update in interface DenormalizedSamplingStrataDaofr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrataDao#update(java.util.Collection) public void remove(DenormalizedSamplingStrata denormalizedSamplingStrata)
DenormalizedSamplingStrataDaopublic void remove(Integer id)
DenormalizedSamplingStrataDaoidentifier from the persistent store.remove in interface DenormalizedSamplingStrataDaoDenormalizedSamplingStrataDao.remove(java.lang.Integer)public void remove(Collection<DenormalizedSamplingStrata> entities)
DenormalizedSamplingStrataDaoentities collection.remove in interface DenormalizedSamplingStrataDaofr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrataDao#remove(java.util.Collection) protected Object transformEntity(int transform, DenormalizedSamplingStrata entity)
transform
flag is set to one of the constants defined in fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrataDao, please note
that the DenormalizedSamplingStrataDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned.
If the integer argument value is unknown DenormalizedSamplingStrataDao.TRANSFORM_NONE is assumed.transform - one of the constants declared in DenormalizedSamplingStrataDaoentity - an entity that was foundtransformEntities(int,java.util.Collection)protected void transformEntities(int transform,
Collection<?> entities)
transformEntity(int,fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata)
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.referential.samplingScheme.denormalized.DenormalizedSamplingStrataDaoentities - the collection of entities to transformtransformEntity(int,fr.ifremer.adagio.core.dao.referential.samplingScheme.denormalized.DenormalizedSamplingStrata)protected DenormalizedSamplingStrata 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)
DenormalizedSamplingStrataDaopageNumber and pageSize. These flags allow you to
limit your data to a specified page number and size.search in interface DenormalizedSamplingStrataDaotransform - 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.DenormalizedSamplingStrataDao.search(int, int, int, fr.ifremer.adagio.core.dao.Search)public PaginationResult search(int pageNumber, int pageSize, Search search)
DenormalizedSamplingStrataDaopageNumber and pageSize. These flags allow you to
limit your data to a specified page number and size.search in interface DenormalizedSamplingStrataDaopageNumber - 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.DenormalizedSamplingStrataDao.search(int, int, fr.ifremer.adagio.core.dao.Search)public Set<?> search(int transform, Search search)
DenormalizedSamplingStrataDaoDenormalizedSamplingStrataDao.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 DenormalizedSamplingStrataDaotransform - the transformation flag.search - the search object which provides the search parameters and pagination specification.DenormalizedSamplingStrataDao.search(int, fr.ifremer.adagio.core.dao.Search)public Set<DenormalizedSamplingStrata> search(Search search)
DenormalizedSamplingStrataDaosearch object.search in interface DenormalizedSamplingStrataDaosearch - the search object which provides the search parameters and pagination specification.DenormalizedSamplingStrataDao.search(fr.ifremer.adagio.core.dao.Search)Copyright © 2013. All Rights Reserved.