fr.ifremer.allegro.referential
Class SaleTypeDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.SaleTypeDaoBase
All Implemented Interfaces:
SaleTypeDao
Direct Known Subclasses:
SaleTypeDaoImpl

public abstract class SaleTypeDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements SaleTypeDao

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

See Also:
SaleType

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.SaleTypeDao
TRANSFORM_CLUSTERSALETYPE, TRANSFORM_NONE, TRANSFORM_REMOTESALETYPEFULLVO, TRANSFORM_REMOTESALETYPENATURALID
 
Constructor Summary
SaleTypeDaoBase()
           
 
Method Summary
 void clusterSaleTypeToEntity(ClusterSaleType source, SaleType target, boolean copyIfNull)
          Copies the fields of ClusterSaleType to the specified entity.
 void clusterSaleTypeToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterSaleType to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.SaleType and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as SaleTypeDao.create(fr.ifremer.allegro.referential.SaleType) with an additional flag called transform.
 java.lang.Object create(int transform, SaleType saleType)
           Does the same thing as SaleTypeDao.create(fr.ifremer.allegro.referential.SaleType) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, Status status)
           Does the same thing as SaleTypeDao.create(java.lang.String,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 SaleType create(SaleType saleType)
          Creates an instance of fr.ifremer.allegro.referential.SaleType and adds it to the persistent store.
 SaleType create(java.lang.String name, Status status)
           Creates a new fr.ifremer.allegro.referential.SaleType instance from all attributes and properties and adds it to the persistent store.
 SaleType createFromClusterSaleType(ClusterSaleType clusterSaleType)
           
 SaleType findSaleTypeById(java.lang.Integer id)
           
 java.lang.Object findSaleTypeById(int transform, java.lang.Integer id)
           Does the same thing as SaleTypeDao.findSaleTypeById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findSaleTypeById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SaleTypeDao.findSaleTypeById(int, java.lang.Integer) with an additional argument called queryString.
 SaleType findSaleTypeById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SaleTypeDao.findSaleTypeById(java.lang.Integer) with an additional argument called queryString.
 SaleType findSaleTypeByNaturalId(java.lang.Integer id)
           
 java.lang.Object findSaleTypeByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as SaleTypeDao.findSaleTypeByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findSaleTypeByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SaleTypeDao.findSaleTypeByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 SaleType findSaleTypeByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SaleTypeDao.findSaleTypeByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findSaleTypeByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as SaleTypeDao.findSaleTypeByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleTypeByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as SaleTypeDao.findSaleTypeByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleTypeByStatus(int transform, Status status)
           Does the same thing as SaleTypeDao.findSaleTypeByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findSaleTypeByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as SaleTypeDao.findSaleTypeByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleTypeByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as SaleTypeDao.findSaleTypeByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findSaleTypeByStatus(Status status)
           
 java.util.Collection findSaleTypeByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as SaleTypeDao.findSaleTypeByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleTypeByStatus(java.lang.String queryString, Status status)
           Does the same thing as SaleTypeDao.findSaleTypeByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 ClusterSaleType[] getAllClusterSaleType(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllSaleType()
           
 java.util.Collection getAllSaleType(int transform)
           Does the same thing as SaleTypeDao.getAllSaleType() with an additional flag called transform.
 java.util.Collection getAllSaleType(int pageNumber, int pageSize)
           Does the same thing as SaleTypeDao.getAllSaleType() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSaleType(int transform, int pageNumber, int pageSize)
           Does the same thing as SaleTypeDao.getAllSaleType(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSaleType(int transform, java.lang.String queryString)
           Does the same thing as SaleTypeDao.getAllSaleType(int) with an additional argument called queryString.
 java.util.Collection getAllSaleType(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as SaleTypeDao.getAllSaleType(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSaleType(java.lang.String queryString)
           Does the same thing as SaleTypeDao.getAllSaleType() with an additional argument called queryString.
 java.util.Collection getAllSaleType(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as SaleTypeDao.getAllSaleType(String) with an additional two arguments called pageNumber and pageSize.
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  SaleType handleCreateFromClusterSaleType(ClusterSaleType clusterSaleType)
          Performs the core logic for createFromClusterSaleType(fr.ifremer.allegro.referential.generic.cluster.ClusterSaleType)
protected abstract  ClusterSaleType[] handleGetAllClusterSaleType(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterSaleType(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 SaleType load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.SaleType from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as SaleTypeDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type SaleType.
 java.util.Collection loadAll(int transform)
           Does the same thing as SaleTypeDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as SaleTypeDao.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 SaleTypeDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteSaleTypeFullVOToEntity(RemoteSaleTypeFullVO source, SaleType target, boolean copyIfNull)
          Copies the fields of RemoteSaleTypeFullVO to the specified entity.
 void remoteSaleTypeFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSaleTypeFullVO to this DAO's entity.
 void remoteSaleTypeNaturalIdToEntity(RemoteSaleTypeNaturalId source, SaleType target, boolean copyIfNull)
          Copies the fields of RemoteSaleTypeNaturalId to the specified entity.
 void remoteSaleTypeNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSaleTypeNaturalId 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.SaleType having the given identifier from the persistent store.
 void remove(SaleType saleType)
          Removes the instance of fr.ifremer.allegro.referential.SaleType 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 SaleTypeDao.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 setStatusDao(StatusDao statusDao)
          Sets the reference to statusDao.
protected  ClusterSaleType toClusterSaleType(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterSaleType toClusterSaleType(SaleType entity)
          Converts this DAO's entity to an object of type ClusterSaleType.
 void toClusterSaleType(SaleType source, ClusterSaleType target)
          Copies the fields of the specified entity to the target value object.
 ClusterSaleType[] toClusterSaleTypeArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterSaleType.
 void toClusterSaleTypeCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterSaleType.
protected  SaleType toEntity(java.lang.Object[] row)
           
protected  RemoteSaleTypeFullVO toRemoteSaleTypeFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteSaleTypeFullVO toRemoteSaleTypeFullVO(SaleType entity)
          Converts this DAO's entity to an object of type RemoteSaleTypeFullVO.
 void toRemoteSaleTypeFullVO(SaleType source, RemoteSaleTypeFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteSaleTypeFullVO[] toRemoteSaleTypeFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSaleTypeFullVO.
 void toRemoteSaleTypeFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSaleTypeFullVO.
protected  RemoteSaleTypeNaturalId toRemoteSaleTypeNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteSaleTypeNaturalId toRemoteSaleTypeNaturalId(SaleType entity)
          Converts this DAO's entity to an object of type RemoteSaleTypeNaturalId.
 void toRemoteSaleTypeNaturalId(SaleType source, RemoteSaleTypeNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteSaleTypeNaturalId[] toRemoteSaleTypeNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSaleTypeNaturalId.
 void toRemoteSaleTypeNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSaleTypeNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.SaleType) method.
protected  java.lang.Object transformEntity(int transform, SaleType 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.SaleTypeDao, please note that the SaleTypeDao.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(SaleType saleType)
          Updates the saleType 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.SaleTypeDao
clusterSaleTypeToEntity, remoteSaleTypeFullVOToEntity, remoteSaleTypeNaturalIdToEntity
 

Constructor Detail

SaleTypeDaoBase

public SaleTypeDaoBase()
Method Detail

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: SaleTypeDao

Does the same thing as SaleTypeDao.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 SaleTypeDao
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
SaleTypeDao.load(int, java.lang.Integer)

load

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

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

loadAll

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

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

loadAll

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

Does the same thing as SaleTypeDao.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 SaleTypeDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
SaleTypeDao.loadAll(int)

loadAll

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

Does the same thing as SaleTypeDao.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 SaleTypeDao
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:
SaleTypeDao.loadAll(int, int)

loadAll

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

Does the same thing as SaleTypeDao.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 SaleTypeDao
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:
SaleTypeDao.loadAll(int, int, int)

create

public SaleType create(SaleType saleType)
Description copied from interface: SaleTypeDao
Creates an instance of fr.ifremer.allegro.referential.SaleType and adds it to the persistent store.

Specified by:
create in interface SaleTypeDao
See Also:
SaleTypeDao.create(fr.ifremer.allegro.referential.SaleType)

create

public java.lang.Object create(int transform,
                               SaleType saleType)
Description copied from interface: SaleTypeDao

Does the same thing as SaleTypeDao.create(fr.ifremer.allegro.referential.SaleType) 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 SaleTypeDao
See Also:
SaleTypeDao.create(int transform, fr.ifremer.allegro.referential.SaleType)

create

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

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

create

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

Does the same thing as SaleTypeDao.create(fr.ifremer.allegro.referential.SaleType) 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 SaleTypeDao
See Also:
SaleTypeDao.create(int, java.util.Collection)

create

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

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

Specified by:
create in interface SaleTypeDao
See Also:
SaleTypeDao.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: SaleTypeDao

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

update

public void update(SaleType saleType)
Description copied from interface: SaleTypeDao
Updates the saleType instance in the persistent store.

Specified by:
update in interface SaleTypeDao
See Also:
SaleTypeDao.update(fr.ifremer.allegro.referential.SaleType)

update

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

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

remove

public void remove(SaleType saleType)
Description copied from interface: SaleTypeDao
Removes the instance of fr.ifremer.allegro.referential.SaleType from the persistent store.

Specified by:
remove in interface SaleTypeDao
See Also:
SaleTypeDao.remove(fr.ifremer.allegro.referential.SaleType)

remove

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

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

remove

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

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

getAllSaleType

public java.util.Collection getAllSaleType()
Specified by:
getAllSaleType in interface SaleTypeDao
See Also:
SaleTypeDao.getAllSaleType()

getAllSaleType

public java.util.Collection getAllSaleType(int transform)
Description copied from interface: SaleTypeDao

Does the same thing as SaleTypeDao.getAllSaleType() 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:
getAllSaleType in interface SaleTypeDao
See Also:
SaleTypeDao.getAllSaleType(int)

getAllSaleType

public java.util.Collection getAllSaleType(java.lang.String queryString)
Description copied from interface: SaleTypeDao

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

Specified by:
getAllSaleType in interface SaleTypeDao
See Also:
SaleTypeDao.getAllSaleType(java.lang.String)

getAllSaleType

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

Does the same thing as SaleTypeDao.getAllSaleType() 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:
getAllSaleType in interface SaleTypeDao
See Also:
SaleTypeDao.getAllSaleType(int, int)

getAllSaleType

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

Does the same thing as SaleTypeDao.getAllSaleType(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:
getAllSaleType in interface SaleTypeDao
See Also:
SaleTypeDao.getAllSaleType(String, int, int)

getAllSaleType

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

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

Specified by:
getAllSaleType in interface SaleTypeDao
See Also:
SaleTypeDao.getAllSaleType(int, String)

getAllSaleType

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

Does the same thing as SaleTypeDao.getAllSaleType(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:
getAllSaleType in interface SaleTypeDao
See Also:
SaleTypeDao.getAllSaleType(int, int, int)

getAllSaleType

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

Does the same thing as SaleTypeDao.getAllSaleType(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:
getAllSaleType in interface SaleTypeDao
See Also:
SaleTypeDao.getAllSaleType(int, java.lang.String, int, int)

findSaleTypeById

public SaleType findSaleTypeById(java.lang.Integer id)
Specified by:
findSaleTypeById in interface SaleTypeDao
See Also:
SaleTypeDao.findSaleTypeById(java.lang.Integer)

findSaleTypeById

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

Does the same thing as SaleTypeDao.findSaleTypeById(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:
findSaleTypeById in interface SaleTypeDao
See Also:
SaleTypeDao.findSaleTypeById(int, java.lang.Integer)

findSaleTypeById

public SaleType findSaleTypeById(java.lang.String queryString,
                                 java.lang.Integer id)
Description copied from interface: SaleTypeDao

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

Specified by:
findSaleTypeById in interface SaleTypeDao
See Also:
SaleTypeDao.findSaleTypeById(java.lang.String, java.lang.Integer)

findSaleTypeById

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

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

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

findSaleTypeByStatus

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

findSaleTypeByStatus

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

Does the same thing as SaleTypeDao.findSaleTypeByStatus(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:
findSaleTypeByStatus in interface SaleTypeDao
See Also:
SaleTypeDao.findSaleTypeByStatus(int, fr.ifremer.allegro.referential.Status)

findSaleTypeByStatus

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

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

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

findSaleTypeByStatus

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

Does the same thing as SaleTypeDao.findSaleTypeByStatus(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:
findSaleTypeByStatus in interface SaleTypeDao
See Also:
SaleTypeDao.findSaleTypeByStatus(int, int, fr.ifremer.allegro.referential.Status)

findSaleTypeByStatus

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

Does the same thing as SaleTypeDao.findSaleTypeByStatus(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:
findSaleTypeByStatus in interface SaleTypeDao
See Also:
SaleTypeDao.findSaleTypeByStatus(String, int, int, fr.ifremer.allegro.referential.Status)

findSaleTypeByStatus

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

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

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

findSaleTypeByStatus

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

Does the same thing as SaleTypeDao.findSaleTypeByStatus(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:
findSaleTypeByStatus in interface SaleTypeDao
See Also:
SaleTypeDao.findSaleTypeByStatus(int, int, int, fr.ifremer.allegro.referential.Status)

findSaleTypeByStatus

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

Does the same thing as SaleTypeDao.findSaleTypeByStatus(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:
findSaleTypeByStatus in interface SaleTypeDao
See Also:
SaleTypeDao.findSaleTypeByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)

findSaleTypeByNaturalId

public SaleType findSaleTypeByNaturalId(java.lang.Integer id)
Specified by:
findSaleTypeByNaturalId in interface SaleTypeDao
See Also:
SaleTypeDao.findSaleTypeByNaturalId(java.lang.Integer)

findSaleTypeByNaturalId

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

Does the same thing as SaleTypeDao.findSaleTypeByNaturalId(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:
findSaleTypeByNaturalId in interface SaleTypeDao
See Also:
SaleTypeDao.findSaleTypeByNaturalId(int, java.lang.Integer)

findSaleTypeByNaturalId

public SaleType findSaleTypeByNaturalId(java.lang.String queryString,
                                        java.lang.Integer id)
Description copied from interface: SaleTypeDao

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

Specified by:
findSaleTypeByNaturalId in interface SaleTypeDao
See Also:
SaleTypeDao.findSaleTypeByNaturalId(java.lang.String, java.lang.Integer)

findSaleTypeByNaturalId

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

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

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

createFromClusterSaleType

public SaleType createFromClusterSaleType(ClusterSaleType clusterSaleType)
Specified by:
createFromClusterSaleType in interface SaleTypeDao
See Also:
SaleTypeDao.createFromClusterSaleType(fr.ifremer.allegro.referential.generic.cluster.ClusterSaleType)

handleCreateFromClusterSaleType

protected abstract SaleType handleCreateFromClusterSaleType(ClusterSaleType clusterSaleType)
                                                     throws java.lang.Exception
Performs the core logic for createFromClusterSaleType(fr.ifremer.allegro.referential.generic.cluster.ClusterSaleType)

Throws:
java.lang.Exception

getAllClusterSaleType

public ClusterSaleType[] getAllClusterSaleType(java.lang.Integer userId,
                                               java.lang.Integer[] registrationLocationIds,
                                               java.lang.Integer pageNumber,
                                               java.lang.Integer pageSize)
Specified by:
getAllClusterSaleType in interface SaleTypeDao
See Also:
SaleTypeDao.getAllClusterSaleType(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterSaleType

protected abstract ClusterSaleType[] handleGetAllClusterSaleType(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 getAllClusterSaleType(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           SaleType 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.SaleTypeDao, please note that the SaleTypeDao.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 SaleTypeDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in SaleTypeDao
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.SaleType) 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.SaleTypeDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.referential.SaleType)

toEntity

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

toRemoteSaleTypeFullVOCollection

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

Specified by:
toRemoteSaleTypeFullVOCollection in interface SaleTypeDao
See Also:
SaleTypeDao.toRemoteSaleTypeFullVOCollection(java.util.Collection)

toRemoteSaleTypeFullVOArray

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

Specified by:
toRemoteSaleTypeFullVOArray in interface SaleTypeDao
See Also:
SaleTypeDao.toRemoteSaleTypeFullVOArray(java.util.Collection)

toRemoteSaleTypeFullVO

protected RemoteSaleTypeFullVO toRemoteSaleTypeFullVO(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 SaleTypeDaoImpl class if you intend to use reporting queries.

See Also:
SaleTypeDao.toRemoteSaleTypeFullVO(fr.ifremer.allegro.referential.SaleType)

remoteSaleTypeFullVOToEntityCollection

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

Specified by:
remoteSaleTypeFullVOToEntityCollection in interface SaleTypeDao
See Also:
SaleTypeDao.remoteSaleTypeFullVOToEntityCollection(java.util.Collection)

toRemoteSaleTypeFullVO

public void toRemoteSaleTypeFullVO(SaleType source,
                                   RemoteSaleTypeFullVO target)
Description copied from interface: SaleTypeDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSaleTypeFullVO(), 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:
toRemoteSaleTypeFullVO in interface SaleTypeDao
See Also:
SaleTypeDao.toRemoteSaleTypeFullVO(fr.ifremer.allegro.referential.SaleType, fr.ifremer.allegro.referential.generic.vo.RemoteSaleTypeFullVO)

toRemoteSaleTypeFullVO

public RemoteSaleTypeFullVO toRemoteSaleTypeFullVO(SaleType entity)
Description copied from interface: SaleTypeDao
Converts this DAO's entity to an object of type RemoteSaleTypeFullVO.

Specified by:
toRemoteSaleTypeFullVO in interface SaleTypeDao
See Also:
SaleTypeDao.toRemoteSaleTypeFullVO(fr.ifremer.allegro.referential.SaleType)

remoteSaleTypeFullVOToEntity

public void remoteSaleTypeFullVOToEntity(RemoteSaleTypeFullVO source,
                                         SaleType target,
                                         boolean copyIfNull)
Description copied from interface: SaleTypeDao
Copies the fields of RemoteSaleTypeFullVO to the specified entity.

Specified by:
remoteSaleTypeFullVOToEntity in interface SaleTypeDao
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.SaleTypeDao#remoteSaleTypeFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteSaleTypeFullVO, fr.ifremer.allegro.referential.SaleType)

toRemoteSaleTypeNaturalIdCollection

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

Specified by:
toRemoteSaleTypeNaturalIdCollection in interface SaleTypeDao
See Also:
SaleTypeDao.toRemoteSaleTypeNaturalIdCollection(java.util.Collection)

toRemoteSaleTypeNaturalIdArray

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

Specified by:
toRemoteSaleTypeNaturalIdArray in interface SaleTypeDao
See Also:
SaleTypeDao.toRemoteSaleTypeNaturalIdArray(java.util.Collection)

toRemoteSaleTypeNaturalId

protected RemoteSaleTypeNaturalId toRemoteSaleTypeNaturalId(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 SaleTypeDaoImpl class if you intend to use reporting queries.

See Also:
SaleTypeDao.toRemoteSaleTypeNaturalId(fr.ifremer.allegro.referential.SaleType)

remoteSaleTypeNaturalIdToEntityCollection

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

Specified by:
remoteSaleTypeNaturalIdToEntityCollection in interface SaleTypeDao
See Also:
SaleTypeDao.remoteSaleTypeNaturalIdToEntityCollection(java.util.Collection)

toRemoteSaleTypeNaturalId

public void toRemoteSaleTypeNaturalId(SaleType source,
                                      RemoteSaleTypeNaturalId target)
Description copied from interface: SaleTypeDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSaleTypeNaturalId(), 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:
toRemoteSaleTypeNaturalId in interface SaleTypeDao
See Also:
SaleTypeDao.toRemoteSaleTypeNaturalId(fr.ifremer.allegro.referential.SaleType, fr.ifremer.allegro.referential.generic.vo.RemoteSaleTypeNaturalId)

toRemoteSaleTypeNaturalId

public RemoteSaleTypeNaturalId toRemoteSaleTypeNaturalId(SaleType entity)
Description copied from interface: SaleTypeDao
Converts this DAO's entity to an object of type RemoteSaleTypeNaturalId.

Specified by:
toRemoteSaleTypeNaturalId in interface SaleTypeDao
See Also:
SaleTypeDao.toRemoteSaleTypeNaturalId(fr.ifremer.allegro.referential.SaleType)

remoteSaleTypeNaturalIdToEntity

public void remoteSaleTypeNaturalIdToEntity(RemoteSaleTypeNaturalId source,
                                            SaleType target,
                                            boolean copyIfNull)
Description copied from interface: SaleTypeDao
Copies the fields of RemoteSaleTypeNaturalId to the specified entity.

Specified by:
remoteSaleTypeNaturalIdToEntity in interface SaleTypeDao
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.SaleTypeDao#remoteSaleTypeNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteSaleTypeNaturalId, fr.ifremer.allegro.referential.SaleType)

toClusterSaleTypeCollection

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

Specified by:
toClusterSaleTypeCollection in interface SaleTypeDao
See Also:
SaleTypeDao.toClusterSaleTypeCollection(java.util.Collection)

toClusterSaleTypeArray

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

Specified by:
toClusterSaleTypeArray in interface SaleTypeDao
See Also:
SaleTypeDao.toClusterSaleTypeArray(java.util.Collection)

toClusterSaleType

protected ClusterSaleType toClusterSaleType(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 SaleTypeDaoImpl class if you intend to use reporting queries.

See Also:
SaleTypeDao.toClusterSaleType(fr.ifremer.allegro.referential.SaleType)

clusterSaleTypeToEntityCollection

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

Specified by:
clusterSaleTypeToEntityCollection in interface SaleTypeDao
See Also:
SaleTypeDao.clusterSaleTypeToEntityCollection(java.util.Collection)

toClusterSaleType

public void toClusterSaleType(SaleType source,
                              ClusterSaleType target)
Description copied from interface: SaleTypeDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterSaleType(), 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:
toClusterSaleType in interface SaleTypeDao
See Also:
SaleTypeDao.toClusterSaleType(fr.ifremer.allegro.referential.SaleType, fr.ifremer.allegro.referential.generic.cluster.ClusterSaleType)

toClusterSaleType

public ClusterSaleType toClusterSaleType(SaleType entity)
Description copied from interface: SaleTypeDao
Converts this DAO's entity to an object of type ClusterSaleType.

Specified by:
toClusterSaleType in interface SaleTypeDao
See Also:
SaleTypeDao.toClusterSaleType(fr.ifremer.allegro.referential.SaleType)

clusterSaleTypeToEntity

public void clusterSaleTypeToEntity(ClusterSaleType source,
                                    SaleType target,
                                    boolean copyIfNull)
Description copied from interface: SaleTypeDao
Copies the fields of ClusterSaleType to the specified entity.

Specified by:
clusterSaleTypeToEntity in interface SaleTypeDao
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.SaleTypeDao#clusterSaleTypeToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterSaleType, fr.ifremer.allegro.referential.SaleType)

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: SaleTypeDao
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 SaleTypeDao
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:
SaleTypeDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: SaleTypeDao
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 SaleTypeDao
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:
SaleTypeDao.search(int, int, fr.ifremer.allegro.Search)

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.