public abstract class LocationClassificationDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements LocationClassificationDao
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.adagio.core.dao.referential.location.LocationClassification.
LocationClassificationTRANSFORM_NONE| Constructor and Description |
|---|
LocationClassificationDaoBase() |
| Modifier and Type | Method and Description |
|---|---|
Collection<LocationClassification> |
create(Collection<LocationClassification> entities)
Creates a new instance of fr.ifremer.adagio.core.dao.referential.location.LocationClassification and adds
from the passed in
entities collection |
Collection<?> |
create(int transform,
Collection<LocationClassification> entities)
Does the same thing as
LocationClassificationDao.create(fr.ifremer.adagio.core.dao.referential.location.LocationClassification) with an
additional flag called transform. |
LocationClassification |
create(Integer id,
String name)
Creates a new
fr.ifremer.adagio.core.dao.referential.location.LocationClassification
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
LocationClassification |
create(Integer id,
String name,
Timestamp updateDate)
Creates a new
fr.ifremer.adagio.core.dao.referential.location.LocationClassification
instance from all attributes and
properties and adds it to the persistent store. |
Object |
create(int transform,
Integer id,
String name)
Does the same thing as
LocationClassificationDao.create(java.lang.Integer,java.lang.String) with an
additional flag called transform. |
Object |
create(int transform,
Integer id,
String name,
Timestamp updateDate)
Does the same thing as
LocationClassificationDao.create(java.lang.Integer,java.lang.String,java.sql.Timestamp) with an
additional flag called transform. |
Object |
create(int transform,
LocationClassification locationClassification)
Does the same thing as
LocationClassificationDao.create(fr.ifremer.adagio.core.dao.referential.location.LocationClassification) with an
additional flag called transform. |
LocationClassification |
create(LocationClassification locationClassification)
Creates an instance of fr.ifremer.adagio.core.dao.referential.location.LocationClassification and adds it to the persistent store.
|
protected Principal |
getPrincipal()
Gets the current
principal if one has been set,
otherwise returns null. |
LocationClassification |
load(Integer id)
Loads an instance of fr.ifremer.adagio.core.dao.referential.location.LocationClassification from the persistent store.
|
Object |
load(int transform,
Integer id)
Does the same thing as
LocationClassificationDao.load(java.lang.Integer) with an
additional flag called transform. |
Collection<LocationClassification> |
loadAll()
Loads all entities of type
LocationClassification. |
Collection<?> |
loadAll(int transform)
Does the same thing as
LocationClassificationDao.loadAll() with an
additional flag called transform. |
Collection<?> |
loadAll(int pageNumber,
int pageSize)
Does the same thing as
LocationClassificationDao.loadAll() with an
additional two arguments called pageNumber and pageSize. |
Collection<?> |
loadAll(int transform,
int pageNumber,
int pageSize)
Does the same thing as
LocationClassificationDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize. |
void |
remove(Collection<LocationClassification> entities)
Removes all entities in the given
entities |
void |
remove(Integer id)
Removes the instance of fr.ifremer.adagio.core.dao.referential.location.LocationClassification having the given
identifier from the persistent store. |
void |
remove(LocationClassification locationClassification)
Removes the instance of fr.ifremer.adagio.core.dao.referential.location.LocationClassification 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
LocationClassificationDao.search(fr.ifremer.adagio.core.dao.Search) but with an
additional flag called transform. |
Set<LocationClassification> |
search(Search search)
Performs a search using the parameters specified in the given
search object. |
protected LocationClassification |
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.location.LocationClassification)
method. |
protected Object |
transformEntity(int transform,
LocationClassification 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.location.LocationClassificationDao, please note
that the LocationClassificationDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(Collection<LocationClassification> entities)
Updates all instances in the
entities collection in the persistent store. |
void |
update(LocationClassification locationClassification)
Updates the
locationClassification instance in the persistent store. |
public Object load(int transform, Integer id)
LocationClassificationDao
Does the same thing as LocationClassificationDao.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 LocationClassificationDaoid - identifier of the entity to loadLocationClassificationDao.load(int, java.lang.Integer)public LocationClassification load(Integer id)
LocationClassificationDaoload in interface LocationClassificationDaoLocationClassificationDao.load(java.lang.Integer)public Collection<LocationClassification> loadAll()
LocationClassificationDaoLocationClassification.loadAll in interface LocationClassificationDaoLocationClassificationDao.loadAll()public Collection<?> loadAll(int transform)
LocationClassificationDao
Does the same thing as LocationClassificationDao.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 LocationClassificationDaotransform - the flag indicating what transformation to use.LocationClassificationDao.loadAll(int)public Collection<?> loadAll(int pageNumber, int pageSize)
LocationClassificationDao
Does the same thing as LocationClassificationDao.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 LocationClassificationDaopageNumber - the page number to retrieve when paging results.pageSize - the size of the page to retrieve when paging results.LocationClassificationDao.loadAll(int, int)public Collection<?> loadAll(int transform, int pageNumber, int pageSize)
LocationClassificationDao
Does the same thing as LocationClassificationDao.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 LocationClassificationDaotransform - 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.LocationClassificationDao.loadAll(int, int, int)public LocationClassification create(LocationClassification locationClassification)
LocationClassificationDaocreate in interface LocationClassificationDaoLocationClassificationDao.create(fr.ifremer.adagio.core.dao.referential.location.LocationClassification)public Object create(int transform, LocationClassification locationClassification)
LocationClassificationDao
Does the same thing as LocationClassificationDao.create(fr.ifremer.adagio.core.dao.referential.location.LocationClassification) 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 LocationClassificationDaoLocationClassificationDao.create(int transform, fr.ifremer.adagio.core.dao.referential.location.LocationClassification)public Collection<LocationClassification> create(Collection<LocationClassification> entities)
LocationClassificationDaoentities collectioncreate in interface LocationClassificationDaoentities - the collection of fr.ifremer.adagio.core.dao.referential.location.LocationClassification
instances to create.fr.ifremer.adagio.core.dao.referential.location.LocationClassificationDao#create(java.util.Collection) public Collection<?> create(int transform, Collection<LocationClassification> entities)
LocationClassificationDao
Does the same thing as LocationClassificationDao.create(fr.ifremer.adagio.core.dao.referential.location.LocationClassification) 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 LocationClassificationDaofr.ifremer.adagio.core.dao.referential.location.LocationClassificationDao#create(int, java.util.Collection) public LocationClassification create(Integer id, String name, Timestamp updateDate)
LocationClassificationDao
Creates a new fr.ifremer.adagio.core.dao.referential.location.LocationClassification
instance from all attributes and
properties and adds it to the persistent store.
create in interface LocationClassificationDaoLocationClassificationDao.create(java.lang.Integer,java.lang.String,java.sql.Timestamp)public Object create(int transform, Integer id, String name, Timestamp updateDate)
LocationClassificationDao
Does the same thing as LocationClassificationDao.create(java.lang.Integer,java.lang.String,java.sql.Timestamp) 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 LocationClassificationDaoLocationClassificationDao.create(int, java.lang.Integer,java.lang.String,java.sql.Timestamp)public LocationClassification create(Integer id, String name)
LocationClassificationDao
Creates a new fr.ifremer.adagio.core.dao.referential.location.LocationClassification
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create in interface LocationClassificationDaoLocationClassificationDao.create(java.lang.Integer,java.lang.String)public Object create(int transform, Integer id, String name)
LocationClassificationDao
Does the same thing as LocationClassificationDao.create(java.lang.Integer,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.
create in interface LocationClassificationDaoLocationClassificationDao.create(int, java.lang.Integer,java.lang.String)public void update(LocationClassification locationClassification)
LocationClassificationDaolocationClassification instance in the persistent store.update in interface LocationClassificationDaoLocationClassificationDao.update(fr.ifremer.adagio.core.dao.referential.location.LocationClassification)public void update(Collection<LocationClassification> entities)
LocationClassificationDaoentities collection in the persistent store.update in interface LocationClassificationDaofr.ifremer.adagio.core.dao.referential.location.LocationClassificationDao#update(java.util.Collection) public void remove(LocationClassification locationClassification)
LocationClassificationDaoremove in interface LocationClassificationDaoLocationClassificationDao.remove(fr.ifremer.adagio.core.dao.referential.location.LocationClassification)public void remove(Integer id)
LocationClassificationDaoidentifier from the persistent store.remove in interface LocationClassificationDaoLocationClassificationDao.remove(java.lang.Integer)public void remove(Collection<LocationClassification> entities)
LocationClassificationDaoentities collection.remove in interface LocationClassificationDaofr.ifremer.adagio.core.dao.referential.location.LocationClassificationDao#remove(java.util.Collection) protected Object transformEntity(int transform, LocationClassification entity)
transform
flag is set to one of the constants defined in fr.ifremer.adagio.core.dao.referential.location.LocationClassificationDao, please note
that the LocationClassificationDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned.
If the integer argument value is unknown LocationClassificationDao.TRANSFORM_NONE is assumed.transform - one of the constants declared in LocationClassificationDaoentity - an entity that was foundtransformEntities(int,java.util.Collection)protected void transformEntities(int transform,
Collection<?> entities)
transformEntity(int,fr.ifremer.adagio.core.dao.referential.location.LocationClassification)
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.location.LocationClassificationDaoentities - the collection of entities to transformtransformEntity(int,fr.ifremer.adagio.core.dao.referential.location.LocationClassification)protected LocationClassification 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)
LocationClassificationDaopageNumber and pageSize. These flags allow you to
limit your data to a specified page number and size.search in interface LocationClassificationDaotransform - 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.LocationClassificationDao.search(int, int, int, fr.ifremer.adagio.core.dao.Search)public PaginationResult search(int pageNumber, int pageSize, Search search)
LocationClassificationDaopageNumber and pageSize. These flags allow you to
limit your data to a specified page number and size.search in interface LocationClassificationDaopageNumber - 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.LocationClassificationDao.search(int, int, fr.ifremer.adagio.core.dao.Search)public Set<?> search(int transform, Search search)
LocationClassificationDaoLocationClassificationDao.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 LocationClassificationDaotransform - the transformation flag.search - the search object which provides the search parameters and pagination specification.LocationClassificationDao.search(int, fr.ifremer.adagio.core.dao.Search)public Set<LocationClassification> search(Search search)
LocationClassificationDaosearch object.search in interface LocationClassificationDaosearch - the search object which provides the search parameters and pagination specification.LocationClassificationDao.search(fr.ifremer.adagio.core.dao.Search)Copyright © 2013. All Rights Reserved.