|
||||||||||
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.pmfm.UnitDaoBase
public abstract class UnitDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.pmfm.Unit
.
Unit
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.pmfm.UnitDao |
---|
TRANSFORM_CLUSTERUNIT, TRANSFORM_NONE, TRANSFORM_REMOTEUNITFULLVO, TRANSFORM_REMOTEUNITNATURALID |
Constructor Summary | |
---|---|
UnitDaoBase()
|
Method Summary | |
---|---|
void |
clusterUnitToEntity(ClusterUnit source,
Unit target,
boolean copyIfNull)
Copies the fields of ClusterUnit to the specified entity. |
void |
clusterUnitToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterUnit to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.pmfm.Unit and adds from the passed in entities collection |
Unit |
create(java.util.Date creationDate,
java.lang.String name,
Status status,
java.lang.String symbol)
Creates a new fr.ifremer.allegro.referential.pmfm.Unit
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as UnitDao.create(fr.ifremer.allegro.referential.pmfm.Unit) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.util.Date creationDate,
java.lang.String name,
Status status,
java.lang.String symbol)
Does the same thing as UnitDao.create(java.util.Date,java.lang.String,fr.ifremer.allegro.referential.Status,java.lang.String) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String symbol,
java.lang.String name,
java.util.Date creationDate,
java.sql.Timestamp updateDate,
Status status)
Does the same thing as UnitDao.create(java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Unit unit)
Does the same thing as UnitDao.create(fr.ifremer.allegro.referential.pmfm.Unit) with an
additional flag called transform . |
Unit |
create(java.lang.String symbol,
java.lang.String name,
java.util.Date creationDate,
java.sql.Timestamp updateDate,
Status status)
Creates a new fr.ifremer.allegro.referential.pmfm.Unit
instance from all attributes and
properties and adds it to the persistent store. |
Unit |
create(Unit unit)
Creates an instance of fr.ifremer.allegro.referential.pmfm.Unit and adds it to the persistent store. |
Unit |
createFromClusterUnit(ClusterUnit clusterUnit)
|
Unit |
findUnitById(java.lang.Integer id)
|
java.lang.Object |
findUnitById(int transform,
java.lang.Integer id)
Does the same thing as UnitDao.findUnitById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findUnitById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as UnitDao.findUnitById(int, java.lang.Integer) with an
additional argument called queryString . |
Unit |
findUnitById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as UnitDao.findUnitById(java.lang.Integer) with an
additional argument called queryString . |
Unit |
findUnitByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findUnitByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as UnitDao.findUnitByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findUnitByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as UnitDao.findUnitByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
Unit |
findUnitByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as UnitDao.findUnitByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findUnitByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as UnitDao.findUnitByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findUnitByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as UnitDao.findUnitByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findUnitByStatus(int transform,
Status status)
Does the same thing as UnitDao.findUnitByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findUnitByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as UnitDao.findUnitByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findUnitByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as UnitDao.findUnitByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findUnitByStatus(Status status)
|
java.util.Collection |
findUnitByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as UnitDao.findUnitByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findUnitByStatus(java.lang.String queryString,
Status status)
Does the same thing as UnitDao.findUnitByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
ClusterUnit[] |
getAllClusterUnitSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllUnit()
|
java.util.Collection |
getAllUnit(int transform)
Does the same thing as UnitDao.getAllUnit() with an
additional flag called transform . |
java.util.Collection |
getAllUnit(int pageNumber,
int pageSize)
Does the same thing as UnitDao.getAllUnit() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUnit(int transform,
int pageNumber,
int pageSize)
Does the same thing as UnitDao.getAllUnit(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUnit(int transform,
java.lang.String queryString)
Does the same thing as UnitDao.getAllUnit(int) with an
additional argument called queryString . |
java.util.Collection |
getAllUnit(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as UnitDao.getAllUnit(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUnit(java.lang.String queryString)
Does the same thing as UnitDao.getAllUnit() with an
additional argument called queryString . |
java.util.Collection |
getAllUnit(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as UnitDao.getAllUnit(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUnitSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as UnitDao.getAllUnitSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUnitSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as UnitDao.getAllUnitSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUnitSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as UnitDao.getAllUnitSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUnitSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as UnitDao.getAllUnitSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllUnitSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as UnitDao.getAllUnitSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllUnitSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as UnitDao.getAllUnitSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllUnitSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as UnitDao.getAllUnitSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllUnitSinceDateSynchro(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 Unit |
handleCreateFromClusterUnit(ClusterUnit clusterUnit)
Performs the core logic for createFromClusterUnit(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterUnit) |
protected abstract ClusterUnit[] |
handleGetAllClusterUnitSinceDateSynchro(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 getAllClusterUnitSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
Unit |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.pmfm.Unit from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as UnitDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type Unit . |
java.util.Collection |
loadAll(int transform)
Does the same thing as UnitDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as UnitDao.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 UnitDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteUnitFullVOToEntity(RemoteUnitFullVO source,
Unit target,
boolean copyIfNull)
Copies the fields of RemoteUnitFullVO to the specified entity. |
void |
remoteUnitFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteUnitFullVO to this
DAO's entity. |
void |
remoteUnitNaturalIdToEntity(RemoteUnitNaturalId source,
Unit target,
boolean copyIfNull)
Copies the fields of RemoteUnitNaturalId to the specified entity. |
void |
remoteUnitNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteUnitNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.referential.pmfm.Unit having the given identifier from the persistent store. |
void |
remove(Unit unit)
Removes the instance of fr.ifremer.allegro.referential.pmfm.Unit 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 UnitDao.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 ClusterUnit |
toClusterUnit(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterUnit |
toClusterUnit(Unit entity)
Converts this DAO's entity to an object of type ClusterUnit . |
void |
toClusterUnit(Unit source,
ClusterUnit target)
Copies the fields of the specified entity to the target value object. |
ClusterUnit[] |
toClusterUnitArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterUnit . |
void |
toClusterUnitCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterUnit . |
protected Unit |
toEntity(java.lang.Object[] row)
|
protected RemoteUnitFullVO |
toRemoteUnitFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteUnitFullVO |
toRemoteUnitFullVO(Unit entity)
Converts this DAO's entity to an object of type RemoteUnitFullVO . |
void |
toRemoteUnitFullVO(Unit source,
RemoteUnitFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteUnitFullVO[] |
toRemoteUnitFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteUnitFullVO . |
void |
toRemoteUnitFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteUnitFullVO . |
protected RemoteUnitNaturalId |
toRemoteUnitNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteUnitNaturalId |
toRemoteUnitNaturalId(Unit entity)
Converts this DAO's entity to an object of type RemoteUnitNaturalId . |
void |
toRemoteUnitNaturalId(Unit source,
RemoteUnitNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteUnitNaturalId[] |
toRemoteUnitNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteUnitNaturalId . |
void |
toRemoteUnitNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteUnitNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.pmfm.Unit)
method. |
protected java.lang.Object |
transformEntity(int transform,
Unit entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.pmfm.UnitDao , please note
that the UnitDao.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(Unit unit)
Updates the unit instance in the persistent store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.referential.pmfm.UnitDao |
---|
clusterUnitToEntity, remoteUnitFullVOToEntity, remoteUnitNaturalIdToEntity |
Constructor Detail |
---|
public UnitDaoBase()
Method Detail |
---|
public void setStatusDao(StatusDao statusDao)
statusDao
.
protected StatusDao getStatusDao()
statusDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
UnitDao
Does the same thing as UnitDao.load(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined in this class then the result WILL BE passed through an operation which can
optionally transform the entity (into a value object for example). By default, transformation does
not occur.
load
in interface UnitDao
id
- identifier of the entity to load
UnitDao.load(int, java.lang.Integer)
public Unit load(java.lang.Integer id)
UnitDao
load
in interface UnitDao
UnitDao.load(java.lang.Integer)
public java.util.Collection loadAll()
UnitDao
Unit
.
loadAll
in interface UnitDao
UnitDao.loadAll()
public java.util.Collection loadAll(int transform)
UnitDao
Does the same thing as UnitDao.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 UnitDao
transform
- the flag indicating what transformation to use.
UnitDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
UnitDao
Does the same thing as UnitDao.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 UnitDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
UnitDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
UnitDao
Does the same thing as UnitDao.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 UnitDao
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.
UnitDao.loadAll(int, int, int)
public Unit create(Unit unit)
UnitDao
create
in interface UnitDao
UnitDao.create(fr.ifremer.allegro.referential.pmfm.Unit)
public java.lang.Object create(int transform, Unit unit)
UnitDao
Does the same thing as UnitDao.create(fr.ifremer.allegro.referential.pmfm.Unit)
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 UnitDao
UnitDao.create(int transform, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection create(java.util.Collection entities)
UnitDao
entities
collection
create
in interface UnitDao
entities
- the collection of fr.ifremer.allegro.referential.pmfm.Unit
instances to create.
UnitDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
UnitDao
Does the same thing as UnitDao.create(fr.ifremer.allegro.referential.pmfm.Unit)
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 UnitDao
UnitDao.create(int, java.util.Collection)
public Unit create(java.lang.String symbol, java.lang.String name, java.util.Date creationDate, java.sql.Timestamp updateDate, Status status)
UnitDao
Creates a new fr.ifremer.allegro.referential.pmfm.Unit
instance from all attributes and
properties and adds it to the persistent store.
create
in interface UnitDao
UnitDao.create(java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String symbol, java.lang.String name, java.util.Date creationDate, java.sql.Timestamp updateDate, Status status)
UnitDao
Does the same thing as UnitDao.create(java.lang.String,java.lang.String,java.util.Date,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 UnitDao
UnitDao.create(int, java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)
public Unit create(java.util.Date creationDate, java.lang.String name, Status status, java.lang.String symbol)
UnitDao
Creates a new fr.ifremer.allegro.referential.pmfm.Unit
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface UnitDao
UnitDao.create(java.util.Date,java.lang.String,fr.ifremer.allegro.referential.Status,java.lang.String)
public java.lang.Object create(int transform, java.util.Date creationDate, java.lang.String name, Status status, java.lang.String symbol)
UnitDao
Does the same thing as UnitDao.create(java.util.Date,java.lang.String,fr.ifremer.allegro.referential.Status,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.
create
in interface UnitDao
UnitDao.create(int, java.util.Date,java.lang.String,fr.ifremer.allegro.referential.Status,java.lang.String)
public void update(Unit unit)
UnitDao
unit
instance in the persistent store.
update
in interface UnitDao
UnitDao.update(fr.ifremer.allegro.referential.pmfm.Unit)
public void update(java.util.Collection entities)
UnitDao
entities
collection in the persistent store.
update
in interface UnitDao
UnitDao.update(java.util.Collection)
public void remove(Unit unit)
UnitDao
remove
in interface UnitDao
UnitDao.remove(fr.ifremer.allegro.referential.pmfm.Unit)
public void remove(java.lang.Integer id)
UnitDao
identifier
from the persistent store.
remove
in interface UnitDao
UnitDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
UnitDao
entities collection.
- Specified by:
remove
in interface UnitDao
- See Also:
UnitDao.remove(java.util.Collection)
public java.util.Collection getAllUnit()
getAllUnit
in interface UnitDao
UnitDao.getAllUnit()
public java.util.Collection getAllUnit(int transform)
UnitDao
Does the same thing as UnitDao.getAllUnit()
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.
getAllUnit
in interface UnitDao
UnitDao.getAllUnit(int)
public java.util.Collection getAllUnit(java.lang.String queryString)
UnitDao
Does the same thing as UnitDao.getAllUnit()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitDao.getAllUnit()
.
getAllUnit
in interface UnitDao
UnitDao.getAllUnit(java.lang.String)
public java.util.Collection getAllUnit(int pageNumber, int pageSize)
UnitDao
Does the same thing as UnitDao.getAllUnit()
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.
getAllUnit
in interface UnitDao
UnitDao.getAllUnit(int, int)
public java.util.Collection getAllUnit(java.lang.String queryString, int pageNumber, int pageSize)
UnitDao
Does the same thing as UnitDao.getAllUnit(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.
getAllUnit
in interface UnitDao
UnitDao.getAllUnit(String, int, int)
public java.util.Collection getAllUnit(int transform, java.lang.String queryString)
UnitDao
Does the same thing as UnitDao.getAllUnit(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitDao.getAllUnit(int)
.
getAllUnit
in interface UnitDao
UnitDao.getAllUnit(int, String)
public java.util.Collection getAllUnit(int transform, int pageNumber, int pageSize)
UnitDao
Does the same thing as UnitDao.getAllUnit(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.
getAllUnit
in interface UnitDao
UnitDao.getAllUnit(int, int, int)
public java.util.Collection getAllUnit(int transform, java.lang.String queryString, int pageNumber, int pageSize)
UnitDao
Does the same thing as UnitDao.getAllUnit(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.
getAllUnit
in interface UnitDao
UnitDao.getAllUnit(int, java.lang.String, int, int)
public Unit findUnitById(java.lang.Integer id)
findUnitById
in interface UnitDao
UnitDao.findUnitById(java.lang.Integer)
public java.lang.Object findUnitById(int transform, java.lang.Integer id)
UnitDao
Does the same thing as UnitDao.findUnitById(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.
findUnitById
in interface UnitDao
UnitDao.findUnitById(int, java.lang.Integer)
public Unit findUnitById(java.lang.String queryString, java.lang.Integer id)
UnitDao
Does the same thing as UnitDao.findUnitById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitDao.findUnitById(java.lang.Integer)
.
findUnitById
in interface UnitDao
UnitDao.findUnitById(java.lang.String, java.lang.Integer)
public java.lang.Object findUnitById(int transform, java.lang.String queryString, java.lang.Integer id)
UnitDao
Does the same thing as UnitDao.findUnitById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitDao.findUnitById(int, java.lang.Integer id)
.
findUnitById
in interface UnitDao
UnitDao.findUnitById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findUnitByStatus(Status status)
findUnitByStatus
in interface UnitDao
UnitDao.findUnitByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findUnitByStatus(int transform, Status status)
UnitDao
Does the same thing as UnitDao.findUnitByStatus(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.
findUnitByStatus
in interface UnitDao
UnitDao.findUnitByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findUnitByStatus(java.lang.String queryString, Status status)
UnitDao
Does the same thing as UnitDao.findUnitByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitDao.findUnitByStatus(fr.ifremer.allegro.referential.Status)
.
findUnitByStatus
in interface UnitDao
UnitDao.findUnitByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findUnitByStatus(int pageNumber, int pageSize, Status status)
UnitDao
Does the same thing as UnitDao.findUnitByStatus(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.
findUnitByStatus
in interface UnitDao
UnitDao.findUnitByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findUnitByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
UnitDao
Does the same thing as UnitDao.findUnitByStatus(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.
findUnitByStatus
in interface UnitDao
UnitDao.findUnitByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findUnitByStatus(int transform, java.lang.String queryString, Status status)
UnitDao
Does the same thing as UnitDao.findUnitByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitDao.findUnitByStatus(int, fr.ifremer.allegro.referential.Status status)
.
findUnitByStatus
in interface UnitDao
UnitDao.findUnitByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findUnitByStatus(int transform, int pageNumber, int pageSize, Status status)
UnitDao
Does the same thing as UnitDao.findUnitByStatus(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.
findUnitByStatus
in interface UnitDao
UnitDao.findUnitByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findUnitByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
UnitDao
Does the same thing as UnitDao.findUnitByStatus(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.
findUnitByStatus
in interface UnitDao
UnitDao.findUnitByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public Unit findUnitByNaturalId(java.lang.Integer id)
findUnitByNaturalId
in interface UnitDao
UnitDao.findUnitByNaturalId(java.lang.Integer)
public java.lang.Object findUnitByNaturalId(int transform, java.lang.Integer id)
UnitDao
Does the same thing as UnitDao.findUnitByNaturalId(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.
findUnitByNaturalId
in interface UnitDao
UnitDao.findUnitByNaturalId(int, java.lang.Integer)
public Unit findUnitByNaturalId(java.lang.String queryString, java.lang.Integer id)
UnitDao
Does the same thing as UnitDao.findUnitByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitDao.findUnitByNaturalId(java.lang.Integer)
.
findUnitByNaturalId
in interface UnitDao
UnitDao.findUnitByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findUnitByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
UnitDao
Does the same thing as UnitDao.findUnitByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitDao.findUnitByNaturalId(int, java.lang.Integer id)
.
findUnitByNaturalId
in interface UnitDao
UnitDao.findUnitByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllUnitSinceDateSynchro(java.sql.Timestamp updateDate)
getAllUnitSinceDateSynchro
in interface UnitDao
UnitDao.getAllUnitSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllUnitSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
UnitDao
Does the same thing as UnitDao.getAllUnitSinceDateSynchro(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.
getAllUnitSinceDateSynchro
in interface UnitDao
UnitDao.getAllUnitSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllUnitSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
UnitDao
Does the same thing as UnitDao.getAllUnitSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitDao.getAllUnitSinceDateSynchro(java.sql.Timestamp)
.
getAllUnitSinceDateSynchro
in interface UnitDao
UnitDao.getAllUnitSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllUnitSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
UnitDao
Does the same thing as UnitDao.getAllUnitSinceDateSynchro(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.
getAllUnitSinceDateSynchro
in interface UnitDao
UnitDao.getAllUnitSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllUnitSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
UnitDao
Does the same thing as UnitDao.getAllUnitSinceDateSynchro(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.
getAllUnitSinceDateSynchro
in interface UnitDao
UnitDao.getAllUnitSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllUnitSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
UnitDao
Does the same thing as UnitDao.getAllUnitSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in UnitDao.getAllUnitSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllUnitSinceDateSynchro
in interface UnitDao
UnitDao.getAllUnitSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllUnitSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
UnitDao
Does the same thing as UnitDao.getAllUnitSinceDateSynchro(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.
getAllUnitSinceDateSynchro
in interface UnitDao
UnitDao.getAllUnitSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllUnitSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
UnitDao
Does the same thing as UnitDao.getAllUnitSinceDateSynchro(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.
getAllUnitSinceDateSynchro
in interface UnitDao
UnitDao.getAllUnitSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public Unit createFromClusterUnit(ClusterUnit clusterUnit)
createFromClusterUnit
in interface UnitDao
UnitDao.createFromClusterUnit(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterUnit)
protected abstract Unit handleCreateFromClusterUnit(ClusterUnit clusterUnit) throws java.lang.Exception
createFromClusterUnit(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterUnit)
java.lang.Exception
public ClusterUnit[] getAllClusterUnitSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterUnitSinceDateSynchro
in interface UnitDao
UnitDao.getAllClusterUnitSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterUnit[] handleGetAllClusterUnitSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterUnitSinceDateSynchro(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, Unit entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.pmfm.UnitDao
, please note
that the UnitDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
Unit
- UnitDao.TRANSFORM_NONE
RemoteUnitFullVO
- TRANSFORM_REMOTEUNITFULLVO
RemoteUnitNaturalId
- TRANSFORM_REMOTEUNITNATURALID
ClusterUnit
- TRANSFORM_CLUSTERUNIT
UnitDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in UnitDao
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.pmfm.Unit)
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.pmfm.UnitDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.pmfm.Unit)
protected Unit toEntity(java.lang.Object[] row)
public final void toRemoteUnitFullVOCollection(java.util.Collection entities)
UnitDao
RemoteUnitFullVO
.
toRemoteUnitFullVOCollection
in interface UnitDao
UnitDao.toRemoteUnitFullVOCollection(java.util.Collection)
public final RemoteUnitFullVO[] toRemoteUnitFullVOArray(java.util.Collection entities)
UnitDao
RemoteUnitFullVO
.
toRemoteUnitFullVOArray
in interface UnitDao
UnitDao.toRemoteUnitFullVOArray(java.util.Collection)
protected RemoteUnitFullVO toRemoteUnitFullVO(java.lang.Object[] row)
UnitDaoImpl
class if you intend to use reporting queries.
UnitDao.toRemoteUnitFullVO(fr.ifremer.allegro.referential.pmfm.Unit)
public final void remoteUnitFullVOToEntityCollection(java.util.Collection instances)
UnitDao
RemoteUnitFullVO
to this
DAO's entity.
remoteUnitFullVOToEntityCollection
in interface UnitDao
UnitDao.remoteUnitFullVOToEntityCollection(java.util.Collection)
public void toRemoteUnitFullVO(Unit source, RemoteUnitFullVO target)
UnitDao
toRemoteUnitFullVO
in interface UnitDao
UnitDao.toRemoteUnitFullVO(fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO)
public RemoteUnitFullVO toRemoteUnitFullVO(Unit entity)
UnitDao
RemoteUnitFullVO
.
toRemoteUnitFullVO
in interface UnitDao
UnitDao.toRemoteUnitFullVO(fr.ifremer.allegro.referential.pmfm.Unit)
public void remoteUnitFullVOToEntity(RemoteUnitFullVO source, Unit target, boolean copyIfNull)
UnitDao
RemoteUnitFullVO
to the specified entity.
remoteUnitFullVOToEntity
in interface UnitDao
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.pmfm.UnitDao#remoteUnitFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO, fr.ifremer.allegro.referential.pmfm.Unit)
public final void toRemoteUnitNaturalIdCollection(java.util.Collection entities)
UnitDao
RemoteUnitNaturalId
.
toRemoteUnitNaturalIdCollection
in interface UnitDao
UnitDao.toRemoteUnitNaturalIdCollection(java.util.Collection)
public final RemoteUnitNaturalId[] toRemoteUnitNaturalIdArray(java.util.Collection entities)
UnitDao
RemoteUnitNaturalId
.
toRemoteUnitNaturalIdArray
in interface UnitDao
UnitDao.toRemoteUnitNaturalIdArray(java.util.Collection)
protected RemoteUnitNaturalId toRemoteUnitNaturalId(java.lang.Object[] row)
UnitDaoImpl
class if you intend to use reporting queries.
UnitDao.toRemoteUnitNaturalId(fr.ifremer.allegro.referential.pmfm.Unit)
public final void remoteUnitNaturalIdToEntityCollection(java.util.Collection instances)
UnitDao
RemoteUnitNaturalId
to this
DAO's entity.
remoteUnitNaturalIdToEntityCollection
in interface UnitDao
UnitDao.remoteUnitNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteUnitNaturalId(Unit source, RemoteUnitNaturalId target)
UnitDao
toRemoteUnitNaturalId
in interface UnitDao
UnitDao.toRemoteUnitNaturalId(fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitNaturalId)
public RemoteUnitNaturalId toRemoteUnitNaturalId(Unit entity)
UnitDao
RemoteUnitNaturalId
.
toRemoteUnitNaturalId
in interface UnitDao
UnitDao.toRemoteUnitNaturalId(fr.ifremer.allegro.referential.pmfm.Unit)
public void remoteUnitNaturalIdToEntity(RemoteUnitNaturalId source, Unit target, boolean copyIfNull)
UnitDao
RemoteUnitNaturalId
to the specified entity.
remoteUnitNaturalIdToEntity
in interface UnitDao
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.pmfm.UnitDao#remoteUnitNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitNaturalId, fr.ifremer.allegro.referential.pmfm.Unit)
public final void toClusterUnitCollection(java.util.Collection entities)
UnitDao
ClusterUnit
.
toClusterUnitCollection
in interface UnitDao
UnitDao.toClusterUnitCollection(java.util.Collection)
public final ClusterUnit[] toClusterUnitArray(java.util.Collection entities)
UnitDao
ClusterUnit
.
toClusterUnitArray
in interface UnitDao
UnitDao.toClusterUnitArray(java.util.Collection)
protected ClusterUnit toClusterUnit(java.lang.Object[] row)
UnitDaoImpl
class if you intend to use reporting queries.
UnitDao.toClusterUnit(fr.ifremer.allegro.referential.pmfm.Unit)
public final void clusterUnitToEntityCollection(java.util.Collection instances)
UnitDao
ClusterUnit
to this
DAO's entity.
clusterUnitToEntityCollection
in interface UnitDao
UnitDao.clusterUnitToEntityCollection(java.util.Collection)
public void toClusterUnit(Unit source, ClusterUnit target)
UnitDao
toClusterUnit
in interface UnitDao
UnitDao.toClusterUnit(fr.ifremer.allegro.referential.pmfm.Unit, fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterUnit)
public ClusterUnit toClusterUnit(Unit entity)
UnitDao
ClusterUnit
.
toClusterUnit
in interface UnitDao
UnitDao.toClusterUnit(fr.ifremer.allegro.referential.pmfm.Unit)
public void clusterUnitToEntity(ClusterUnit source, Unit target, boolean copyIfNull)
UnitDao
ClusterUnit
to the specified entity.
clusterUnitToEntity
in interface UnitDao
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.pmfm.UnitDao#clusterUnitToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterUnit, fr.ifremer.allegro.referential.pmfm.Unit)
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)
UnitDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface UnitDao
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.UnitDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
UnitDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface UnitDao
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.UnitDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
UnitDao
UnitDao.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 UnitDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
UnitDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
UnitDao
search
object.
search
in interface UnitDao
search
- the search object which provides the search parameters and pagination specification.
UnitDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |