public abstract class PmfmAppliedStrategyDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements PmfmAppliedStrategyDao
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy.
PmfmAppliedStrategyTRANSFORM_NONE| Constructor and Description |
|---|
PmfmAppliedStrategyDaoBase() |
| Modifier and Type | Method and Description |
|---|---|
PmfmAppliedStrategy |
create(AppliedStrategy appliedStrategy,
Pmfm pmfm)
Creates a new
fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
Collection<PmfmAppliedStrategy> |
create(Collection<PmfmAppliedStrategy> entities)
Creates a new instance of fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy and adds
from the passed in
entities collection |
Object |
create(int transform,
AppliedStrategy appliedStrategy,
Pmfm pmfm)
Does the same thing as
PmfmAppliedStrategyDao.create(fr.ifremer.adagio.core.dao.administration.programStrategy.AppliedStrategy,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm) with an
additional flag called transform. |
Collection<?> |
create(int transform,
Collection<PmfmAppliedStrategy> entities)
Does the same thing as
PmfmAppliedStrategyDao.create(fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy) with an
additional flag called transform. |
Object |
create(int transform,
Metier metier,
AppliedStrategy appliedStrategy,
Pmfm pmfm,
AnalysisInstrument analysisInstrument,
Gear gear)
Does the same thing as
PmfmAppliedStrategyDao.create(fr.ifremer.adagio.core.dao.referential.metier.Metier,fr.ifremer.adagio.core.dao.administration.programStrategy.AppliedStrategy,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm,fr.ifremer.adagio.core.dao.referential.AnalysisInstrument,fr.ifremer.adagio.core.dao.referential.gear.Gear) with an
additional flag called transform. |
Object |
create(int transform,
PmfmAppliedStrategy pmfmAppliedStrategy)
Does the same thing as
PmfmAppliedStrategyDao.create(fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy) with an
additional flag called transform. |
PmfmAppliedStrategy |
create(Metier metier,
AppliedStrategy appliedStrategy,
Pmfm pmfm,
AnalysisInstrument analysisInstrument,
Gear gear)
Creates a new
fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy
instance from all attributes and
properties and adds it to the persistent store. |
PmfmAppliedStrategy |
create(PmfmAppliedStrategy pmfmAppliedStrategy)
Creates an instance of fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy and adds it to the persistent store.
|
protected Principal |
getPrincipal()
Gets the current
principal if one has been set,
otherwise returns null. |
PmfmAppliedStrategy |
load(AppliedStrategy appliedStrategy,
Pmfm pmfm)
Loads an instance of fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy from the persistent store.
|
Object |
load(int transform,
AppliedStrategy appliedStrategy,
Pmfm pmfm)
Does the same thing as
PmfmAppliedStrategyDao.load(fr.ifremer.adagio.core.dao.administration.programStrategy.AppliedStrategy,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm) with an
additional flag called transform. |
Collection<PmfmAppliedStrategy> |
loadAll()
Loads all entities of type
PmfmAppliedStrategy. |
Collection<?> |
loadAll(int transform)
Does the same thing as
PmfmAppliedStrategyDao.loadAll() with an
additional flag called transform. |
Collection<?> |
loadAll(int pageNumber,
int pageSize)
Does the same thing as
PmfmAppliedStrategyDao.loadAll() with an
additional two arguments called pageNumber and pageSize. |
Collection<?> |
loadAll(int transform,
int pageNumber,
int pageSize)
Does the same thing as
PmfmAppliedStrategyDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize. |
void |
remove(AppliedStrategy appliedStrategy,
Pmfm pmfm)
Removes the instance of fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy having the given
identifiers from the persistent store. |
void |
remove(Collection<PmfmAppliedStrategy> entities)
Removes all entities in the given
entities |
void |
remove(PmfmAppliedStrategy pmfmAppliedStrategy)
Removes the instance of fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy 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
PmfmAppliedStrategyDao.search(fr.ifremer.adagio.core.dao.Search) but with an
additional flag called transform. |
Set<PmfmAppliedStrategy> |
search(Search search)
Performs a search using the parameters specified in the given
search object. |
protected PmfmAppliedStrategy |
toEntity(Object[] row) |
protected void |
transformEntities(int transform,
Collection<?> entities)
Transforms a collection of entities using the
transformEntity(int,fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy)
method. |
protected Object |
transformEntity(int transform,
PmfmAppliedStrategy 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.administration.programStrategy.PmfmAppliedStrategyDao, please note
that the PmfmAppliedStrategyDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(Collection<PmfmAppliedStrategy> entities)
Updates all instances in the
entities collection in the persistent store. |
void |
update(PmfmAppliedStrategy pmfmAppliedStrategy)
Updates the
pmfmAppliedStrategy instance in the persistent store. |
public Object load(int transform, AppliedStrategy appliedStrategy, Pmfm pmfm)
PmfmAppliedStrategyDao
Does the same thing as PmfmAppliedStrategyDao.load(fr.ifremer.adagio.core.dao.administration.programStrategy.AppliedStrategy,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 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 PmfmAppliedStrategyDaoappliedStrategy - identifier of the entity to loadpmfm - identifier of the entity to loadPmfmAppliedStrategyDao.load(int, fr.ifremer.adagio.core.dao.administration.programStrategy.AppliedStrategy,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm)public PmfmAppliedStrategy load(AppliedStrategy appliedStrategy, Pmfm pmfm)
PmfmAppliedStrategyDaopublic Collection<PmfmAppliedStrategy> loadAll()
PmfmAppliedStrategyDaoPmfmAppliedStrategy.loadAll in interface PmfmAppliedStrategyDaoPmfmAppliedStrategyDao.loadAll()public Collection<?> loadAll(int transform)
PmfmAppliedStrategyDao
Does the same thing as PmfmAppliedStrategyDao.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 PmfmAppliedStrategyDaotransform - the flag indicating what transformation to use.PmfmAppliedStrategyDao.loadAll(int)public Collection<?> loadAll(int pageNumber, int pageSize)
PmfmAppliedStrategyDao
Does the same thing as PmfmAppliedStrategyDao.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 PmfmAppliedStrategyDaopageNumber - the page number to retrieve when paging results.pageSize - the size of the page to retrieve when paging results.PmfmAppliedStrategyDao.loadAll(int, int)public Collection<?> loadAll(int transform, int pageNumber, int pageSize)
PmfmAppliedStrategyDao
Does the same thing as PmfmAppliedStrategyDao.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 PmfmAppliedStrategyDaotransform - 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.PmfmAppliedStrategyDao.loadAll(int, int, int)public PmfmAppliedStrategy create(PmfmAppliedStrategy pmfmAppliedStrategy)
PmfmAppliedStrategyDaocreate in interface PmfmAppliedStrategyDaoPmfmAppliedStrategyDao.create(fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy)public Object create(int transform, PmfmAppliedStrategy pmfmAppliedStrategy)
PmfmAppliedStrategyDao
Does the same thing as PmfmAppliedStrategyDao.create(fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy) 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 PmfmAppliedStrategyDaoPmfmAppliedStrategyDao.create(int transform, fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy)public Collection<PmfmAppliedStrategy> create(Collection<PmfmAppliedStrategy> entities)
PmfmAppliedStrategyDaoentities collectioncreate in interface PmfmAppliedStrategyDaoentities - the collection of fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy
instances to create.fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategyDao#create(java.util.Collection) public Collection<?> create(int transform, Collection<PmfmAppliedStrategy> entities)
PmfmAppliedStrategyDao
Does the same thing as PmfmAppliedStrategyDao.create(fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy) 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 PmfmAppliedStrategyDaofr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategyDao#create(int, java.util.Collection) public PmfmAppliedStrategy create(Metier metier, AppliedStrategy appliedStrategy, Pmfm pmfm, AnalysisInstrument analysisInstrument, Gear gear)
PmfmAppliedStrategyDao
Creates a new fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy
instance from all attributes and
properties and adds it to the persistent store.
create in interface PmfmAppliedStrategyDaoPmfmAppliedStrategyDao.create(fr.ifremer.adagio.core.dao.referential.metier.Metier,fr.ifremer.adagio.core.dao.administration.programStrategy.AppliedStrategy,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm,fr.ifremer.adagio.core.dao.referential.AnalysisInstrument,fr.ifremer.adagio.core.dao.referential.gear.Gear)public Object create(int transform, Metier metier, AppliedStrategy appliedStrategy, Pmfm pmfm, AnalysisInstrument analysisInstrument, Gear gear)
PmfmAppliedStrategyDao
Does the same thing as PmfmAppliedStrategyDao.create(fr.ifremer.adagio.core.dao.referential.metier.Metier,fr.ifremer.adagio.core.dao.administration.programStrategy.AppliedStrategy,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm,fr.ifremer.adagio.core.dao.referential.AnalysisInstrument,fr.ifremer.adagio.core.dao.referential.gear.Gear) 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 PmfmAppliedStrategyDaoPmfmAppliedStrategyDao.create(int, fr.ifremer.adagio.core.dao.referential.metier.Metier,fr.ifremer.adagio.core.dao.administration.programStrategy.AppliedStrategy,fr.ifremer.adagio.core.dao.referential.pmfm.Pmfm,fr.ifremer.adagio.core.dao.referential.AnalysisInstrument,fr.ifremer.adagio.core.dao.referential.gear.Gear)public PmfmAppliedStrategy create(AppliedStrategy appliedStrategy, Pmfm pmfm)
PmfmAppliedStrategyDao
Creates a new fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
public Object create(int transform, AppliedStrategy appliedStrategy, Pmfm pmfm)
PmfmAppliedStrategyDao
Does the same thing as PmfmAppliedStrategyDao.create(fr.ifremer.adagio.core.dao.administration.programStrategy.AppliedStrategy,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 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(PmfmAppliedStrategy pmfmAppliedStrategy)
PmfmAppliedStrategyDaopmfmAppliedStrategy instance in the persistent store.update in interface PmfmAppliedStrategyDaoPmfmAppliedStrategyDao.update(fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy)public void update(Collection<PmfmAppliedStrategy> entities)
PmfmAppliedStrategyDaoentities collection in the persistent store.update in interface PmfmAppliedStrategyDaofr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategyDao#update(java.util.Collection) public void remove(PmfmAppliedStrategy pmfmAppliedStrategy)
PmfmAppliedStrategyDaoremove in interface PmfmAppliedStrategyDaoPmfmAppliedStrategyDao.remove(fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy)public void remove(AppliedStrategy appliedStrategy, Pmfm pmfm)
PmfmAppliedStrategyDaoidentifiers from the persistent store.public void remove(Collection<PmfmAppliedStrategy> entities)
PmfmAppliedStrategyDaoentities collection.remove in interface PmfmAppliedStrategyDaofr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategyDao#remove(java.util.Collection) protected Object transformEntity(int transform, PmfmAppliedStrategy entity)
transform
flag is set to one of the constants defined in fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategyDao, please note
that the PmfmAppliedStrategyDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned.
If the integer argument value is unknown PmfmAppliedStrategyDao.TRANSFORM_NONE is assumed.transform - one of the constants declared in PmfmAppliedStrategyDaoentity - an entity that was foundtransformEntities(int,java.util.Collection)protected void transformEntities(int transform,
Collection<?> entities)
transformEntity(int,fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy)
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.administration.programStrategy.PmfmAppliedStrategyDaoentities - the collection of entities to transformtransformEntity(int,fr.ifremer.adagio.core.dao.administration.programStrategy.PmfmAppliedStrategy)protected PmfmAppliedStrategy 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)
PmfmAppliedStrategyDaopageNumber and pageSize. These flags allow you to
limit your data to a specified page number and size.search in interface PmfmAppliedStrategyDaotransform - 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.PmfmAppliedStrategyDao.search(int, int, int, fr.ifremer.adagio.core.dao.Search)public PaginationResult search(int pageNumber, int pageSize, Search search)
PmfmAppliedStrategyDaopageNumber and pageSize. These flags allow you to
limit your data to a specified page number and size.search in interface PmfmAppliedStrategyDaopageNumber - 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.PmfmAppliedStrategyDao.search(int, int, fr.ifremer.adagio.core.dao.Search)public Set<?> search(int transform, Search search)
PmfmAppliedStrategyDaoPmfmAppliedStrategyDao.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 PmfmAppliedStrategyDaotransform - the transformation flag.search - the search object which provides the search parameters and pagination specification.PmfmAppliedStrategyDao.search(int, fr.ifremer.adagio.core.dao.Search)public Set<PmfmAppliedStrategy> search(Search search)
PmfmAppliedStrategyDaosearch object.search in interface PmfmAppliedStrategyDaosearch - the search object which provides the search parameters and pagination specification.PmfmAppliedStrategyDao.search(fr.ifremer.adagio.core.dao.Search)Copyright © 2013. All Rights Reserved.