fr.ifremer.allegro.playground
Class PlaygroundVesselMasterDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.playground.PlaygroundVesselMasterDaoBase
All Implemented Interfaces:
PlaygroundVesselMasterDao
Direct Known Subclasses:
PlaygroundVesselMasterDaoImpl

public abstract class PlaygroundVesselMasterDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements PlaygroundVesselMasterDao

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

See Also:
PlaygroundVesselMaster

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.playground.PlaygroundVesselMasterDao
TRANSFORM_CLUSTERPLAYGROUNDVESSELMASTER, TRANSFORM_NONE, TRANSFORM_REMOTEPLAYGROUNDVESSELMASTERFULLVO, TRANSFORM_REMOTEPLAYGROUNDVESSELMASTERNATURALID
 
Constructor Summary
PlaygroundVesselMasterDaoBase()
           
 
Method Summary
 void clusterPlaygroundVesselMasterToEntity(ClusterPlaygroundVesselMaster source, PlaygroundVesselMaster target, boolean copyIfNull)
          Copies the fields of ClusterPlaygroundVesselMaster to the specified entity.
 void clusterPlaygroundVesselMasterToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterPlaygroundVesselMaster to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.playground.PlaygroundVesselMaster and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as PlaygroundVesselMasterDao.create(fr.ifremer.allegro.playground.PlaygroundVesselMaster) with an additional flag called transform.
 java.lang.Object create(int transform, PlaygroundVesselMaster playgroundVesselMaster)
           Does the same thing as PlaygroundVesselMasterDao.create(fr.ifremer.allegro.playground.PlaygroundVesselMaster) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String registrationCode)
           Does the same thing as PlaygroundVesselMasterDao.create(java.lang.String) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String registrationCode, java.lang.String lastname, java.lang.String firstname, java.lang.String street, java.lang.String zipCode, java.lang.String city, java.sql.Timestamp updateDate)
           Does the same thing as PlaygroundVesselMasterDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.sql.Timestamp) with an additional flag called transform.
 PlaygroundVesselMaster create(PlaygroundVesselMaster playgroundVesselMaster)
          Creates an instance of fr.ifremer.allegro.playground.PlaygroundVesselMaster and adds it to the persistent store.
 PlaygroundVesselMaster create(java.lang.String registrationCode)
           Creates a new fr.ifremer.allegro.playground.PlaygroundVesselMaster instance from only required properties (attributes and association ends) and adds it to the persistent store.
 PlaygroundVesselMaster create(java.lang.String registrationCode, java.lang.String lastname, java.lang.String firstname, java.lang.String street, java.lang.String zipCode, java.lang.String city, java.sql.Timestamp updateDate)
           Creates a new fr.ifremer.allegro.playground.PlaygroundVesselMaster instance from all attributes and properties and adds it to the persistent store.
 PlaygroundVesselMaster createFromClusterPlaygroundVesselMaster(ClusterPlaygroundVesselMaster clusterPlaygroundVesselMaster)
           
 PlaygroundVesselMaster findPlaygroundVesselMasterById(java.lang.Integer id)
           
 java.lang.Object findPlaygroundVesselMasterById(int transform, java.lang.Integer id)
           Does the same thing as PlaygroundVesselMasterDao.findPlaygroundVesselMasterById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findPlaygroundVesselMasterById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as PlaygroundVesselMasterDao.findPlaygroundVesselMasterById(int, java.lang.Integer) with an additional argument called queryString.
 PlaygroundVesselMaster findPlaygroundVesselMasterById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as PlaygroundVesselMasterDao.findPlaygroundVesselMasterById(java.lang.Integer) with an additional argument called queryString.
 PlaygroundVesselMaster findPlaygroundVesselMasterByNaturalId(java.lang.Integer id)
           
 java.lang.Object findPlaygroundVesselMasterByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as PlaygroundVesselMasterDao.findPlaygroundVesselMasterByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findPlaygroundVesselMasterByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as PlaygroundVesselMasterDao.findPlaygroundVesselMasterByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 PlaygroundVesselMaster findPlaygroundVesselMasterByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as PlaygroundVesselMasterDao.findPlaygroundVesselMasterByNaturalId(java.lang.Integer) with an additional argument called queryString.
 ClusterPlaygroundVesselMaster[] getAllClusterPlaygroundVesselMasterSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllPlaygroundVesselMaster()
           
 java.util.Collection getAllPlaygroundVesselMaster(int transform)
           Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMaster() with an additional flag called transform.
 java.util.Collection getAllPlaygroundVesselMaster(int pageNumber, int pageSize)
           Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMaster() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPlaygroundVesselMaster(int transform, int pageNumber, int pageSize)
           Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMaster(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPlaygroundVesselMaster(int transform, java.lang.String queryString)
           Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMaster(int) with an additional argument called queryString.
 java.util.Collection getAllPlaygroundVesselMaster(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMaster(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPlaygroundVesselMaster(java.lang.String queryString)
           Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMaster() with an additional argument called queryString.
 java.util.Collection getAllPlaygroundVesselMaster(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMaster(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPlaygroundVesselMasterSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMasterSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPlaygroundVesselMasterSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMasterSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPlaygroundVesselMasterSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMasterSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPlaygroundVesselMasterSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMasterSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllPlaygroundVesselMasterSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMasterSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllPlaygroundVesselMasterSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMasterSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllPlaygroundVesselMasterSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMasterSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllPlaygroundVesselMasterSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected abstract  PlaygroundVesselMaster handleCreateFromClusterPlaygroundVesselMaster(ClusterPlaygroundVesselMaster clusterPlaygroundVesselMaster)
          Performs the core logic for createFromClusterPlaygroundVesselMaster(fr.ifremer.allegro.playground.generic.cluster.ClusterPlaygroundVesselMaster)
protected abstract  ClusterPlaygroundVesselMaster[] handleGetAllClusterPlaygroundVesselMasterSinceDateSynchro(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 getAllClusterPlaygroundVesselMasterSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 PlaygroundVesselMaster load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.playground.PlaygroundVesselMaster from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as PlaygroundVesselMasterDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type PlaygroundVesselMaster.
 java.util.Collection loadAll(int transform)
           Does the same thing as PlaygroundVesselMasterDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as PlaygroundVesselMasterDao.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 PlaygroundVesselMasterDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remotePlaygroundVesselMasterFullVOToEntity(RemotePlaygroundVesselMasterFullVO source, PlaygroundVesselMaster target, boolean copyIfNull)
          Copies the fields of RemotePlaygroundVesselMasterFullVO to the specified entity.
 void remotePlaygroundVesselMasterFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemotePlaygroundVesselMasterFullVO to this DAO's entity.
 void remotePlaygroundVesselMasterNaturalIdToEntity(RemotePlaygroundVesselMasterNaturalId source, PlaygroundVesselMaster target, boolean copyIfNull)
          Copies the fields of RemotePlaygroundVesselMasterNaturalId to the specified entity.
 void remotePlaygroundVesselMasterNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemotePlaygroundVesselMasterNaturalId 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.playground.PlaygroundVesselMaster having the given identifier from the persistent store.
 void remove(PlaygroundVesselMaster playgroundVesselMaster)
          Removes the instance of fr.ifremer.allegro.playground.PlaygroundVesselMaster 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 PlaygroundVesselMasterDao.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.
protected  ClusterPlaygroundVesselMaster toClusterPlaygroundVesselMaster(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterPlaygroundVesselMaster toClusterPlaygroundVesselMaster(PlaygroundVesselMaster entity)
          Converts this DAO's entity to an object of type ClusterPlaygroundVesselMaster.
 void toClusterPlaygroundVesselMaster(PlaygroundVesselMaster source, ClusterPlaygroundVesselMaster target)
          Copies the fields of the specified entity to the target value object.
 ClusterPlaygroundVesselMaster[] toClusterPlaygroundVesselMasterArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterPlaygroundVesselMaster.
 void toClusterPlaygroundVesselMasterCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterPlaygroundVesselMaster.
protected  PlaygroundVesselMaster toEntity(java.lang.Object[] row)
           
protected  RemotePlaygroundVesselMasterFullVO toRemotePlaygroundVesselMasterFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemotePlaygroundVesselMasterFullVO toRemotePlaygroundVesselMasterFullVO(PlaygroundVesselMaster entity)
          Converts this DAO's entity to an object of type RemotePlaygroundVesselMasterFullVO.
 void toRemotePlaygroundVesselMasterFullVO(PlaygroundVesselMaster source, RemotePlaygroundVesselMasterFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemotePlaygroundVesselMasterFullVO[] toRemotePlaygroundVesselMasterFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemotePlaygroundVesselMasterFullVO.
 void toRemotePlaygroundVesselMasterFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemotePlaygroundVesselMasterFullVO.
protected  RemotePlaygroundVesselMasterNaturalId toRemotePlaygroundVesselMasterNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemotePlaygroundVesselMasterNaturalId toRemotePlaygroundVesselMasterNaturalId(PlaygroundVesselMaster entity)
          Converts this DAO's entity to an object of type RemotePlaygroundVesselMasterNaturalId.
 void toRemotePlaygroundVesselMasterNaturalId(PlaygroundVesselMaster source, RemotePlaygroundVesselMasterNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemotePlaygroundVesselMasterNaturalId[] toRemotePlaygroundVesselMasterNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemotePlaygroundVesselMasterNaturalId.
 void toRemotePlaygroundVesselMasterNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemotePlaygroundVesselMasterNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.playground.PlaygroundVesselMaster) method.
protected  java.lang.Object transformEntity(int transform, PlaygroundVesselMaster 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.playground.PlaygroundVesselMasterDao, please note that the PlaygroundVesselMasterDao.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(PlaygroundVesselMaster playgroundVesselMaster)
          Updates the playgroundVesselMaster 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.playground.PlaygroundVesselMasterDao
clusterPlaygroundVesselMasterToEntity, remotePlaygroundVesselMasterFullVOToEntity, remotePlaygroundVesselMasterNaturalIdToEntity
 

Constructor Detail

PlaygroundVesselMasterDaoBase

public PlaygroundVesselMasterDaoBase()
Method Detail

load

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

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

public PlaygroundVesselMaster create(PlaygroundVesselMaster playgroundVesselMaster)
Description copied from interface: PlaygroundVesselMasterDao
Creates an instance of fr.ifremer.allegro.playground.PlaygroundVesselMaster and adds it to the persistent store.

Specified by:
create in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.create(fr.ifremer.allegro.playground.PlaygroundVesselMaster)

create

public java.lang.Object create(int transform,
                               PlaygroundVesselMaster playgroundVesselMaster)
Description copied from interface: PlaygroundVesselMasterDao

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

create

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

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

create

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

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

create

public PlaygroundVesselMaster create(java.lang.String registrationCode,
                                     java.lang.String lastname,
                                     java.lang.String firstname,
                                     java.lang.String street,
                                     java.lang.String zipCode,
                                     java.lang.String city,
                                     java.sql.Timestamp updateDate)
Description copied from interface: PlaygroundVesselMasterDao

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

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

create

public java.lang.Object create(int transform,
                               java.lang.String registrationCode,
                               java.lang.String lastname,
                               java.lang.String firstname,
                               java.lang.String street,
                               java.lang.String zipCode,
                               java.lang.String city,
                               java.sql.Timestamp updateDate)
Description copied from interface: PlaygroundVesselMasterDao

Does the same thing as PlaygroundVesselMasterDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.sql.Timestamp) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

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

create

public PlaygroundVesselMaster create(java.lang.String registrationCode)
Description copied from interface: PlaygroundVesselMasterDao

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

Specified by:
create in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.create(java.lang.String)

create

public java.lang.Object create(int transform,
                               java.lang.String registrationCode)
Description copied from interface: PlaygroundVesselMasterDao

Does the same thing as PlaygroundVesselMasterDao.create(java.lang.String) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOTWILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
create in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.create(int, java.lang.String)

update

public void update(PlaygroundVesselMaster playgroundVesselMaster)
Description copied from interface: PlaygroundVesselMasterDao
Updates the playgroundVesselMaster instance in the persistent store.

Specified by:
update in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.update(fr.ifremer.allegro.playground.PlaygroundVesselMaster)

update

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

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

remove

public void remove(PlaygroundVesselMaster playgroundVesselMaster)
Description copied from interface: PlaygroundVesselMasterDao
Removes the instance of fr.ifremer.allegro.playground.PlaygroundVesselMaster from the persistent store.

Specified by:
remove in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.remove(fr.ifremer.allegro.playground.PlaygroundVesselMaster)

remove

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

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

remove

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

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

getAllPlaygroundVesselMaster

public java.util.Collection getAllPlaygroundVesselMaster()
Specified by:
getAllPlaygroundVesselMaster in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.getAllPlaygroundVesselMaster()

getAllPlaygroundVesselMaster

public java.util.Collection getAllPlaygroundVesselMaster(int transform)
Description copied from interface: PlaygroundVesselMasterDao

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

getAllPlaygroundVesselMaster

public java.util.Collection getAllPlaygroundVesselMaster(java.lang.String queryString)
Description copied from interface: PlaygroundVesselMasterDao

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

Specified by:
getAllPlaygroundVesselMaster in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.getAllPlaygroundVesselMaster(java.lang.String)

getAllPlaygroundVesselMaster

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

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

getAllPlaygroundVesselMaster

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

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

getAllPlaygroundVesselMaster

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

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

Specified by:
getAllPlaygroundVesselMaster in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.getAllPlaygroundVesselMaster(int, String)

getAllPlaygroundVesselMaster

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

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

getAllPlaygroundVesselMaster

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

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

findPlaygroundVesselMasterById

public PlaygroundVesselMaster findPlaygroundVesselMasterById(java.lang.Integer id)
Specified by:
findPlaygroundVesselMasterById in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.findPlaygroundVesselMasterById(java.lang.Integer)

findPlaygroundVesselMasterById

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

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

findPlaygroundVesselMasterById

public PlaygroundVesselMaster findPlaygroundVesselMasterById(java.lang.String queryString,
                                                             java.lang.Integer id)
Description copied from interface: PlaygroundVesselMasterDao

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

Specified by:
findPlaygroundVesselMasterById in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.findPlaygroundVesselMasterById(java.lang.String, java.lang.Integer)

findPlaygroundVesselMasterById

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

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

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

findPlaygroundVesselMasterByNaturalId

public PlaygroundVesselMaster findPlaygroundVesselMasterByNaturalId(java.lang.Integer id)
Specified by:
findPlaygroundVesselMasterByNaturalId in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.findPlaygroundVesselMasterByNaturalId(java.lang.Integer)

findPlaygroundVesselMasterByNaturalId

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

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

findPlaygroundVesselMasterByNaturalId

public PlaygroundVesselMaster findPlaygroundVesselMasterByNaturalId(java.lang.String queryString,
                                                                    java.lang.Integer id)
Description copied from interface: PlaygroundVesselMasterDao

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

Specified by:
findPlaygroundVesselMasterByNaturalId in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.findPlaygroundVesselMasterByNaturalId(java.lang.String, java.lang.Integer)

findPlaygroundVesselMasterByNaturalId

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

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

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

getAllPlaygroundVesselMasterSinceDateSynchro

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

getAllPlaygroundVesselMasterSinceDateSynchro

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

Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMasterSinceDateSynchro(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:
getAllPlaygroundVesselMasterSinceDateSynchro in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.getAllPlaygroundVesselMasterSinceDateSynchro(int, java.sql.Timestamp)

getAllPlaygroundVesselMasterSinceDateSynchro

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

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

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

getAllPlaygroundVesselMasterSinceDateSynchro

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

Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMasterSinceDateSynchro(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:
getAllPlaygroundVesselMasterSinceDateSynchro in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.getAllPlaygroundVesselMasterSinceDateSynchro(int, int, java.sql.Timestamp)

getAllPlaygroundVesselMasterSinceDateSynchro

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

Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMasterSinceDateSynchro(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:
getAllPlaygroundVesselMasterSinceDateSynchro in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.getAllPlaygroundVesselMasterSinceDateSynchro(String, int, int, java.sql.Timestamp)

getAllPlaygroundVesselMasterSinceDateSynchro

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

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

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

getAllPlaygroundVesselMasterSinceDateSynchro

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

Does the same thing as PlaygroundVesselMasterDao.getAllPlaygroundVesselMasterSinceDateSynchro(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:
getAllPlaygroundVesselMasterSinceDateSynchro in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.getAllPlaygroundVesselMasterSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllPlaygroundVesselMasterSinceDateSynchro

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

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

createFromClusterPlaygroundVesselMaster

public PlaygroundVesselMaster createFromClusterPlaygroundVesselMaster(ClusterPlaygroundVesselMaster clusterPlaygroundVesselMaster)
Specified by:
createFromClusterPlaygroundVesselMaster in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.createFromClusterPlaygroundVesselMaster(fr.ifremer.allegro.playground.generic.cluster.ClusterPlaygroundVesselMaster)

handleCreateFromClusterPlaygroundVesselMaster

protected abstract PlaygroundVesselMaster handleCreateFromClusterPlaygroundVesselMaster(ClusterPlaygroundVesselMaster clusterPlaygroundVesselMaster)
                                                                                 throws java.lang.Exception
Performs the core logic for createFromClusterPlaygroundVesselMaster(fr.ifremer.allegro.playground.generic.cluster.ClusterPlaygroundVesselMaster)

Throws:
java.lang.Exception

getAllClusterPlaygroundVesselMasterSinceDateSynchro

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

handleGetAllClusterPlaygroundVesselMasterSinceDateSynchro

protected abstract ClusterPlaygroundVesselMaster[] handleGetAllClusterPlaygroundVesselMasterSinceDateSynchro(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 getAllClusterPlaygroundVesselMasterSinceDateSynchro(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,
                                           PlaygroundVesselMaster 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.playground.PlaygroundVesselMasterDao, please note that the PlaygroundVesselMasterDao.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 PlaygroundVesselMasterDao.TRANSFORM_NONE is assumed.

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

toEntity

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

toRemotePlaygroundVesselMasterFullVOCollection

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

Specified by:
toRemotePlaygroundVesselMasterFullVOCollection in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.toRemotePlaygroundVesselMasterFullVOCollection(java.util.Collection)

toRemotePlaygroundVesselMasterFullVOArray

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

Specified by:
toRemotePlaygroundVesselMasterFullVOArray in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.toRemotePlaygroundVesselMasterFullVOArray(java.util.Collection)

toRemotePlaygroundVesselMasterFullVO

protected RemotePlaygroundVesselMasterFullVO toRemotePlaygroundVesselMasterFullVO(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 PlaygroundVesselMasterDaoImpl class if you intend to use reporting queries.

See Also:
PlaygroundVesselMasterDao.toRemotePlaygroundVesselMasterFullVO(fr.ifremer.allegro.playground.PlaygroundVesselMaster)

remotePlaygroundVesselMasterFullVOToEntityCollection

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

Specified by:
remotePlaygroundVesselMasterFullVOToEntityCollection in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.remotePlaygroundVesselMasterFullVOToEntityCollection(java.util.Collection)

toRemotePlaygroundVesselMasterFullVO

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

toRemotePlaygroundVesselMasterFullVO

public RemotePlaygroundVesselMasterFullVO toRemotePlaygroundVesselMasterFullVO(PlaygroundVesselMaster entity)
Description copied from interface: PlaygroundVesselMasterDao
Converts this DAO's entity to an object of type RemotePlaygroundVesselMasterFullVO.

Specified by:
toRemotePlaygroundVesselMasterFullVO in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.toRemotePlaygroundVesselMasterFullVO(fr.ifremer.allegro.playground.PlaygroundVesselMaster)

remotePlaygroundVesselMasterFullVOToEntity

public void remotePlaygroundVesselMasterFullVOToEntity(RemotePlaygroundVesselMasterFullVO source,
                                                       PlaygroundVesselMaster target,
                                                       boolean copyIfNull)
Description copied from interface: PlaygroundVesselMasterDao
Copies the fields of RemotePlaygroundVesselMasterFullVO to the specified entity.

Specified by:
remotePlaygroundVesselMasterFullVOToEntity in interface PlaygroundVesselMasterDao
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.playground.PlaygroundVesselMasterDao#remotePlaygroundVesselMasterFullVOToEntity(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundVesselMasterFullVO, fr.ifremer.allegro.playground.PlaygroundVesselMaster)

toRemotePlaygroundVesselMasterNaturalIdCollection

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

Specified by:
toRemotePlaygroundVesselMasterNaturalIdCollection in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.toRemotePlaygroundVesselMasterNaturalIdCollection(java.util.Collection)

toRemotePlaygroundVesselMasterNaturalIdArray

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

Specified by:
toRemotePlaygroundVesselMasterNaturalIdArray in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.toRemotePlaygroundVesselMasterNaturalIdArray(java.util.Collection)

toRemotePlaygroundVesselMasterNaturalId

protected RemotePlaygroundVesselMasterNaturalId toRemotePlaygroundVesselMasterNaturalId(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 PlaygroundVesselMasterDaoImpl class if you intend to use reporting queries.

See Also:
PlaygroundVesselMasterDao.toRemotePlaygroundVesselMasterNaturalId(fr.ifremer.allegro.playground.PlaygroundVesselMaster)

remotePlaygroundVesselMasterNaturalIdToEntityCollection

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

Specified by:
remotePlaygroundVesselMasterNaturalIdToEntityCollection in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.remotePlaygroundVesselMasterNaturalIdToEntityCollection(java.util.Collection)

toRemotePlaygroundVesselMasterNaturalId

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

toRemotePlaygroundVesselMasterNaturalId

public RemotePlaygroundVesselMasterNaturalId toRemotePlaygroundVesselMasterNaturalId(PlaygroundVesselMaster entity)
Description copied from interface: PlaygroundVesselMasterDao
Converts this DAO's entity to an object of type RemotePlaygroundVesselMasterNaturalId.

Specified by:
toRemotePlaygroundVesselMasterNaturalId in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.toRemotePlaygroundVesselMasterNaturalId(fr.ifremer.allegro.playground.PlaygroundVesselMaster)

remotePlaygroundVesselMasterNaturalIdToEntity

public void remotePlaygroundVesselMasterNaturalIdToEntity(RemotePlaygroundVesselMasterNaturalId source,
                                                          PlaygroundVesselMaster target,
                                                          boolean copyIfNull)
Description copied from interface: PlaygroundVesselMasterDao
Copies the fields of RemotePlaygroundVesselMasterNaturalId to the specified entity.

Specified by:
remotePlaygroundVesselMasterNaturalIdToEntity in interface PlaygroundVesselMasterDao
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.playground.PlaygroundVesselMasterDao#remotePlaygroundVesselMasterNaturalIdToEntity(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundVesselMasterNaturalId, fr.ifremer.allegro.playground.PlaygroundVesselMaster)

toClusterPlaygroundVesselMasterCollection

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

Specified by:
toClusterPlaygroundVesselMasterCollection in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.toClusterPlaygroundVesselMasterCollection(java.util.Collection)

toClusterPlaygroundVesselMasterArray

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

Specified by:
toClusterPlaygroundVesselMasterArray in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.toClusterPlaygroundVesselMasterArray(java.util.Collection)

toClusterPlaygroundVesselMaster

protected ClusterPlaygroundVesselMaster toClusterPlaygroundVesselMaster(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 PlaygroundVesselMasterDaoImpl class if you intend to use reporting queries.

See Also:
PlaygroundVesselMasterDao.toClusterPlaygroundVesselMaster(fr.ifremer.allegro.playground.PlaygroundVesselMaster)

clusterPlaygroundVesselMasterToEntityCollection

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

Specified by:
clusterPlaygroundVesselMasterToEntityCollection in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.clusterPlaygroundVesselMasterToEntityCollection(java.util.Collection)

toClusterPlaygroundVesselMaster

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

toClusterPlaygroundVesselMaster

public ClusterPlaygroundVesselMaster toClusterPlaygroundVesselMaster(PlaygroundVesselMaster entity)
Description copied from interface: PlaygroundVesselMasterDao
Converts this DAO's entity to an object of type ClusterPlaygroundVesselMaster.

Specified by:
toClusterPlaygroundVesselMaster in interface PlaygroundVesselMasterDao
See Also:
PlaygroundVesselMasterDao.toClusterPlaygroundVesselMaster(fr.ifremer.allegro.playground.PlaygroundVesselMaster)

clusterPlaygroundVesselMasterToEntity

public void clusterPlaygroundVesselMasterToEntity(ClusterPlaygroundVesselMaster source,
                                                  PlaygroundVesselMaster target,
                                                  boolean copyIfNull)
Description copied from interface: PlaygroundVesselMasterDao
Copies the fields of ClusterPlaygroundVesselMaster to the specified entity.

Specified by:
clusterPlaygroundVesselMasterToEntity in interface PlaygroundVesselMasterDao
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.playground.PlaygroundVesselMasterDao#clusterPlaygroundVesselMasterToEntity(fr.ifremer.allegro.playground.generic.cluster.ClusterPlaygroundVesselMaster, fr.ifremer.allegro.playground.PlaygroundVesselMaster)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.