|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.referential.PhotoTypeDaoBase
public abstract class PhotoTypeDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.PhotoType
.
PhotoType
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.PhotoTypeDao |
---|
TRANSFORM_CLUSTERPHOTOTYPE, TRANSFORM_NONE, TRANSFORM_REMOTEPHOTOTYPEFULLVO, TRANSFORM_REMOTEPHOTOTYPENATURALID |
Constructor Summary | |
---|---|
PhotoTypeDaoBase()
|
Method Summary | |
---|---|
void |
clusterPhotoTypeToEntity(ClusterPhotoType source,
PhotoType target,
boolean copyIfNull)
Copies the fields of ClusterPhotoType to the specified entity. |
void |
clusterPhotoTypeToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterPhotoType to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.PhotoType and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as PhotoTypeDao.create(fr.ifremer.allegro.referential.PhotoType) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
PhotoType photoType)
Does the same thing as PhotoTypeDao.create(fr.ifremer.allegro.referential.PhotoType) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String description,
java.lang.String name,
Status status)
Does the same thing as PhotoTypeDao.create(java.lang.String,java.lang.String,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String name,
java.lang.String description,
java.sql.Timestamp updateDate,
Status status)
Does the same thing as PhotoTypeDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
PhotoType |
create(PhotoType photoType)
Creates an instance of fr.ifremer.allegro.referential.PhotoType and adds it to the persistent store. |
PhotoType |
create(java.lang.String description,
java.lang.String name,
Status status)
Creates a new fr.ifremer.allegro.referential.PhotoType
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
PhotoType |
create(java.lang.String name,
java.lang.String description,
java.sql.Timestamp updateDate,
Status status)
Creates a new fr.ifremer.allegro.referential.PhotoType
instance from all attributes and
properties and adds it to the persistent store. |
PhotoType |
createFromClusterPhotoType(ClusterPhotoType clusterPhotoType)
|
java.lang.Object |
findPhotoTypeByCode(int transform,
java.lang.String code)
Does the same thing as PhotoTypeDao.findPhotoTypeByCode(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
findPhotoTypeByCode(int transform,
java.lang.String queryString,
java.lang.String code)
Does the same thing as PhotoTypeDao.findPhotoTypeByCode(int, java.lang.String) with an
additional argument called queryString . |
PhotoType |
findPhotoTypeByCode(java.lang.String code)
|
PhotoType |
findPhotoTypeByCode(java.lang.String queryString,
java.lang.String code)
Does the same thing as PhotoTypeDao.findPhotoTypeByCode(java.lang.String) with an
additional argument called queryString . |
java.lang.Object |
findPhotoTypeByNaturalId(int transform,
java.lang.String code)
Does the same thing as PhotoTypeDao.findPhotoTypeByNaturalId(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
findPhotoTypeByNaturalId(int transform,
java.lang.String queryString,
java.lang.String code)
Does the same thing as PhotoTypeDao.findPhotoTypeByNaturalId(int, java.lang.String) with an
additional argument called queryString . |
PhotoType |
findPhotoTypeByNaturalId(java.lang.String code)
|
PhotoType |
findPhotoTypeByNaturalId(java.lang.String queryString,
java.lang.String code)
Does the same thing as PhotoTypeDao.findPhotoTypeByNaturalId(java.lang.String) with an
additional argument called queryString . |
java.util.Collection |
findPhotoTypeByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as PhotoTypeDao.findPhotoTypeByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findPhotoTypeByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as PhotoTypeDao.findPhotoTypeByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findPhotoTypeByStatus(int transform,
Status status)
Does the same thing as PhotoTypeDao.findPhotoTypeByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findPhotoTypeByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as PhotoTypeDao.findPhotoTypeByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findPhotoTypeByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as PhotoTypeDao.findPhotoTypeByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findPhotoTypeByStatus(Status status)
|
java.util.Collection |
findPhotoTypeByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as PhotoTypeDao.findPhotoTypeByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findPhotoTypeByStatus(java.lang.String queryString,
Status status)
Does the same thing as PhotoTypeDao.findPhotoTypeByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
ClusterPhotoType[] |
getAllClusterPhotoTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllPhotoType()
|
java.util.Collection |
getAllPhotoType(int transform)
Does the same thing as PhotoTypeDao.getAllPhotoType() with an
additional flag called transform . |
java.util.Collection |
getAllPhotoType(int pageNumber,
int pageSize)
Does the same thing as PhotoTypeDao.getAllPhotoType() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllPhotoType(int transform,
int pageNumber,
int pageSize)
Does the same thing as PhotoTypeDao.getAllPhotoType(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllPhotoType(int transform,
java.lang.String queryString)
Does the same thing as PhotoTypeDao.getAllPhotoType(int) with an
additional argument called queryString . |
java.util.Collection |
getAllPhotoType(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as PhotoTypeDao.getAllPhotoType(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllPhotoType(java.lang.String queryString)
Does the same thing as PhotoTypeDao.getAllPhotoType() with an
additional argument called queryString . |
java.util.Collection |
getAllPhotoType(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as PhotoTypeDao.getAllPhotoType(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllPhotoTypeSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllPhotoTypeSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllPhotoTypeSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllPhotoTypeSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllPhotoTypeSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllPhotoTypeSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllPhotoTypeSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllPhotoTypeSinceDateSynchro(java.sql.Timestamp updateDate)
|
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 PhotoType |
handleCreateFromClusterPhotoType(ClusterPhotoType clusterPhotoType)
Performs the core logic for createFromClusterPhotoType(fr.ifremer.allegro.referential.generic.cluster.ClusterPhotoType) |
protected abstract ClusterPhotoType[] |
handleGetAllClusterPhotoTypeSinceDateSynchro(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 getAllClusterPhotoTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
java.lang.Object |
load(int transform,
java.lang.String code)
Does the same thing as PhotoTypeDao.load(java.lang.String) with an
additional flag called transform . |
PhotoType |
load(java.lang.String code)
Loads an instance of fr.ifremer.allegro.referential.PhotoType from the persistent store. |
java.util.Collection |
loadAll()
Loads all entities of type PhotoType . |
java.util.Collection |
loadAll(int transform)
Does the same thing as PhotoTypeDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as PhotoTypeDao.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 PhotoTypeDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remotePhotoTypeFullVOToEntity(RemotePhotoTypeFullVO source,
PhotoType target,
boolean copyIfNull)
Copies the fields of RemotePhotoTypeFullVO to the specified entity. |
void |
remotePhotoTypeFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemotePhotoTypeFullVO to this
DAO's entity. |
void |
remotePhotoTypeNaturalIdToEntity(RemotePhotoTypeNaturalId source,
PhotoType target,
boolean copyIfNull)
Copies the fields of RemotePhotoTypeNaturalId to the specified entity. |
void |
remotePhotoTypeNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemotePhotoTypeNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(PhotoType photoType)
Removes the instance of fr.ifremer.allegro.referential.PhotoType from the persistent store. |
void |
remove(java.lang.String code)
Removes the instance of fr.ifremer.allegro.referential.PhotoType having the given identifier from the persistent store. |
PaginationResult |
search(int transform,
int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(int, fr.ifremer.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 PhotoTypeDao.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 ClusterPhotoType |
toClusterPhotoType(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterPhotoType |
toClusterPhotoType(PhotoType entity)
Converts this DAO's entity to an object of type ClusterPhotoType . |
void |
toClusterPhotoType(PhotoType source,
ClusterPhotoType target)
Copies the fields of the specified entity to the target value object. |
ClusterPhotoType[] |
toClusterPhotoTypeArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterPhotoType . |
void |
toClusterPhotoTypeCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterPhotoType . |
protected PhotoType |
toEntity(java.lang.Object[] row)
|
protected RemotePhotoTypeFullVO |
toRemotePhotoTypeFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemotePhotoTypeFullVO |
toRemotePhotoTypeFullVO(PhotoType entity)
Converts this DAO's entity to an object of type RemotePhotoTypeFullVO . |
void |
toRemotePhotoTypeFullVO(PhotoType source,
RemotePhotoTypeFullVO target)
Copies the fields of the specified entity to the target value object. |
RemotePhotoTypeFullVO[] |
toRemotePhotoTypeFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemotePhotoTypeFullVO . |
void |
toRemotePhotoTypeFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemotePhotoTypeFullVO . |
protected RemotePhotoTypeNaturalId |
toRemotePhotoTypeNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemotePhotoTypeNaturalId |
toRemotePhotoTypeNaturalId(PhotoType entity)
Converts this DAO's entity to an object of type RemotePhotoTypeNaturalId . |
void |
toRemotePhotoTypeNaturalId(PhotoType source,
RemotePhotoTypeNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemotePhotoTypeNaturalId[] |
toRemotePhotoTypeNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemotePhotoTypeNaturalId . |
void |
toRemotePhotoTypeNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemotePhotoTypeNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.PhotoType)
method. |
protected java.lang.Object |
transformEntity(int transform,
PhotoType 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.PhotoTypeDao , please note
that the PhotoTypeDao.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(PhotoType photoType)
Updates the photoType 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.PhotoTypeDao |
---|
clusterPhotoTypeToEntity, remotePhotoTypeFullVOToEntity, remotePhotoTypeNaturalIdToEntity |
Constructor Detail |
---|
public PhotoTypeDaoBase()
Method Detail |
---|
public void setStatusDao(StatusDao statusDao)
statusDao
.
protected StatusDao getStatusDao()
statusDao
.
public java.lang.Object load(int transform, java.lang.String code)
PhotoTypeDao
Does the same thing as PhotoTypeDao.load(java.lang.String)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined in this class then the result WILL BE passed through an operation which can
optionally transform the entity (into a value object for example). By default, transformation does
not occur.
load
in interface PhotoTypeDao
code
- identifier of the entity to load
PhotoTypeDao.load(int, java.lang.String)
public PhotoType load(java.lang.String code)
PhotoTypeDao
load
in interface PhotoTypeDao
PhotoTypeDao.load(java.lang.String)
public java.util.Collection loadAll()
PhotoTypeDao
PhotoType
.
loadAll
in interface PhotoTypeDao
PhotoTypeDao.loadAll()
public java.util.Collection loadAll(int transform)
PhotoTypeDao
Does the same thing as PhotoTypeDao.loadAll()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
loadAll
in interface PhotoTypeDao
transform
- the flag indicating what transformation to use.
PhotoTypeDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
PhotoTypeDao
Does the same thing as PhotoTypeDao.loadAll()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll
in interface PhotoTypeDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
PhotoTypeDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
PhotoTypeDao
Does the same thing as PhotoTypeDao.loadAll(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
loadAll
in interface PhotoTypeDao
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.
PhotoTypeDao.loadAll(int, int, int)
public PhotoType create(PhotoType photoType)
PhotoTypeDao
create
in interface PhotoTypeDao
PhotoTypeDao.create(fr.ifremer.allegro.referential.PhotoType)
public java.lang.Object create(int transform, PhotoType photoType)
PhotoTypeDao
Does the same thing as PhotoTypeDao.create(fr.ifremer.allegro.referential.PhotoType)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface PhotoTypeDao
PhotoTypeDao.create(int transform, fr.ifremer.allegro.referential.PhotoType)
public java.util.Collection create(java.util.Collection entities)
PhotoTypeDao
entities
collection
create
in interface PhotoTypeDao
entities
- the collection of fr.ifremer.allegro.referential.PhotoType
instances to create.
PhotoTypeDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
PhotoTypeDao
Does the same thing as PhotoTypeDao.create(fr.ifremer.allegro.referential.PhotoType)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
create
in interface PhotoTypeDao
PhotoTypeDao.create(int, java.util.Collection)
public PhotoType create(java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, Status status)
PhotoTypeDao
Creates a new fr.ifremer.allegro.referential.PhotoType
instance from all attributes and
properties and adds it to the persistent store.
create
in interface PhotoTypeDao
PhotoTypeDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, Status status)
PhotoTypeDao
Does the same thing as PhotoTypeDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,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.
create
in interface PhotoTypeDao
PhotoTypeDao.create(int, java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)
public PhotoType create(java.lang.String description, java.lang.String name, Status status)
PhotoTypeDao
Creates a new fr.ifremer.allegro.referential.PhotoType
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface PhotoTypeDao
PhotoTypeDao.create(java.lang.String,java.lang.String,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String description, java.lang.String name, Status status)
PhotoTypeDao
Does the same thing as PhotoTypeDao.create(java.lang.String,java.lang.String,fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOTWILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface PhotoTypeDao
PhotoTypeDao.create(int, java.lang.String,java.lang.String,fr.ifremer.allegro.referential.Status)
public void update(PhotoType photoType)
PhotoTypeDao
photoType
instance in the persistent store.
update
in interface PhotoTypeDao
PhotoTypeDao.update(fr.ifremer.allegro.referential.PhotoType)
public void update(java.util.Collection entities)
PhotoTypeDao
entities
collection in the persistent store.
update
in interface PhotoTypeDao
PhotoTypeDao.update(java.util.Collection)
public void remove(PhotoType photoType)
PhotoTypeDao
remove
in interface PhotoTypeDao
PhotoTypeDao.remove(fr.ifremer.allegro.referential.PhotoType)
public void remove(java.lang.String code)
PhotoTypeDao
identifier
from the persistent store.
remove
in interface PhotoTypeDao
PhotoTypeDao.remove(java.lang.String)
public void remove(java.util.Collection entities)
PhotoTypeDao
entities collection.
- Specified by:
remove
in interface PhotoTypeDao
- See Also:
PhotoTypeDao.remove(java.util.Collection)
public java.util.Collection getAllPhotoType()
getAllPhotoType
in interface PhotoTypeDao
PhotoTypeDao.getAllPhotoType()
public java.util.Collection getAllPhotoType(int transform)
PhotoTypeDao
Does the same thing as PhotoTypeDao.getAllPhotoType()
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.
getAllPhotoType
in interface PhotoTypeDao
PhotoTypeDao.getAllPhotoType(int)
public java.util.Collection getAllPhotoType(java.lang.String queryString)
PhotoTypeDao
Does the same thing as PhotoTypeDao.getAllPhotoType()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PhotoTypeDao.getAllPhotoType()
.
getAllPhotoType
in interface PhotoTypeDao
PhotoTypeDao.getAllPhotoType(java.lang.String)
public java.util.Collection getAllPhotoType(int pageNumber, int pageSize)
PhotoTypeDao
Does the same thing as PhotoTypeDao.getAllPhotoType()
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.
getAllPhotoType
in interface PhotoTypeDao
PhotoTypeDao.getAllPhotoType(int, int)
public java.util.Collection getAllPhotoType(java.lang.String queryString, int pageNumber, int pageSize)
PhotoTypeDao
Does the same thing as PhotoTypeDao.getAllPhotoType(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.
getAllPhotoType
in interface PhotoTypeDao
PhotoTypeDao.getAllPhotoType(String, int, int)
public java.util.Collection getAllPhotoType(int transform, java.lang.String queryString)
PhotoTypeDao
Does the same thing as PhotoTypeDao.getAllPhotoType(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PhotoTypeDao.getAllPhotoType(int)
.
getAllPhotoType
in interface PhotoTypeDao
PhotoTypeDao.getAllPhotoType(int, String)
public java.util.Collection getAllPhotoType(int transform, int pageNumber, int pageSize)
PhotoTypeDao
Does the same thing as PhotoTypeDao.getAllPhotoType(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.
getAllPhotoType
in interface PhotoTypeDao
PhotoTypeDao.getAllPhotoType(int, int, int)
public java.util.Collection getAllPhotoType(int transform, java.lang.String queryString, int pageNumber, int pageSize)
PhotoTypeDao
Does the same thing as PhotoTypeDao.getAllPhotoType(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.
getAllPhotoType
in interface PhotoTypeDao
PhotoTypeDao.getAllPhotoType(int, java.lang.String, int, int)
public PhotoType findPhotoTypeByCode(java.lang.String code)
findPhotoTypeByCode
in interface PhotoTypeDao
PhotoTypeDao.findPhotoTypeByCode(java.lang.String)
public java.lang.Object findPhotoTypeByCode(int transform, java.lang.String code)
PhotoTypeDao
Does the same thing as PhotoTypeDao.findPhotoTypeByCode(java.lang.String)
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.
findPhotoTypeByCode
in interface PhotoTypeDao
PhotoTypeDao.findPhotoTypeByCode(int, java.lang.String)
public PhotoType findPhotoTypeByCode(java.lang.String queryString, java.lang.String code)
PhotoTypeDao
Does the same thing as PhotoTypeDao.findPhotoTypeByCode(java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PhotoTypeDao.findPhotoTypeByCode(java.lang.String)
.
findPhotoTypeByCode
in interface PhotoTypeDao
PhotoTypeDao.findPhotoTypeByCode(java.lang.String, java.lang.String)
public java.lang.Object findPhotoTypeByCode(int transform, java.lang.String queryString, java.lang.String code)
PhotoTypeDao
Does the same thing as PhotoTypeDao.findPhotoTypeByCode(int, java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PhotoTypeDao.findPhotoTypeByCode(int, java.lang.String code)
.
findPhotoTypeByCode
in interface PhotoTypeDao
PhotoTypeDao.findPhotoTypeByCode(int, java.lang.String, java.lang.String)
public java.util.Collection findPhotoTypeByStatus(Status status)
findPhotoTypeByStatus
in interface PhotoTypeDao
PhotoTypeDao.findPhotoTypeByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findPhotoTypeByStatus(int transform, Status status)
PhotoTypeDao
Does the same thing as PhotoTypeDao.findPhotoTypeByStatus(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.
findPhotoTypeByStatus
in interface PhotoTypeDao
PhotoTypeDao.findPhotoTypeByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPhotoTypeByStatus(java.lang.String queryString, Status status)
PhotoTypeDao
Does the same thing as PhotoTypeDao.findPhotoTypeByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PhotoTypeDao.findPhotoTypeByStatus(fr.ifremer.allegro.referential.Status)
.
findPhotoTypeByStatus
in interface PhotoTypeDao
PhotoTypeDao.findPhotoTypeByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPhotoTypeByStatus(int pageNumber, int pageSize, Status status)
PhotoTypeDao
Does the same thing as PhotoTypeDao.findPhotoTypeByStatus(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.
findPhotoTypeByStatus
in interface PhotoTypeDao
PhotoTypeDao.findPhotoTypeByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPhotoTypeByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
PhotoTypeDao
Does the same thing as PhotoTypeDao.findPhotoTypeByStatus(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.
findPhotoTypeByStatus
in interface PhotoTypeDao
PhotoTypeDao.findPhotoTypeByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPhotoTypeByStatus(int transform, java.lang.String queryString, Status status)
PhotoTypeDao
Does the same thing as PhotoTypeDao.findPhotoTypeByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PhotoTypeDao.findPhotoTypeByStatus(int, fr.ifremer.allegro.referential.Status status)
.
findPhotoTypeByStatus
in interface PhotoTypeDao
PhotoTypeDao.findPhotoTypeByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPhotoTypeByStatus(int transform, int pageNumber, int pageSize, Status status)
PhotoTypeDao
Does the same thing as PhotoTypeDao.findPhotoTypeByStatus(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.
findPhotoTypeByStatus
in interface PhotoTypeDao
PhotoTypeDao.findPhotoTypeByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findPhotoTypeByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
PhotoTypeDao
Does the same thing as PhotoTypeDao.findPhotoTypeByStatus(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.
findPhotoTypeByStatus
in interface PhotoTypeDao
PhotoTypeDao.findPhotoTypeByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public PhotoType findPhotoTypeByNaturalId(java.lang.String code)
findPhotoTypeByNaturalId
in interface PhotoTypeDao
PhotoTypeDao.findPhotoTypeByNaturalId(java.lang.String)
public java.lang.Object findPhotoTypeByNaturalId(int transform, java.lang.String code)
PhotoTypeDao
Does the same thing as PhotoTypeDao.findPhotoTypeByNaturalId(java.lang.String)
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.
findPhotoTypeByNaturalId
in interface PhotoTypeDao
PhotoTypeDao.findPhotoTypeByNaturalId(int, java.lang.String)
public PhotoType findPhotoTypeByNaturalId(java.lang.String queryString, java.lang.String code)
PhotoTypeDao
Does the same thing as PhotoTypeDao.findPhotoTypeByNaturalId(java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PhotoTypeDao.findPhotoTypeByNaturalId(java.lang.String)
.
findPhotoTypeByNaturalId
in interface PhotoTypeDao
PhotoTypeDao.findPhotoTypeByNaturalId(java.lang.String, java.lang.String)
public java.lang.Object findPhotoTypeByNaturalId(int transform, java.lang.String queryString, java.lang.String code)
PhotoTypeDao
Does the same thing as PhotoTypeDao.findPhotoTypeByNaturalId(int, java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PhotoTypeDao.findPhotoTypeByNaturalId(int, java.lang.String code)
.
findPhotoTypeByNaturalId
in interface PhotoTypeDao
PhotoTypeDao.findPhotoTypeByNaturalId(int, java.lang.String, java.lang.String)
public java.util.Collection getAllPhotoTypeSinceDateSynchro(java.sql.Timestamp updateDate)
getAllPhotoTypeSinceDateSynchro
in interface PhotoTypeDao
PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllPhotoTypeSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
PhotoTypeDao
Does the same thing as PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(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.
getAllPhotoTypeSinceDateSynchro
in interface PhotoTypeDao
PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllPhotoTypeSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
PhotoTypeDao
Does the same thing as PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(java.sql.Timestamp)
.
getAllPhotoTypeSinceDateSynchro
in interface PhotoTypeDao
PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllPhotoTypeSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
PhotoTypeDao
Does the same thing as PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(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.
getAllPhotoTypeSinceDateSynchro
in interface PhotoTypeDao
PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllPhotoTypeSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
PhotoTypeDao
Does the same thing as PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(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.
getAllPhotoTypeSinceDateSynchro
in interface PhotoTypeDao
PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllPhotoTypeSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
PhotoTypeDao
Does the same thing as PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllPhotoTypeSinceDateSynchro
in interface PhotoTypeDao
PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllPhotoTypeSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
PhotoTypeDao
Does the same thing as PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(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.
getAllPhotoTypeSinceDateSynchro
in interface PhotoTypeDao
PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllPhotoTypeSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
PhotoTypeDao
Does the same thing as PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(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.
getAllPhotoTypeSinceDateSynchro
in interface PhotoTypeDao
PhotoTypeDao.getAllPhotoTypeSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public PhotoType createFromClusterPhotoType(ClusterPhotoType clusterPhotoType)
createFromClusterPhotoType
in interface PhotoTypeDao
PhotoTypeDao.createFromClusterPhotoType(fr.ifremer.allegro.referential.generic.cluster.ClusterPhotoType)
protected abstract PhotoType handleCreateFromClusterPhotoType(ClusterPhotoType clusterPhotoType) throws java.lang.Exception
createFromClusterPhotoType(fr.ifremer.allegro.referential.generic.cluster.ClusterPhotoType)
java.lang.Exception
public ClusterPhotoType[] getAllClusterPhotoTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterPhotoTypeSinceDateSynchro
in interface PhotoTypeDao
PhotoTypeDao.getAllClusterPhotoTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterPhotoType[] handleGetAllClusterPhotoTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterPhotoTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, PhotoType entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.PhotoTypeDao
, please note
that the PhotoTypeDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
PhotoType
- PhotoTypeDao.TRANSFORM_NONE
RemotePhotoTypeFullVO
- TRANSFORM_REMOTEPHOTOTYPEFULLVO
RemotePhotoTypeNaturalId
- TRANSFORM_REMOTEPHOTOTYPENATURALID
ClusterPhotoType
- TRANSFORM_CLUSTERPHOTOTYPE
PhotoTypeDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in PhotoTypeDao
entity
- an entity that was found
transformEntities(int,java.util.Collection)
protected void transformEntities(int transform, java.util.Collection entities)
transformEntity(int,fr.ifremer.allegro.referential.PhotoType)
method. This method does not instantiate a new collection.
This method is to be used internally only.
transform
- one of the constants declared in fr.ifremer.allegro.referential.PhotoTypeDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.PhotoType)
protected PhotoType toEntity(java.lang.Object[] row)
public final void toRemotePhotoTypeFullVOCollection(java.util.Collection entities)
PhotoTypeDao
RemotePhotoTypeFullVO
.
toRemotePhotoTypeFullVOCollection
in interface PhotoTypeDao
PhotoTypeDao.toRemotePhotoTypeFullVOCollection(java.util.Collection)
public final RemotePhotoTypeFullVO[] toRemotePhotoTypeFullVOArray(java.util.Collection entities)
PhotoTypeDao
RemotePhotoTypeFullVO
.
toRemotePhotoTypeFullVOArray
in interface PhotoTypeDao
PhotoTypeDao.toRemotePhotoTypeFullVOArray(java.util.Collection)
protected RemotePhotoTypeFullVO toRemotePhotoTypeFullVO(java.lang.Object[] row)
PhotoTypeDaoImpl
class if you intend to use reporting queries.
PhotoTypeDao.toRemotePhotoTypeFullVO(fr.ifremer.allegro.referential.PhotoType)
public final void remotePhotoTypeFullVOToEntityCollection(java.util.Collection instances)
PhotoTypeDao
RemotePhotoTypeFullVO
to this
DAO's entity.
remotePhotoTypeFullVOToEntityCollection
in interface PhotoTypeDao
PhotoTypeDao.remotePhotoTypeFullVOToEntityCollection(java.util.Collection)
public void toRemotePhotoTypeFullVO(PhotoType source, RemotePhotoTypeFullVO target)
PhotoTypeDao
toRemotePhotoTypeFullVO
in interface PhotoTypeDao
PhotoTypeDao.toRemotePhotoTypeFullVO(fr.ifremer.allegro.referential.PhotoType, fr.ifremer.allegro.referential.generic.vo.RemotePhotoTypeFullVO)
public RemotePhotoTypeFullVO toRemotePhotoTypeFullVO(PhotoType entity)
PhotoTypeDao
RemotePhotoTypeFullVO
.
toRemotePhotoTypeFullVO
in interface PhotoTypeDao
PhotoTypeDao.toRemotePhotoTypeFullVO(fr.ifremer.allegro.referential.PhotoType)
public void remotePhotoTypeFullVOToEntity(RemotePhotoTypeFullVO source, PhotoType target, boolean copyIfNull)
PhotoTypeDao
RemotePhotoTypeFullVO
to the specified entity.
remotePhotoTypeFullVOToEntity
in interface PhotoTypeDao
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.fr.ifremer.allegro.referential.PhotoTypeDao#remotePhotoTypeFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemotePhotoTypeFullVO, fr.ifremer.allegro.referential.PhotoType)
public final void toRemotePhotoTypeNaturalIdCollection(java.util.Collection entities)
PhotoTypeDao
RemotePhotoTypeNaturalId
.
toRemotePhotoTypeNaturalIdCollection
in interface PhotoTypeDao
PhotoTypeDao.toRemotePhotoTypeNaturalIdCollection(java.util.Collection)
public final RemotePhotoTypeNaturalId[] toRemotePhotoTypeNaturalIdArray(java.util.Collection entities)
PhotoTypeDao
RemotePhotoTypeNaturalId
.
toRemotePhotoTypeNaturalIdArray
in interface PhotoTypeDao
PhotoTypeDao.toRemotePhotoTypeNaturalIdArray(java.util.Collection)
protected RemotePhotoTypeNaturalId toRemotePhotoTypeNaturalId(java.lang.Object[] row)
PhotoTypeDaoImpl
class if you intend to use reporting queries.
PhotoTypeDao.toRemotePhotoTypeNaturalId(fr.ifremer.allegro.referential.PhotoType)
public final void remotePhotoTypeNaturalIdToEntityCollection(java.util.Collection instances)
PhotoTypeDao
RemotePhotoTypeNaturalId
to this
DAO's entity.
remotePhotoTypeNaturalIdToEntityCollection
in interface PhotoTypeDao
PhotoTypeDao.remotePhotoTypeNaturalIdToEntityCollection(java.util.Collection)
public void toRemotePhotoTypeNaturalId(PhotoType source, RemotePhotoTypeNaturalId target)
PhotoTypeDao
toRemotePhotoTypeNaturalId
in interface PhotoTypeDao
PhotoTypeDao.toRemotePhotoTypeNaturalId(fr.ifremer.allegro.referential.PhotoType, fr.ifremer.allegro.referential.generic.vo.RemotePhotoTypeNaturalId)
public RemotePhotoTypeNaturalId toRemotePhotoTypeNaturalId(PhotoType entity)
PhotoTypeDao
RemotePhotoTypeNaturalId
.
toRemotePhotoTypeNaturalId
in interface PhotoTypeDao
PhotoTypeDao.toRemotePhotoTypeNaturalId(fr.ifremer.allegro.referential.PhotoType)
public void remotePhotoTypeNaturalIdToEntity(RemotePhotoTypeNaturalId source, PhotoType target, boolean copyIfNull)
PhotoTypeDao
RemotePhotoTypeNaturalId
to the specified entity.
remotePhotoTypeNaturalIdToEntity
in interface PhotoTypeDao
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.fr.ifremer.allegro.referential.PhotoTypeDao#remotePhotoTypeNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemotePhotoTypeNaturalId, fr.ifremer.allegro.referential.PhotoType)
public final void toClusterPhotoTypeCollection(java.util.Collection entities)
PhotoTypeDao
ClusterPhotoType
.
toClusterPhotoTypeCollection
in interface PhotoTypeDao
PhotoTypeDao.toClusterPhotoTypeCollection(java.util.Collection)
public final ClusterPhotoType[] toClusterPhotoTypeArray(java.util.Collection entities)
PhotoTypeDao
ClusterPhotoType
.
toClusterPhotoTypeArray
in interface PhotoTypeDao
PhotoTypeDao.toClusterPhotoTypeArray(java.util.Collection)
protected ClusterPhotoType toClusterPhotoType(java.lang.Object[] row)
PhotoTypeDaoImpl
class if you intend to use reporting queries.
PhotoTypeDao.toClusterPhotoType(fr.ifremer.allegro.referential.PhotoType)
public final void clusterPhotoTypeToEntityCollection(java.util.Collection instances)
PhotoTypeDao
ClusterPhotoType
to this
DAO's entity.
clusterPhotoTypeToEntityCollection
in interface PhotoTypeDao
PhotoTypeDao.clusterPhotoTypeToEntityCollection(java.util.Collection)
public void toClusterPhotoType(PhotoType source, ClusterPhotoType target)
PhotoTypeDao
toClusterPhotoType
in interface PhotoTypeDao
PhotoTypeDao.toClusterPhotoType(fr.ifremer.allegro.referential.PhotoType, fr.ifremer.allegro.referential.generic.cluster.ClusterPhotoType)
public ClusterPhotoType toClusterPhotoType(PhotoType entity)
PhotoTypeDao
ClusterPhotoType
.
toClusterPhotoType
in interface PhotoTypeDao
PhotoTypeDao.toClusterPhotoType(fr.ifremer.allegro.referential.PhotoType)
public void clusterPhotoTypeToEntity(ClusterPhotoType source, PhotoType target, boolean copyIfNull)
PhotoTypeDao
ClusterPhotoType
to the specified entity.
clusterPhotoTypeToEntity
in interface PhotoTypeDao
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.fr.ifremer.allegro.referential.PhotoTypeDao#clusterPhotoTypeToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterPhotoType, fr.ifremer.allegro.referential.PhotoType)
protected java.security.Principal getPrincipal()
principal
if one has been set,
otherwise returns null
.
public PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
PhotoTypeDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface PhotoTypeDao
transform
- the transformation flag.pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.PhotoTypeDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
PhotoTypeDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface PhotoTypeDao
pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.PhotoTypeDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
PhotoTypeDao
PhotoTypeDao.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.
search
in interface PhotoTypeDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
PhotoTypeDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
PhotoTypeDao
search
object.
search
in interface PhotoTypeDao
search
- the search object which provides the search parameters and pagination specification.
PhotoTypeDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |