public abstract class FishingTripOriginDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements FishingTripOriginDao
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin.
FishingTripOriginTRANSFORM_NONE| Constructor and Description |
|---|
FishingTripOriginDaoBase() |
| Modifier and Type | Method and Description |
|---|---|
Collection<FishingTripOrigin> |
create(Collection<FishingTripOrigin> entities)
Creates a new instance of fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin and adds
from the passed in
entities collection |
FishingTripOrigin |
create(FishingTripOrigin fishingTripOrigin)
Creates an instance of fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin and adds it to the persistent store.
|
FishingTripOrigin |
create(FishingTrip fishingTrip,
Program program)
Creates a new
fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
Collection<?> |
create(int transform,
Collection<FishingTripOrigin> entities)
Does the same thing as
FishingTripOriginDao.create(fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin) with an
additional flag called transform. |
Object |
create(int transform,
FishingTripOrigin fishingTripOrigin)
Does the same thing as
FishingTripOriginDao.create(fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin) with an
additional flag called transform. |
Object |
create(int transform,
FishingTrip fishingTrip,
Program program)
Does the same thing as
FishingTripOriginDao.create(fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTrip,fr.ifremer.adagio.core.dao.administration.programStrategy.Program) with an
additional flag called transform. |
Object |
create(int transform,
Program program,
FishingTrip fishingTrip,
FishingTrip originFishingTrip)
Does the same thing as
FishingTripOriginDao.create(fr.ifremer.adagio.core.dao.administration.programStrategy.Program,fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTrip,fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTrip) with an
additional flag called transform. |
FishingTripOrigin |
create(Program program,
FishingTrip fishingTrip,
FishingTrip originFishingTrip)
Creates a new
fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin
instance from all attributes and
properties and adds it to the persistent store. |
protected Principal |
getPrincipal()
Gets the current
principal if one has been set,
otherwise returns null. |
FishingTripOrigin |
load(Integer id)
Loads an instance of fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin from the persistent store.
|
Object |
load(int transform,
Integer id)
Does the same thing as
FishingTripOriginDao.load(java.lang.Integer) with an
additional flag called transform. |
Collection<FishingTripOrigin> |
loadAll()
Loads all entities of type
FishingTripOrigin. |
Collection<?> |
loadAll(int transform)
Does the same thing as
FishingTripOriginDao.loadAll() with an
additional flag called transform. |
Collection<?> |
loadAll(int pageNumber,
int pageSize)
Does the same thing as
FishingTripOriginDao.loadAll() with an
additional two arguments called pageNumber and pageSize. |
Collection<?> |
loadAll(int transform,
int pageNumber,
int pageSize)
Does the same thing as
FishingTripOriginDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize. |
void |
remove(Collection<FishingTripOrigin> entities)
Removes all entities in the given
entities |
void |
remove(FishingTripOrigin fishingTripOrigin)
Removes the instance of fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin from the persistent store.
|
void |
remove(Integer id)
Removes the instance of fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin 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
FishingTripOriginDao.search(fr.ifremer.adagio.core.dao.Search) but with an
additional flag called transform. |
Set<FishingTripOrigin> |
search(Search search)
Performs a search using the parameters specified in the given
search object. |
protected FishingTripOrigin |
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.survey.fishingTrip.FishingTripOrigin)
method. |
protected Object |
transformEntity(int transform,
FishingTripOrigin 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.survey.fishingTrip.FishingTripOriginDao, please note
that the FishingTripOriginDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(Collection<FishingTripOrigin> entities)
Updates all instances in the
entities collection in the persistent store. |
void |
update(FishingTripOrigin fishingTripOrigin)
Updates the
fishingTripOrigin instance in the persistent store. |
public Object load(int transform, Integer id)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.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 FishingTripOriginDaoid - identifier of the entity to loadFishingTripOriginDao.load(int, java.lang.Integer)public FishingTripOrigin load(Integer id)
FishingTripOriginDaoload in interface FishingTripOriginDaoFishingTripOriginDao.load(java.lang.Integer)public Collection<FishingTripOrigin> loadAll()
FishingTripOriginDaoFishingTripOrigin.loadAll in interface FishingTripOriginDaoFishingTripOriginDao.loadAll()public Collection<?> loadAll(int transform)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.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 FishingTripOriginDaotransform - the flag indicating what transformation to use.FishingTripOriginDao.loadAll(int)public Collection<?> loadAll(int pageNumber, int pageSize)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.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 FishingTripOriginDaopageNumber - the page number to retrieve when paging results.pageSize - the size of the page to retrieve when paging results.FishingTripOriginDao.loadAll(int, int)public Collection<?> loadAll(int transform, int pageNumber, int pageSize)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.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 FishingTripOriginDaotransform - 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.FishingTripOriginDao.loadAll(int, int, int)public FishingTripOrigin create(FishingTripOrigin fishingTripOrigin)
FishingTripOriginDaocreate in interface FishingTripOriginDaoFishingTripOriginDao.create(fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin)public Object create(int transform, FishingTripOrigin fishingTripOrigin)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.create(fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin) 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 FishingTripOriginDaoFishingTripOriginDao.create(int transform, fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin)public Collection<FishingTripOrigin> create(Collection<FishingTripOrigin> entities)
FishingTripOriginDaoentities collectioncreate in interface FishingTripOriginDaoentities - the collection of fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin
instances to create.fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOriginDao#create(java.util.Collection) public Collection<?> create(int transform, Collection<FishingTripOrigin> entities)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.create(fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin) 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 FishingTripOriginDaofr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOriginDao#create(int, java.util.Collection) public FishingTripOrigin create(Program program, FishingTrip fishingTrip, FishingTrip originFishingTrip)
FishingTripOriginDao
Creates a new fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin
instance from all attributes and
properties and adds it to the persistent store.
public Object create(int transform, Program program, FishingTrip fishingTrip, FishingTrip originFishingTrip)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.create(fr.ifremer.adagio.core.dao.administration.programStrategy.Program,fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTrip,fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTrip) 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 FishingTripOrigin create(FishingTrip fishingTrip, Program program)
FishingTripOriginDao
Creates a new fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
public Object create(int transform, FishingTrip fishingTrip, Program program)
FishingTripOriginDao
Does the same thing as FishingTripOriginDao.create(fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTrip,fr.ifremer.adagio.core.dao.administration.programStrategy.Program) 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(FishingTripOrigin fishingTripOrigin)
FishingTripOriginDaofishingTripOrigin instance in the persistent store.update in interface FishingTripOriginDaoFishingTripOriginDao.update(fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin)public void update(Collection<FishingTripOrigin> entities)
FishingTripOriginDaoentities collection in the persistent store.update in interface FishingTripOriginDaofr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOriginDao#update(java.util.Collection) public void remove(FishingTripOrigin fishingTripOrigin)
FishingTripOriginDaoremove in interface FishingTripOriginDaoFishingTripOriginDao.remove(fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin)public void remove(Integer id)
FishingTripOriginDaoidentifier from the persistent store.remove in interface FishingTripOriginDaoFishingTripOriginDao.remove(java.lang.Integer)public void remove(Collection<FishingTripOrigin> entities)
FishingTripOriginDaoentities collection.remove in interface FishingTripOriginDaofr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOriginDao#remove(java.util.Collection) protected Object transformEntity(int transform, FishingTripOrigin entity)
transform
flag is set to one of the constants defined in fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOriginDao, please note
that the FishingTripOriginDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned.
If the integer argument value is unknown FishingTripOriginDao.TRANSFORM_NONE is assumed.transform - one of the constants declared in FishingTripOriginDaoentity - an entity that was foundtransformEntities(int,java.util.Collection)protected void transformEntities(int transform,
Collection<?> entities)
transformEntity(int,fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin)
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.survey.fishingTrip.FishingTripOriginDaoentities - the collection of entities to transformtransformEntity(int,fr.ifremer.adagio.core.dao.data.survey.fishingTrip.FishingTripOrigin)protected FishingTripOrigin 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)
FishingTripOriginDaopageNumber and pageSize. These flags allow you to
limit your data to a specified page number and size.search in interface FishingTripOriginDaotransform - 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.FishingTripOriginDao.search(int, int, int, fr.ifremer.adagio.core.dao.Search)public PaginationResult search(int pageNumber, int pageSize, Search search)
FishingTripOriginDaopageNumber and pageSize. These flags allow you to
limit your data to a specified page number and size.search in interface FishingTripOriginDaopageNumber - 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.FishingTripOriginDao.search(int, int, fr.ifremer.adagio.core.dao.Search)public Set<?> search(int transform, Search search)
FishingTripOriginDaoFishingTripOriginDao.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 FishingTripOriginDaotransform - the transformation flag.search - the search object which provides the search parameters and pagination specification.FishingTripOriginDao.search(int, fr.ifremer.adagio.core.dao.Search)public Set<FishingTripOrigin> search(Search search)
FishingTripOriginDaosearch object.search in interface FishingTripOriginDaosearch - the search object which provides the search parameters and pagination specification.FishingTripOriginDao.search(fr.ifremer.adagio.core.dao.Search)Copyright © 2013. All Rights Reserved.