public abstract class GroupingVesselHierarchyDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements GroupingVesselHierarchyDao
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy.
GroupingVesselHierarchyTRANSFORM_NONE| Constructor and Description |
|---|
GroupingVesselHierarchyDaoBase() |
| Modifier and Type | Method and Description |
|---|---|
Collection<GroupingVesselHierarchy> |
create(Collection<GroupingVesselHierarchy> entities)
Creates a new instance of fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy and adds
from the passed in
entities collection |
GroupingVesselHierarchy |
create(Date startDate,
Date endDate,
Timestamp updateDate,
GroupingClassification groupingClassification,
Location location,
Vessel vessel,
Program program,
ObjectType objectType,
Grouping grouping)
Creates a new
fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy
instance from all attributes and
properties and adds it to the persistent store. |
GroupingVesselHierarchy |
create(Grouping grouping,
GroupingClassification groupingClassification,
Location location,
ObjectType objectType,
Program program,
Date startDate,
Vessel vessel)
Creates a new
fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
GroupingVesselHierarchy |
create(GroupingVesselHierarchy groupingVesselHierarchy)
Creates an instance of fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy and adds it to the persistent store.
|
Collection<?> |
create(int transform,
Collection<GroupingVesselHierarchy> entities)
Does the same thing as
GroupingVesselHierarchyDao.create(fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy) with an
additional flag called transform. |
Object |
create(int transform,
Date startDate,
Date endDate,
Timestamp updateDate,
GroupingClassification groupingClassification,
Location location,
Vessel vessel,
Program program,
ObjectType objectType,
Grouping grouping)
Does the same thing as
GroupingVesselHierarchyDao.create(java.util.Date,java.util.Date,java.sql.Timestamp,fr.ifremer.adagio.core.dao.referential.grouping.GroupingClassification,fr.ifremer.adagio.core.dao.referential.location.Location,fr.ifremer.adagio.core.dao.referential.vessel.Vessel,fr.ifremer.adagio.core.dao.administration.programStrategy.Program,fr.ifremer.adagio.core.dao.referential.ObjectType,fr.ifremer.adagio.core.dao.referential.grouping.Grouping) with an
additional flag called transform. |
Object |
create(int transform,
Grouping grouping,
GroupingClassification groupingClassification,
Location location,
ObjectType objectType,
Program program,
Date startDate,
Vessel vessel)
Does the same thing as
GroupingVesselHierarchyDao.create(fr.ifremer.adagio.core.dao.referential.grouping.Grouping,fr.ifremer.adagio.core.dao.referential.grouping.GroupingClassification,fr.ifremer.adagio.core.dao.referential.location.Location,fr.ifremer.adagio.core.dao.referential.ObjectType,fr.ifremer.adagio.core.dao.administration.programStrategy.Program,java.util.Date,fr.ifremer.adagio.core.dao.referential.vessel.Vessel) with an
additional flag called transform. |
Object |
create(int transform,
GroupingVesselHierarchy groupingVesselHierarchy)
Does the same thing as
GroupingVesselHierarchyDao.create(fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy) with an
additional flag called transform. |
protected Principal |
getPrincipal()
Gets the current
principal if one has been set,
otherwise returns null. |
GroupingVesselHierarchy |
load(Integer id)
Loads an instance of fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy from the persistent store.
|
Object |
load(int transform,
Integer id)
Does the same thing as
GroupingVesselHierarchyDao.load(java.lang.Integer) with an
additional flag called transform. |
Collection<GroupingVesselHierarchy> |
loadAll()
Loads all entities of type
GroupingVesselHierarchy. |
Collection<?> |
loadAll(int transform)
Does the same thing as
GroupingVesselHierarchyDao.loadAll() with an
additional flag called transform. |
Collection<?> |
loadAll(int pageNumber,
int pageSize)
Does the same thing as
GroupingVesselHierarchyDao.loadAll() with an
additional two arguments called pageNumber and pageSize. |
Collection<?> |
loadAll(int transform,
int pageNumber,
int pageSize)
Does the same thing as
GroupingVesselHierarchyDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize. |
void |
remove(Collection<GroupingVesselHierarchy> entities)
Removes all entities in the given
entities |
void |
remove(GroupingVesselHierarchy groupingVesselHierarchy)
Removes the instance of fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy from the persistent store.
|
void |
remove(Integer id)
Removes the instance of fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy 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
GroupingVesselHierarchyDao.search(fr.ifremer.adagio.core.dao.Search) but with an
additional flag called transform. |
Set<GroupingVesselHierarchy> |
search(Search search)
Performs a search using the parameters specified in the given
search object. |
protected GroupingVesselHierarchy |
toEntity(Object[] row) |
protected void |
transformEntities(int transform,
Collection<?> entities)
Transforms a collection of entities using the
transformEntity(int,fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy)
method. |
protected Object |
transformEntity(int transform,
GroupingVesselHierarchy 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.technical.optimization.grouping.GroupingVesselHierarchyDao, please note
that the GroupingVesselHierarchyDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(Collection<GroupingVesselHierarchy> entities)
Updates all instances in the
entities collection in the persistent store. |
void |
update(GroupingVesselHierarchy groupingVesselHierarchy)
Updates the
groupingVesselHierarchy instance in the persistent store. |
public Object load(int transform, Integer id)
GroupingVesselHierarchyDao
Does the same thing as GroupingVesselHierarchyDao.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 GroupingVesselHierarchyDaoid - identifier of the entity to loadGroupingVesselHierarchyDao.load(int, java.lang.Integer)public GroupingVesselHierarchy load(Integer id)
GroupingVesselHierarchyDaoload in interface GroupingVesselHierarchyDaoGroupingVesselHierarchyDao.load(java.lang.Integer)public Collection<GroupingVesselHierarchy> loadAll()
GroupingVesselHierarchyDaoGroupingVesselHierarchy.loadAll in interface GroupingVesselHierarchyDaoGroupingVesselHierarchyDao.loadAll()public Collection<?> loadAll(int transform)
GroupingVesselHierarchyDao
Does the same thing as GroupingVesselHierarchyDao.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 GroupingVesselHierarchyDaotransform - the flag indicating what transformation to use.GroupingVesselHierarchyDao.loadAll(int)public Collection<?> loadAll(int pageNumber, int pageSize)
GroupingVesselHierarchyDao
Does the same thing as GroupingVesselHierarchyDao.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 GroupingVesselHierarchyDaopageNumber - the page number to retrieve when paging results.pageSize - the size of the page to retrieve when paging results.GroupingVesselHierarchyDao.loadAll(int, int)public Collection<?> loadAll(int transform, int pageNumber, int pageSize)
GroupingVesselHierarchyDao
Does the same thing as GroupingVesselHierarchyDao.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 GroupingVesselHierarchyDaotransform - 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.GroupingVesselHierarchyDao.loadAll(int, int, int)public GroupingVesselHierarchy create(GroupingVesselHierarchy groupingVesselHierarchy)
GroupingVesselHierarchyDaocreate in interface GroupingVesselHierarchyDaoGroupingVesselHierarchyDao.create(fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy)public Object create(int transform, GroupingVesselHierarchy groupingVesselHierarchy)
GroupingVesselHierarchyDao
Does the same thing as GroupingVesselHierarchyDao.create(fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy) 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<GroupingVesselHierarchy> create(Collection<GroupingVesselHierarchy> entities)
GroupingVesselHierarchyDaoentities collectioncreate in interface GroupingVesselHierarchyDaoentities - the collection of fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy
instances to create.fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchyDao#create(java.util.Collection) public Collection<?> create(int transform, Collection<GroupingVesselHierarchy> entities)
GroupingVesselHierarchyDao
Does the same thing as GroupingVesselHierarchyDao.create(fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy) 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 GroupingVesselHierarchyDaofr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchyDao#create(int, java.util.Collection) public GroupingVesselHierarchy create(Date startDate, Date endDate, Timestamp updateDate, GroupingClassification groupingClassification, Location location, Vessel vessel, Program program, ObjectType objectType, Grouping grouping)
GroupingVesselHierarchyDao
Creates a new fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy
instance from all attributes and
properties and adds it to the persistent store.
create in interface GroupingVesselHierarchyDaoGroupingVesselHierarchyDao.create(java.util.Date,java.util.Date,java.sql.Timestamp,fr.ifremer.adagio.core.dao.referential.grouping.GroupingClassification,fr.ifremer.adagio.core.dao.referential.location.Location,fr.ifremer.adagio.core.dao.referential.vessel.Vessel,fr.ifremer.adagio.core.dao.administration.programStrategy.Program,fr.ifremer.adagio.core.dao.referential.ObjectType,fr.ifremer.adagio.core.dao.referential.grouping.Grouping)public Object create(int transform, Date startDate, Date endDate, Timestamp updateDate, GroupingClassification groupingClassification, Location location, Vessel vessel, Program program, ObjectType objectType, Grouping grouping)
GroupingVesselHierarchyDao
Does the same thing as GroupingVesselHierarchyDao.create(java.util.Date,java.util.Date,java.sql.Timestamp,fr.ifremer.adagio.core.dao.referential.grouping.GroupingClassification,fr.ifremer.adagio.core.dao.referential.location.Location,fr.ifremer.adagio.core.dao.referential.vessel.Vessel,fr.ifremer.adagio.core.dao.administration.programStrategy.Program,fr.ifremer.adagio.core.dao.referential.ObjectType,fr.ifremer.adagio.core.dao.referential.grouping.Grouping) 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 GroupingVesselHierarchyDaoGroupingVesselHierarchyDao.create(int, java.util.Date,java.util.Date,java.sql.Timestamp,fr.ifremer.adagio.core.dao.referential.grouping.GroupingClassification,fr.ifremer.adagio.core.dao.referential.location.Location,fr.ifremer.adagio.core.dao.referential.vessel.Vessel,fr.ifremer.adagio.core.dao.administration.programStrategy.Program,fr.ifremer.adagio.core.dao.referential.ObjectType,fr.ifremer.adagio.core.dao.referential.grouping.Grouping)public GroupingVesselHierarchy create(Grouping grouping, GroupingClassification groupingClassification, Location location, ObjectType objectType, Program program, Date startDate, Vessel vessel)
GroupingVesselHierarchyDao
Creates a new fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create in interface GroupingVesselHierarchyDaoGroupingVesselHierarchyDao.create(fr.ifremer.adagio.core.dao.referential.grouping.Grouping,fr.ifremer.adagio.core.dao.referential.grouping.GroupingClassification,fr.ifremer.adagio.core.dao.referential.location.Location,fr.ifremer.adagio.core.dao.referential.ObjectType,fr.ifremer.adagio.core.dao.administration.programStrategy.Program,java.util.Date,fr.ifremer.adagio.core.dao.referential.vessel.Vessel)public Object create(int transform, Grouping grouping, GroupingClassification groupingClassification, Location location, ObjectType objectType, Program program, Date startDate, Vessel vessel)
GroupingVesselHierarchyDao
Does the same thing as GroupingVesselHierarchyDao.create(fr.ifremer.adagio.core.dao.referential.grouping.Grouping,fr.ifremer.adagio.core.dao.referential.grouping.GroupingClassification,fr.ifremer.adagio.core.dao.referential.location.Location,fr.ifremer.adagio.core.dao.referential.ObjectType,fr.ifremer.adagio.core.dao.administration.programStrategy.Program,java.util.Date,fr.ifremer.adagio.core.dao.referential.vessel.Vessel) 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 GroupingVesselHierarchyDaoGroupingVesselHierarchyDao.create(int, fr.ifremer.adagio.core.dao.referential.grouping.Grouping,fr.ifremer.adagio.core.dao.referential.grouping.GroupingClassification,fr.ifremer.adagio.core.dao.referential.location.Location,fr.ifremer.adagio.core.dao.referential.ObjectType,fr.ifremer.adagio.core.dao.administration.programStrategy.Program,java.util.Date,fr.ifremer.adagio.core.dao.referential.vessel.Vessel)public void update(GroupingVesselHierarchy groupingVesselHierarchy)
GroupingVesselHierarchyDaogroupingVesselHierarchy instance in the persistent store.update in interface GroupingVesselHierarchyDaoGroupingVesselHierarchyDao.update(fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy)public void update(Collection<GroupingVesselHierarchy> entities)
GroupingVesselHierarchyDaoentities collection in the persistent store.update in interface GroupingVesselHierarchyDaofr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchyDao#update(java.util.Collection) public void remove(GroupingVesselHierarchy groupingVesselHierarchy)
GroupingVesselHierarchyDaoremove in interface GroupingVesselHierarchyDaoGroupingVesselHierarchyDao.remove(fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy)public void remove(Integer id)
GroupingVesselHierarchyDaoidentifier from the persistent store.remove in interface GroupingVesselHierarchyDaoGroupingVesselHierarchyDao.remove(java.lang.Integer)public void remove(Collection<GroupingVesselHierarchy> entities)
GroupingVesselHierarchyDaoentities collection.remove in interface GroupingVesselHierarchyDaofr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchyDao#remove(java.util.Collection) protected Object transformEntity(int transform, GroupingVesselHierarchy entity)
transform
flag is set to one of the constants defined in fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchyDao, please note
that the GroupingVesselHierarchyDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned.
If the integer argument value is unknown GroupingVesselHierarchyDao.TRANSFORM_NONE is assumed.transform - one of the constants declared in GroupingVesselHierarchyDaoentity - an entity that was foundtransformEntities(int,java.util.Collection)protected void transformEntities(int transform,
Collection<?> entities)
transformEntity(int,fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy)
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.technical.optimization.grouping.GroupingVesselHierarchyDaoentities - the collection of entities to transformtransformEntity(int,fr.ifremer.adagio.core.dao.technical.optimization.grouping.GroupingVesselHierarchy)protected GroupingVesselHierarchy 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)
GroupingVesselHierarchyDaopageNumber and pageSize. These flags allow you to
limit your data to a specified page number and size.search in interface GroupingVesselHierarchyDaotransform - 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.GroupingVesselHierarchyDao.search(int, int, int, fr.ifremer.adagio.core.dao.Search)public PaginationResult search(int pageNumber, int pageSize, Search search)
GroupingVesselHierarchyDaopageNumber and pageSize. These flags allow you to
limit your data to a specified page number and size.search in interface GroupingVesselHierarchyDaopageNumber - 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.GroupingVesselHierarchyDao.search(int, int, fr.ifremer.adagio.core.dao.Search)public Set<?> search(int transform, Search search)
GroupingVesselHierarchyDaoGroupingVesselHierarchyDao.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 GroupingVesselHierarchyDaotransform - the transformation flag.search - the search object which provides the search parameters and pagination specification.GroupingVesselHierarchyDao.search(int, fr.ifremer.adagio.core.dao.Search)public Set<GroupingVesselHierarchy> search(Search search)
GroupingVesselHierarchyDaosearch object.search in interface GroupingVesselHierarchyDaosearch - the search object which provides the search parameters and pagination specification.GroupingVesselHierarchyDao.search(fr.ifremer.adagio.core.dao.Search)Copyright © 2013. All Rights Reserved.