fr.ifremer.allegro.referential.pmfm
Class ParameterGroupDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.pmfm.ParameterGroupDaoBase
All Implemented Interfaces:
ParameterGroupDao
Direct Known Subclasses:
ParameterGroupDaoImpl

public abstract class ParameterGroupDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements ParameterGroupDao

Base Spring DAO Class: is able to create, update, remove, load, and find objects of type fr.ifremer.allegro.referential.pmfm.ParameterGroup.

See Also:
ParameterGroup

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.pmfm.ParameterGroupDao
TRANSFORM_CLUSTERPARAMETERGROUP, TRANSFORM_NONE, TRANSFORM_REMOTEPARAMETERGROUPFULLVO, TRANSFORM_REMOTEPARAMETERGROUPNATURALID
 
Constructor Summary
ParameterGroupDaoBase()
           
 
Method Summary
 void clusterParameterGroupToEntity(ClusterParameterGroup source, ParameterGroup target, boolean copyIfNull)
          Copies the fields of ClusterParameterGroup to the specified entity.
 void clusterParameterGroupToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterParameterGroup to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.pmfm.ParameterGroup and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as ParameterGroupDao.create(fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional flag called transform.
 java.lang.Object create(int transform, ParameterGroup parameterGroup)
           Does the same thing as ParameterGroupDao.create(fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, Status status)
           Does the same thing as ParameterGroupDao.create(java.lang.String,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, java.util.Collection childParameterGroups, ParameterGroup parentParameterGroup, Status status)
           Does the same thing as ParameterGroupDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 ParameterGroup create(ParameterGroup parameterGroup)
          Creates an instance of fr.ifremer.allegro.referential.pmfm.ParameterGroup and adds it to the persistent store.
 ParameterGroup create(java.lang.String name, Status status)
           Creates a new fr.ifremer.allegro.referential.pmfm.ParameterGroup instance from only required properties (attributes and association ends) and adds it to the persistent store.
 ParameterGroup create(java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, java.util.Collection childParameterGroups, ParameterGroup parentParameterGroup, Status status)
           Creates a new fr.ifremer.allegro.referential.pmfm.ParameterGroup instance from all attributes and properties and adds it to the persistent store.
 ParameterGroup createFromClusterParameterGroup(ClusterParameterGroup clusterParameterGroup)
           
 ParameterGroup findParameterGroupById(java.lang.Integer id)
           
 java.lang.Object findParameterGroupById(int transform, java.lang.Integer id)
           Does the same thing as ParameterGroupDao.findParameterGroupById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findParameterGroupById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as ParameterGroupDao.findParameterGroupById(int, java.lang.Integer) with an additional argument called queryString.
 ParameterGroup findParameterGroupById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as ParameterGroupDao.findParameterGroupById(java.lang.Integer) with an additional argument called queryString.
 ParameterGroup findParameterGroupByNaturalId(java.lang.Integer id)
           
 java.lang.Object findParameterGroupByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as ParameterGroupDao.findParameterGroupByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findParameterGroupByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as ParameterGroupDao.findParameterGroupByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 ParameterGroup findParameterGroupByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as ParameterGroupDao.findParameterGroupByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findParameterGroupByParentParameterGroup(int transform, int pageNumber, int pageSize, ParameterGroup parentParameterGroup)
           Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findParameterGroupByParentParameterGroup(int pageNumber, int pageSize, ParameterGroup parentParameterGroup)
           Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findParameterGroupByParentParameterGroup(int transform, ParameterGroup parentParameterGroup)
           Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional flag called transform.
 java.util.Collection findParameterGroupByParentParameterGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, ParameterGroup parentParameterGroup)
           Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(int, String, fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findParameterGroupByParentParameterGroup(int transform, java.lang.String queryString, ParameterGroup parentParameterGroup)
           Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional argument called queryString.
 java.util.Collection findParameterGroupByParentParameterGroup(ParameterGroup parentParameterGroup)
           
 java.util.Collection findParameterGroupByParentParameterGroup(java.lang.String queryString, int pageNumber, int pageSize, ParameterGroup parentParameterGroup)
           Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(String, fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findParameterGroupByParentParameterGroup(java.lang.String queryString, ParameterGroup parentParameterGroup)
           Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional argument called queryString.
 java.util.Collection findParameterGroupByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as ParameterGroupDao.findParameterGroupByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findParameterGroupByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as ParameterGroupDao.findParameterGroupByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findParameterGroupByStatus(int transform, Status status)
           Does the same thing as ParameterGroupDao.findParameterGroupByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findParameterGroupByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as ParameterGroupDao.findParameterGroupByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findParameterGroupByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as ParameterGroupDao.findParameterGroupByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findParameterGroupByStatus(Status status)
           
 java.util.Collection findParameterGroupByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as ParameterGroupDao.findParameterGroupByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findParameterGroupByStatus(java.lang.String queryString, Status status)
           Does the same thing as ParameterGroupDao.findParameterGroupByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 ClusterParameterGroup[] getAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllParameterGroup()
           
 java.util.Collection getAllParameterGroup(int transform)
           Does the same thing as ParameterGroupDao.getAllParameterGroup() with an additional flag called transform.
 java.util.Collection getAllParameterGroup(int pageNumber, int pageSize)
           Does the same thing as ParameterGroupDao.getAllParameterGroup() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllParameterGroup(int transform, int pageNumber, int pageSize)
           Does the same thing as ParameterGroupDao.getAllParameterGroup(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllParameterGroup(int transform, java.lang.String queryString)
           Does the same thing as ParameterGroupDao.getAllParameterGroup(int) with an additional argument called queryString.
 java.util.Collection getAllParameterGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as ParameterGroupDao.getAllParameterGroup(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllParameterGroup(java.lang.String queryString)
           Does the same thing as ParameterGroupDao.getAllParameterGroup() with an additional argument called queryString.
 java.util.Collection getAllParameterGroup(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as ParameterGroupDao.getAllParameterGroup(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllParameterGroupSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllParameterGroupSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllParameterGroupSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllParameterGroupSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllParameterGroupSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllParameterGroupSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllParameterGroupSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllParameterGroupSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  ParameterGroupDao getParameterGroupDao()
          Gets the reference to parameterGroupDao.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  StatusDao getStatusDao()
          Gets the reference to statusDao.
protected abstract  ParameterGroup handleCreateFromClusterParameterGroup(ClusterParameterGroup clusterParameterGroup)
          Performs the core logic for createFromClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup)
protected abstract  ClusterParameterGroup[] handleGetAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 ParameterGroup load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.pmfm.ParameterGroup from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as ParameterGroupDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type ParameterGroup.
 java.util.Collection loadAll(int transform)
           Does the same thing as ParameterGroupDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as ParameterGroupDao.loadAll() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
           Does the same thing as ParameterGroupDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteParameterGroupFullVOToEntity(RemoteParameterGroupFullVO source, ParameterGroup target, boolean copyIfNull)
          Copies the fields of RemoteParameterGroupFullVO to the specified entity.
 void remoteParameterGroupFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteParameterGroupFullVO to this DAO's entity.
 void remoteParameterGroupNaturalIdToEntity(RemoteParameterGroupNaturalId source, ParameterGroup target, boolean copyIfNull)
          Copies the fields of RemoteParameterGroupNaturalId to the specified entity.
 void remoteParameterGroupNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteParameterGroupNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.referential.pmfm.ParameterGroup having the given identifier from the persistent store.
 void remove(ParameterGroup parameterGroup)
          Removes the instance of fr.ifremer.allegro.referential.pmfm.ParameterGroup from the persistent store.
 PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(int, fr.ifremer.allegro.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.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 java.util.Set search(int transform, Search search)
          Does the same thing as ParameterGroupDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform.
 java.util.Set search(Search search)
          Performs a search using the parameters specified in the given search object.
 void setParameterGroupDao(ParameterGroupDao parameterGroupDao)
          Sets the reference to parameterGroupDao.
 void setStatusDao(StatusDao statusDao)
          Sets the reference to statusDao.
protected  ClusterParameterGroup toClusterParameterGroup(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterParameterGroup toClusterParameterGroup(ParameterGroup entity)
          Converts this DAO's entity to an object of type ClusterParameterGroup.
 void toClusterParameterGroup(ParameterGroup source, ClusterParameterGroup target)
          Copies the fields of the specified entity to the target value object.
 ClusterParameterGroup[] toClusterParameterGroupArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterParameterGroup.
 void toClusterParameterGroupCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterParameterGroup.
protected  ParameterGroup toEntity(java.lang.Object[] row)
           
protected  RemoteParameterGroupFullVO toRemoteParameterGroupFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteParameterGroupFullVO toRemoteParameterGroupFullVO(ParameterGroup entity)
          Converts this DAO's entity to an object of type RemoteParameterGroupFullVO.
 void toRemoteParameterGroupFullVO(ParameterGroup source, RemoteParameterGroupFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteParameterGroupFullVO[] toRemoteParameterGroupFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteParameterGroupFullVO.
 void toRemoteParameterGroupFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteParameterGroupFullVO.
protected  RemoteParameterGroupNaturalId toRemoteParameterGroupNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteParameterGroupNaturalId toRemoteParameterGroupNaturalId(ParameterGroup entity)
          Converts this DAO's entity to an object of type RemoteParameterGroupNaturalId.
 void toRemoteParameterGroupNaturalId(ParameterGroup source, RemoteParameterGroupNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteParameterGroupNaturalId[] toRemoteParameterGroupNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteParameterGroupNaturalId.
 void toRemoteParameterGroupNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteParameterGroupNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.pmfm.ParameterGroup) method.
protected  java.lang.Object transformEntity(int transform, ParameterGroup 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.allegro.referential.pmfm.ParameterGroupDao, please note that the ParameterGroupDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(ParameterGroup parameterGroup)
          Updates the parameterGroup instance in the persistent store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ifremer.allegro.referential.pmfm.ParameterGroupDao
clusterParameterGroupToEntity, remoteParameterGroupFullVOToEntity, remoteParameterGroupNaturalIdToEntity
 

Constructor Detail

ParameterGroupDaoBase

public ParameterGroupDaoBase()
Method Detail

setParameterGroupDao

public void setParameterGroupDao(ParameterGroupDao parameterGroupDao)
Sets the reference to parameterGroupDao.


getParameterGroupDao

protected ParameterGroupDao getParameterGroupDao()
Gets the reference to parameterGroupDao.


setStatusDao

public void setStatusDao(StatusDao statusDao)
Sets the reference to statusDao.


getStatusDao

protected StatusDao getStatusDao()
Gets the reference to statusDao.


load

public java.lang.Object load(int transform,
                             java.lang.Integer id)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.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.

Specified by:
load in interface ParameterGroupDao
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
ParameterGroupDao.load(int, java.lang.Integer)

load

public ParameterGroup load(java.lang.Integer id)
Description copied from interface: ParameterGroupDao
Loads an instance of fr.ifremer.allegro.referential.pmfm.ParameterGroup from the persistent store.

Specified by:
load in interface ParameterGroupDao
See Also:
ParameterGroupDao.load(java.lang.Integer)

loadAll

public java.util.Collection loadAll()
Description copied from interface: ParameterGroupDao
Loads all entities of type ParameterGroup.

Specified by:
loadAll in interface ParameterGroupDao
Returns:
the loaded entities.
See Also:
ParameterGroupDao.loadAll()

loadAll

public java.util.Collection loadAll(int transform)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.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.

Specified by:
loadAll in interface ParameterGroupDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
ParameterGroupDao.loadAll(int)

loadAll

public java.util.Collection loadAll(int pageNumber,
                                    int pageSize)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.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.

Specified by:
loadAll in interface ParameterGroupDao
Parameters:
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.
See Also:
ParameterGroupDao.loadAll(int, int)

loadAll

public java.util.Collection loadAll(int transform,
                                    int pageNumber,
                                    int pageSize)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.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.

Specified by:
loadAll in interface ParameterGroupDao
Parameters:
transform - 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.
Returns:
the loaded entities.
See Also:
ParameterGroupDao.loadAll(int, int, int)

create

public ParameterGroup create(ParameterGroup parameterGroup)
Description copied from interface: ParameterGroupDao
Creates an instance of fr.ifremer.allegro.referential.pmfm.ParameterGroup and adds it to the persistent store.

Specified by:
create in interface ParameterGroupDao
See Also:
ParameterGroupDao.create(fr.ifremer.allegro.referential.pmfm.ParameterGroup)

create

public java.lang.Object create(int transform,
                               ParameterGroup parameterGroup)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.create(fr.ifremer.allegro.referential.pmfm.ParameterGroup) 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.

Specified by:
create in interface ParameterGroupDao
See Also:
ParameterGroupDao.create(int transform, fr.ifremer.allegro.referential.pmfm.ParameterGroup)

create

public java.util.Collection create(java.util.Collection entities)
Description copied from interface: ParameterGroupDao
Creates a new instance of fr.ifremer.allegro.referential.pmfm.ParameterGroup and adds from the passed in entities collection

Specified by:
create in interface ParameterGroupDao
Parameters:
entities - the collection of fr.ifremer.allegro.referential.pmfm.ParameterGroup instances to create.
Returns:
the created instances.
See Also:
ParameterGroupDao.create(java.util.Collection)

create

public java.util.Collection create(int transform,
                                   java.util.Collection entities)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.create(fr.ifremer.allegro.referential.pmfm.ParameterGroup) 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.

Specified by:
create in interface ParameterGroupDao
See Also:
ParameterGroupDao.create(int, java.util.Collection)

create

public ParameterGroup create(java.lang.String name,
                             java.lang.String description,
                             java.sql.Timestamp updateDate,
                             java.util.Collection childParameterGroups,
                             ParameterGroup parentParameterGroup,
                             Status status)
Description copied from interface: ParameterGroupDao

Creates a new fr.ifremer.allegro.referential.pmfm.ParameterGroup instance from all attributes and properties and adds it to the persistent store.

Specified by:
create in interface ParameterGroupDao
See Also:
ParameterGroupDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status)

create

public java.lang.Object create(int transform,
                               java.lang.String name,
                               java.lang.String description,
                               java.sql.Timestamp updateDate,
                               java.util.Collection childParameterGroups,
                               ParameterGroup parentParameterGroup,
                               Status status)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status) 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.

Specified by:
create in interface ParameterGroupDao
See Also:
ParameterGroupDao.create(int, java.lang.String,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status)

create

public ParameterGroup create(java.lang.String name,
                             Status status)
Description copied from interface: ParameterGroupDao

Creates a new fr.ifremer.allegro.referential.pmfm.ParameterGroup instance from only required properties (attributes and association ends) and adds it to the persistent store.

Specified by:
create in interface ParameterGroupDao
See Also:
ParameterGroupDao.create(java.lang.String,fr.ifremer.allegro.referential.Status)

create

public java.lang.Object create(int transform,
                               java.lang.String name,
                               Status status)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.create(java.lang.String,fr.ifremer.allegro.referential.Status) 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.

Specified by:
create in interface ParameterGroupDao
See Also:
ParameterGroupDao.create(int, java.lang.String,fr.ifremer.allegro.referential.Status)

update

public void update(ParameterGroup parameterGroup)
Description copied from interface: ParameterGroupDao
Updates the parameterGroup instance in the persistent store.

Specified by:
update in interface ParameterGroupDao
See Also:
ParameterGroupDao.update(fr.ifremer.allegro.referential.pmfm.ParameterGroup)

update

public void update(java.util.Collection entities)
Description copied from interface: ParameterGroupDao
Updates all instances in the entities collection in the persistent store.

Specified by:
update in interface ParameterGroupDao
See Also:
ParameterGroupDao.update(java.util.Collection)

remove

public void remove(ParameterGroup parameterGroup)
Description copied from interface: ParameterGroupDao
Removes the instance of fr.ifremer.allegro.referential.pmfm.ParameterGroup from the persistent store.

Specified by:
remove in interface ParameterGroupDao
See Also:
ParameterGroupDao.remove(fr.ifremer.allegro.referential.pmfm.ParameterGroup)

remove

public void remove(java.lang.Integer id)
Description copied from interface: ParameterGroupDao
Removes the instance of fr.ifremer.allegro.referential.pmfm.ParameterGroup having the given identifier from the persistent store.

Specified by:
remove in interface ParameterGroupDao
See Also:
ParameterGroupDao.remove(java.lang.Integer)

remove

public void remove(java.util.Collection entities)
Description copied from interface: ParameterGroupDao
Removes all entities in the given entities collection.

Specified by:
remove in interface ParameterGroupDao
See Also:
ParameterGroupDao.remove(java.util.Collection)

getAllParameterGroup

public java.util.Collection getAllParameterGroup()
Specified by:
getAllParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.getAllParameterGroup()

getAllParameterGroup

public java.util.Collection getAllParameterGroup(int transform)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.getAllParameterGroup() 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 finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
getAllParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.getAllParameterGroup(int)

getAllParameterGroup

public java.util.Collection getAllParameterGroup(java.lang.String queryString)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.getAllParameterGroup() with an additional argument called queryString. This queryString argument allows you to override the query string defined in ParameterGroupDao.getAllParameterGroup().

Specified by:
getAllParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.getAllParameterGroup(java.lang.String)

getAllParameterGroup

public java.util.Collection getAllParameterGroup(int pageNumber,
                                                 int pageSize)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.getAllParameterGroup() 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.

Specified by:
getAllParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.getAllParameterGroup(int, int)

getAllParameterGroup

public java.util.Collection getAllParameterGroup(java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.getAllParameterGroup(String) 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.

Specified by:
getAllParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.getAllParameterGroup(String, int, int)

getAllParameterGroup

public java.util.Collection getAllParameterGroup(int transform,
                                                 java.lang.String queryString)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.getAllParameterGroup(int) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ParameterGroupDao.getAllParameterGroup(int).

Specified by:
getAllParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.getAllParameterGroup(int, String)

getAllParameterGroup

public java.util.Collection getAllParameterGroup(int transform,
                                                 int pageNumber,
                                                 int pageSize)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.getAllParameterGroup(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.

Specified by:
getAllParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.getAllParameterGroup(int, int, int)

getAllParameterGroup

public java.util.Collection getAllParameterGroup(int transform,
                                                 java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.getAllParameterGroup(int, String) 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.

Specified by:
getAllParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.getAllParameterGroup(int, java.lang.String, int, int)

findParameterGroupById

public ParameterGroup findParameterGroupById(java.lang.Integer id)
Specified by:
findParameterGroupById in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupById(java.lang.Integer)

findParameterGroupById

public java.lang.Object findParameterGroupById(int transform,
                                               java.lang.Integer id)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupById(java.lang.Integer) 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 finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findParameterGroupById in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupById(int, java.lang.Integer)

findParameterGroupById

public ParameterGroup findParameterGroupById(java.lang.String queryString,
                                             java.lang.Integer id)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupById(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ParameterGroupDao.findParameterGroupById(java.lang.Integer).

Specified by:
findParameterGroupById in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupById(java.lang.String, java.lang.Integer)

findParameterGroupById

public java.lang.Object findParameterGroupById(int transform,
                                               java.lang.String queryString,
                                               java.lang.Integer id)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupById(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ParameterGroupDao.findParameterGroupById(int, java.lang.Integer id).

Specified by:
findParameterGroupById in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupById(int, java.lang.String, java.lang.Integer)

findParameterGroupByParentParameterGroup

public java.util.Collection findParameterGroupByParentParameterGroup(ParameterGroup parentParameterGroup)
Specified by:
findParameterGroupByParentParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByParentParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup)

findParameterGroupByParentParameterGroup

public java.util.Collection findParameterGroupByParentParameterGroup(int transform,
                                                                     ParameterGroup parentParameterGroup)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup) 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 finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findParameterGroupByParentParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByParentParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup)

findParameterGroupByParentParameterGroup

public java.util.Collection findParameterGroupByParentParameterGroup(java.lang.String queryString,
                                                                     ParameterGroup parentParameterGroup)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ParameterGroupDao.findParameterGroupByParentParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup).

Specified by:
findParameterGroupByParentParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByParentParameterGroup(java.lang.String, fr.ifremer.allegro.referential.pmfm.ParameterGroup)

findParameterGroupByParentParameterGroup

public java.util.Collection findParameterGroupByParentParameterGroup(int pageNumber,
                                                                     int pageSize,
                                                                     ParameterGroup parentParameterGroup)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup) 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.

Specified by:
findParameterGroupByParentParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByParentParameterGroup(int, int, fr.ifremer.allegro.referential.pmfm.ParameterGroup)

findParameterGroupByParentParameterGroup

public java.util.Collection findParameterGroupByParentParameterGroup(java.lang.String queryString,
                                                                     int pageNumber,
                                                                     int pageSize,
                                                                     ParameterGroup parentParameterGroup)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(String, fr.ifremer.allegro.referential.pmfm.ParameterGroup) 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.

Specified by:
findParameterGroupByParentParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByParentParameterGroup(String, int, int, fr.ifremer.allegro.referential.pmfm.ParameterGroup)

findParameterGroupByParentParameterGroup

public java.util.Collection findParameterGroupByParentParameterGroup(int transform,
                                                                     java.lang.String queryString,
                                                                     ParameterGroup parentParameterGroup)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ParameterGroupDao.findParameterGroupByParentParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup parentParameterGroup).

Specified by:
findParameterGroupByParentParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByParentParameterGroup(int, String, fr.ifremer.allegro.referential.pmfm.ParameterGroup)

findParameterGroupByParentParameterGroup

public java.util.Collection findParameterGroupByParentParameterGroup(int transform,
                                                                     int pageNumber,
                                                                     int pageSize,
                                                                     ParameterGroup parentParameterGroup)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup) 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.

Specified by:
findParameterGroupByParentParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByParentParameterGroup(int, int, int, fr.ifremer.allegro.referential.pmfm.ParameterGroup)

findParameterGroupByParentParameterGroup

public java.util.Collection findParameterGroupByParentParameterGroup(int transform,
                                                                     java.lang.String queryString,
                                                                     int pageNumber,
                                                                     int pageSize,
                                                                     ParameterGroup parentParameterGroup)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(int, String, fr.ifremer.allegro.referential.pmfm.ParameterGroup) 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.

Specified by:
findParameterGroupByParentParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByParentParameterGroup(int, java.lang.String, int, int, fr.ifremer.allegro.referential.pmfm.ParameterGroup)

findParameterGroupByStatus

public java.util.Collection findParameterGroupByStatus(Status status)
Specified by:
findParameterGroupByStatus in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByStatus(fr.ifremer.allegro.referential.Status)

findParameterGroupByStatus

public java.util.Collection findParameterGroupByStatus(int transform,
                                                       Status status)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupByStatus(fr.ifremer.allegro.referential.Status) 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 finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findParameterGroupByStatus in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByStatus(int, fr.ifremer.allegro.referential.Status)

findParameterGroupByStatus

public java.util.Collection findParameterGroupByStatus(java.lang.String queryString,
                                                       Status status)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ParameterGroupDao.findParameterGroupByStatus(fr.ifremer.allegro.referential.Status).

Specified by:
findParameterGroupByStatus in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)

findParameterGroupByStatus

public java.util.Collection findParameterGroupByStatus(int pageNumber,
                                                       int pageSize,
                                                       Status status)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupByStatus(fr.ifremer.allegro.referential.Status) 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.

Specified by:
findParameterGroupByStatus in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByStatus(int, int, fr.ifremer.allegro.referential.Status)

findParameterGroupByStatus

public java.util.Collection findParameterGroupByStatus(java.lang.String queryString,
                                                       int pageNumber,
                                                       int pageSize,
                                                       Status status)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupByStatus(String, fr.ifremer.allegro.referential.Status) 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.

Specified by:
findParameterGroupByStatus in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByStatus(String, int, int, fr.ifremer.allegro.referential.Status)

findParameterGroupByStatus

public java.util.Collection findParameterGroupByStatus(int transform,
                                                       java.lang.String queryString,
                                                       Status status)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ParameterGroupDao.findParameterGroupByStatus(int, fr.ifremer.allegro.referential.Status status).

Specified by:
findParameterGroupByStatus in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByStatus(int, String, fr.ifremer.allegro.referential.Status)

findParameterGroupByStatus

public java.util.Collection findParameterGroupByStatus(int transform,
                                                       int pageNumber,
                                                       int pageSize,
                                                       Status status)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupByStatus(int, fr.ifremer.allegro.referential.Status) 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.

Specified by:
findParameterGroupByStatus in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByStatus(int, int, int, fr.ifremer.allegro.referential.Status)

findParameterGroupByStatus

public java.util.Collection findParameterGroupByStatus(int transform,
                                                       java.lang.String queryString,
                                                       int pageNumber,
                                                       int pageSize,
                                                       Status status)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupByStatus(int, String, fr.ifremer.allegro.referential.Status) 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.

Specified by:
findParameterGroupByStatus in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)

findParameterGroupByNaturalId

public ParameterGroup findParameterGroupByNaturalId(java.lang.Integer id)
Specified by:
findParameterGroupByNaturalId in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByNaturalId(java.lang.Integer)

findParameterGroupByNaturalId

public java.lang.Object findParameterGroupByNaturalId(int transform,
                                                      java.lang.Integer id)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupByNaturalId(java.lang.Integer) 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 finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findParameterGroupByNaturalId in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByNaturalId(int, java.lang.Integer)

findParameterGroupByNaturalId

public ParameterGroup findParameterGroupByNaturalId(java.lang.String queryString,
                                                    java.lang.Integer id)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupByNaturalId(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ParameterGroupDao.findParameterGroupByNaturalId(java.lang.Integer).

Specified by:
findParameterGroupByNaturalId in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByNaturalId(java.lang.String, java.lang.Integer)

findParameterGroupByNaturalId

public java.lang.Object findParameterGroupByNaturalId(int transform,
                                                      java.lang.String queryString,
                                                      java.lang.Integer id)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.findParameterGroupByNaturalId(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ParameterGroupDao.findParameterGroupByNaturalId(int, java.lang.Integer id).

Specified by:
findParameterGroupByNaturalId in interface ParameterGroupDao
See Also:
ParameterGroupDao.findParameterGroupByNaturalId(int, java.lang.String, java.lang.Integer)

getAllParameterGroupSinceDateSynchro

public java.util.Collection getAllParameterGroupSinceDateSynchro(java.sql.Timestamp updateDate)
Specified by:
getAllParameterGroupSinceDateSynchro in interface ParameterGroupDao
See Also:
ParameterGroupDao.getAllParameterGroupSinceDateSynchro(java.sql.Timestamp)

getAllParameterGroupSinceDateSynchro

public java.util.Collection getAllParameterGroupSinceDateSynchro(int transform,
                                                                 java.sql.Timestamp updateDate)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(java.sql.Timestamp) 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 finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
getAllParameterGroupSinceDateSynchro in interface ParameterGroupDao
See Also:
ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, java.sql.Timestamp)

getAllParameterGroupSinceDateSynchro

public java.util.Collection getAllParameterGroupSinceDateSynchro(java.lang.String queryString,
                                                                 java.sql.Timestamp updateDate)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ParameterGroupDao.getAllParameterGroupSinceDateSynchro(java.sql.Timestamp).

Specified by:
getAllParameterGroupSinceDateSynchro in interface ParameterGroupDao
See Also:
ParameterGroupDao.getAllParameterGroupSinceDateSynchro(java.lang.String, java.sql.Timestamp)

getAllParameterGroupSinceDateSynchro

public java.util.Collection getAllParameterGroupSinceDateSynchro(int pageNumber,
                                                                 int pageSize,
                                                                 java.sql.Timestamp updateDate)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(java.sql.Timestamp) 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.

Specified by:
getAllParameterGroupSinceDateSynchro in interface ParameterGroupDao
See Also:
ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, int, java.sql.Timestamp)

getAllParameterGroupSinceDateSynchro

public java.util.Collection getAllParameterGroupSinceDateSynchro(java.lang.String queryString,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 java.sql.Timestamp updateDate)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(String, java.sql.Timestamp) 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.

Specified by:
getAllParameterGroupSinceDateSynchro in interface ParameterGroupDao
See Also:
ParameterGroupDao.getAllParameterGroupSinceDateSynchro(String, int, int, java.sql.Timestamp)

getAllParameterGroupSinceDateSynchro

public java.util.Collection getAllParameterGroupSinceDateSynchro(int transform,
                                                                 java.lang.String queryString,
                                                                 java.sql.Timestamp updateDate)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, java.sql.Timestamp updateDate).

Specified by:
getAllParameterGroupSinceDateSynchro in interface ParameterGroupDao
See Also:
ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, String, java.sql.Timestamp)

getAllParameterGroupSinceDateSynchro

public java.util.Collection getAllParameterGroupSinceDateSynchro(int transform,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 java.sql.Timestamp updateDate)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, java.sql.Timestamp) 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.

Specified by:
getAllParameterGroupSinceDateSynchro in interface ParameterGroupDao
See Also:
ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllParameterGroupSinceDateSynchro

public java.util.Collection getAllParameterGroupSinceDateSynchro(int transform,
                                                                 java.lang.String queryString,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 java.sql.Timestamp updateDate)
Description copied from interface: ParameterGroupDao

Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, String, java.sql.Timestamp) 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.

Specified by:
getAllParameterGroupSinceDateSynchro in interface ParameterGroupDao
See Also:
ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)

createFromClusterParameterGroup

public ParameterGroup createFromClusterParameterGroup(ClusterParameterGroup clusterParameterGroup)
Specified by:
createFromClusterParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.createFromClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup)

handleCreateFromClusterParameterGroup

protected abstract ParameterGroup handleCreateFromClusterParameterGroup(ClusterParameterGroup clusterParameterGroup)
                                                                 throws java.lang.Exception
Performs the core logic for createFromClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup)

Throws:
java.lang.Exception

getAllClusterParameterGroupSinceDateSynchro

public ClusterParameterGroup[] getAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                           java.lang.Integer userId,
                                                                           java.lang.Integer[] registrationLocationIds,
                                                                           java.lang.Integer pageNumber,
                                                                           java.lang.Integer pageSize)
Specified by:
getAllClusterParameterGroupSinceDateSynchro in interface ParameterGroupDao
See Also:
ParameterGroupDao.getAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterParameterGroupSinceDateSynchro

protected abstract ClusterParameterGroup[] handleGetAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                             java.lang.Integer userId,
                                                                                             java.lang.Integer[] registrationLocationIds,
                                                                                             java.lang.Integer pageNumber,
                                                                                             java.lang.Integer pageSize)
                                                                                      throws java.lang.Exception
Performs the core logic for getAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           ParameterGroup 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.allegro.referential.pmfm.ParameterGroupDao, please note that the ParameterGroupDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.

This method will return instances of these types:

If the integer argument value is unknown ParameterGroupDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in ParameterGroupDao
entity - an entity that was found
Returns:
the transformed entity (i.e. new value object, etc)
See Also:
transformEntities(int,java.util.Collection)

transformEntities

protected void transformEntities(int transform,
                                 java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.pmfm.ParameterGroup) method. This method does not instantiate a new collection.

This method is to be used internally only.

Parameters:
transform - one of the constants declared in fr.ifremer.allegro.referential.pmfm.ParameterGroupDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.referential.pmfm.ParameterGroup)

toEntity

protected ParameterGroup toEntity(java.lang.Object[] row)

toRemoteParameterGroupFullVOCollection

public final void toRemoteParameterGroupFullVOCollection(java.util.Collection entities)
Description copied from interface: ParameterGroupDao
Converts this DAO's entity to a Collection of instances of type RemoteParameterGroupFullVO.

Specified by:
toRemoteParameterGroupFullVOCollection in interface ParameterGroupDao
See Also:
ParameterGroupDao.toRemoteParameterGroupFullVOCollection(java.util.Collection)

toRemoteParameterGroupFullVOArray

public final RemoteParameterGroupFullVO[] toRemoteParameterGroupFullVOArray(java.util.Collection entities)
Description copied from interface: ParameterGroupDao
Converts this DAO's entity to an array of instances of type RemoteParameterGroupFullVO.

Specified by:
toRemoteParameterGroupFullVOArray in interface ParameterGroupDao
See Also:
ParameterGroupDao.toRemoteParameterGroupFullVOArray(java.util.Collection)

toRemoteParameterGroupFullVO

protected RemoteParameterGroupFullVO toRemoteParameterGroupFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the ParameterGroupDaoImpl class if you intend to use reporting queries.

See Also:
ParameterGroupDao.toRemoteParameterGroupFullVO(fr.ifremer.allegro.referential.pmfm.ParameterGroup)

remoteParameterGroupFullVOToEntityCollection

public final void remoteParameterGroupFullVOToEntityCollection(java.util.Collection instances)
Description copied from interface: ParameterGroupDao
Converts a Collection of instances of type RemoteParameterGroupFullVO to this DAO's entity.

Specified by:
remoteParameterGroupFullVOToEntityCollection in interface ParameterGroupDao
See Also:
ParameterGroupDao.remoteParameterGroupFullVOToEntityCollection(java.util.Collection)

toRemoteParameterGroupFullVO

public void toRemoteParameterGroupFullVO(ParameterGroup source,
                                         RemoteParameterGroupFullVO target)
Description copied from interface: ParameterGroupDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteParameterGroupFullVO(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteParameterGroupFullVO in interface ParameterGroupDao
See Also:
ParameterGroupDao.toRemoteParameterGroupFullVO(fr.ifremer.allegro.referential.pmfm.ParameterGroup, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)

toRemoteParameterGroupFullVO

public RemoteParameterGroupFullVO toRemoteParameterGroupFullVO(ParameterGroup entity)
Description copied from interface: ParameterGroupDao
Converts this DAO's entity to an object of type RemoteParameterGroupFullVO.

Specified by:
toRemoteParameterGroupFullVO in interface ParameterGroupDao
See Also:
ParameterGroupDao.toRemoteParameterGroupFullVO(fr.ifremer.allegro.referential.pmfm.ParameterGroup)

remoteParameterGroupFullVOToEntity

public void remoteParameterGroupFullVOToEntity(RemoteParameterGroupFullVO source,
                                               ParameterGroup target,
                                               boolean copyIfNull)
Description copied from interface: ParameterGroupDao
Copies the fields of RemoteParameterGroupFullVO to the specified entity.

Specified by:
remoteParameterGroupFullVOToEntity in interface ParameterGroupDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.referential.pmfm.ParameterGroupDao#remoteParameterGroupFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO, fr.ifremer.allegro.referential.pmfm.ParameterGroup)

toRemoteParameterGroupNaturalIdCollection

public final void toRemoteParameterGroupNaturalIdCollection(java.util.Collection entities)
Description copied from interface: ParameterGroupDao
Converts this DAO's entity to a Collection of instances of type RemoteParameterGroupNaturalId.

Specified by:
toRemoteParameterGroupNaturalIdCollection in interface ParameterGroupDao
See Also:
ParameterGroupDao.toRemoteParameterGroupNaturalIdCollection(java.util.Collection)

toRemoteParameterGroupNaturalIdArray

public final RemoteParameterGroupNaturalId[] toRemoteParameterGroupNaturalIdArray(java.util.Collection entities)
Description copied from interface: ParameterGroupDao
Converts this DAO's entity to an array of instances of type RemoteParameterGroupNaturalId.

Specified by:
toRemoteParameterGroupNaturalIdArray in interface ParameterGroupDao
See Also:
ParameterGroupDao.toRemoteParameterGroupNaturalIdArray(java.util.Collection)

toRemoteParameterGroupNaturalId

protected RemoteParameterGroupNaturalId toRemoteParameterGroupNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the ParameterGroupDaoImpl class if you intend to use reporting queries.

See Also:
ParameterGroupDao.toRemoteParameterGroupNaturalId(fr.ifremer.allegro.referential.pmfm.ParameterGroup)

remoteParameterGroupNaturalIdToEntityCollection

public final void remoteParameterGroupNaturalIdToEntityCollection(java.util.Collection instances)
Description copied from interface: ParameterGroupDao
Converts a Collection of instances of type RemoteParameterGroupNaturalId to this DAO's entity.

Specified by:
remoteParameterGroupNaturalIdToEntityCollection in interface ParameterGroupDao
See Also:
ParameterGroupDao.remoteParameterGroupNaturalIdToEntityCollection(java.util.Collection)

toRemoteParameterGroupNaturalId

public void toRemoteParameterGroupNaturalId(ParameterGroup source,
                                            RemoteParameterGroupNaturalId target)
Description copied from interface: ParameterGroupDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteParameterGroupNaturalId(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteParameterGroupNaturalId in interface ParameterGroupDao
See Also:
ParameterGroupDao.toRemoteParameterGroupNaturalId(fr.ifremer.allegro.referential.pmfm.ParameterGroup, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupNaturalId)

toRemoteParameterGroupNaturalId

public RemoteParameterGroupNaturalId toRemoteParameterGroupNaturalId(ParameterGroup entity)
Description copied from interface: ParameterGroupDao
Converts this DAO's entity to an object of type RemoteParameterGroupNaturalId.

Specified by:
toRemoteParameterGroupNaturalId in interface ParameterGroupDao
See Also:
ParameterGroupDao.toRemoteParameterGroupNaturalId(fr.ifremer.allegro.referential.pmfm.ParameterGroup)

remoteParameterGroupNaturalIdToEntity

public void remoteParameterGroupNaturalIdToEntity(RemoteParameterGroupNaturalId source,
                                                  ParameterGroup target,
                                                  boolean copyIfNull)
Description copied from interface: ParameterGroupDao
Copies the fields of RemoteParameterGroupNaturalId to the specified entity.

Specified by:
remoteParameterGroupNaturalIdToEntity in interface ParameterGroupDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.referential.pmfm.ParameterGroupDao#remoteParameterGroupNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupNaturalId, fr.ifremer.allegro.referential.pmfm.ParameterGroup)

toClusterParameterGroupCollection

public final void toClusterParameterGroupCollection(java.util.Collection entities)
Description copied from interface: ParameterGroupDao
Converts this DAO's entity to a Collection of instances of type ClusterParameterGroup.

Specified by:
toClusterParameterGroupCollection in interface ParameterGroupDao
See Also:
ParameterGroupDao.toClusterParameterGroupCollection(java.util.Collection)

toClusterParameterGroupArray

public final ClusterParameterGroup[] toClusterParameterGroupArray(java.util.Collection entities)
Description copied from interface: ParameterGroupDao
Converts this DAO's entity to an array of instances of type ClusterParameterGroup.

Specified by:
toClusterParameterGroupArray in interface ParameterGroupDao
See Also:
ParameterGroupDao.toClusterParameterGroupArray(java.util.Collection)

toClusterParameterGroup

protected ClusterParameterGroup toClusterParameterGroup(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the ParameterGroupDaoImpl class if you intend to use reporting queries.

See Also:
ParameterGroupDao.toClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup)

clusterParameterGroupToEntityCollection

public final void clusterParameterGroupToEntityCollection(java.util.Collection instances)
Description copied from interface: ParameterGroupDao
Converts a Collection of instances of type ClusterParameterGroup to this DAO's entity.

Specified by:
clusterParameterGroupToEntityCollection in interface ParameterGroupDao
See Also:
ParameterGroupDao.clusterParameterGroupToEntityCollection(java.util.Collection)

toClusterParameterGroup

public void toClusterParameterGroup(ParameterGroup source,
                                    ClusterParameterGroup target)
Description copied from interface: ParameterGroupDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterParameterGroup(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toClusterParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.toClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup, fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup)

toClusterParameterGroup

public ClusterParameterGroup toClusterParameterGroup(ParameterGroup entity)
Description copied from interface: ParameterGroupDao
Converts this DAO's entity to an object of type ClusterParameterGroup.

Specified by:
toClusterParameterGroup in interface ParameterGroupDao
See Also:
ParameterGroupDao.toClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup)

clusterParameterGroupToEntity

public void clusterParameterGroupToEntity(ClusterParameterGroup source,
                                          ParameterGroup target,
                                          boolean copyIfNull)
Description copied from interface: ParameterGroupDao
Copies the fields of ClusterParameterGroup to the specified entity.

Specified by:
clusterParameterGroupToEntity in interface ParameterGroupDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.referential.pmfm.ParameterGroupDao#clusterParameterGroupToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup, fr.ifremer.allegro.referential.pmfm.ParameterGroup)

getPrincipal

protected java.security.Principal getPrincipal()
Gets the current principal if one has been set, otherwise returns null.

Returns:
the current principal

search

public PaginationResult search(int transform,
                               int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: ParameterGroupDao
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface ParameterGroupDao
Parameters:
transform - the transformation flag.
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
ParameterGroupDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: ParameterGroupDao
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface ParameterGroupDao
Parameters:
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
ParameterGroupDao.search(int, int, fr.ifremer.allegro.Search)

search

public java.util.Set search(int transform,
                            Search search)
Description copied from interface: ParameterGroupDao
Does the same thing as ParameterGroupDao.search(fr.ifremer.allegro.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.

Specified by:
search in interface ParameterGroupDao
Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
ParameterGroupDao.search(int, fr.ifremer.allegro.Search)

search

public java.util.Set search(Search search)
Description copied from interface: ParameterGroupDao
Performs a search using the parameters specified in the given search object.

Specified by:
search in interface ParameterGroupDao
Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
ParameterGroupDao.search(fr.ifremer.allegro.Search)


Copyright © 2008-2010 IFREMER. All Rights Reserved.