fr.ifremer.allegro.referential.gear
Interface GearAssociationDao

All Known Implementing Classes:
GearAssociationDaoBase, GearAssociationDaoImpl

public interface GearAssociationDao

See Also:
GearAssociation

Field Summary
static int TRANSFORM_CLUSTERGEARASSOCIATION
          This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.
static int TRANSFORM_NONE
          This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.
static int TRANSFORM_REMOTEGEARASSOCIATIONFULLVO
          This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.
static int TRANSFORM_REMOTEGEARASSOCIATIONNATURALID
          This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.
 
Method Summary
 GearAssociation clusterGearAssociationToEntity(ClusterGearAssociation clusterGearAssociation)
          Converts an instance of type ClusterGearAssociation to this DAO's entity.
 void clusterGearAssociationToEntity(ClusterGearAssociation source, GearAssociation target, boolean copyIfNull)
          Copies the fields of ClusterGearAssociation to the specified entity.
 void clusterGearAssociationToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterGearAssociation to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.gear.GearAssociation and adds from the passed in entities collection
 GearAssociation create(GearAssociation gearAssociation)
          Creates an instance of fr.ifremer.allegro.referential.gear.GearAssociation and adds it to the persistent store.
 GearAssociation create(Gear fromGear, Gear toGear)
           Creates a new fr.ifremer.allegro.referential.gear.GearAssociation 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 create(fr.ifremer.allegro.referential.gear.GearAssociation) with an additional flag called transform.
 java.lang.Object create(int transform, GearAssociation gearAssociation)
           Does the same thing as create(fr.ifremer.allegro.referential.gear.GearAssociation) with an additional flag called transform.
 java.lang.Object create(int transform, Gear fromGear, Gear toGear)
           Does the same thing as create(fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 java.lang.Object create(int transform, java.sql.Timestamp updateDate, Gear fromGear, Gear toGear)
           Does the same thing as create(java.sql.Timestamp,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 GearAssociation create(java.sql.Timestamp updateDate, Gear fromGear, Gear toGear)
           Creates a new fr.ifremer.allegro.referential.gear.GearAssociation instance from all attributes and properties and adds it to the persistent store.
 GearAssociation createFromClusterGearAssociation(ClusterGearAssociation clusterGearAssociation)
           
 java.util.Collection findGearAssociationByFromGear(Gear fromGear)
           
 java.util.Collection findGearAssociationByFromGear(int transform, Gear fromGear)
           Does the same thing as findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 java.util.Collection findGearAssociationByFromGear(int pageNumber, int pageSize, Gear fromGear)
           Does the same thing as findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findGearAssociationByFromGear(int transform, int pageNumber, int pageSize, Gear fromGear)
           Does the same thing as findGearAssociationByFromGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findGearAssociationByFromGear(int transform, java.lang.String queryString, Gear fromGear)
           Does the same thing as findGearAssociationByFromGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 java.util.Collection findGearAssociationByFromGear(int transform, java.lang.String queryString, int pageNumber, int pageSize, Gear fromGear)
           Does the same thing as findGearAssociationByFromGear(int, String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findGearAssociationByFromGear(java.lang.String queryString, Gear fromGear)
           Does the same thing as findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 java.util.Collection findGearAssociationByFromGear(java.lang.String queryString, int pageNumber, int pageSize, Gear fromGear)
           Does the same thing as findGearAssociationByFromGear(String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 GearAssociation findGearAssociationByIdentifiers(Gear toGear, Gear fromGear)
           
 java.lang.Object findGearAssociationByIdentifiers(int transform, Gear toGear, Gear fromGear)
           Does the same thing as findGearAssociationByIdentifiers(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 java.lang.Object findGearAssociationByIdentifiers(int transform, java.lang.String queryString, Gear toGear, Gear fromGear)
           Does the same thing as findGearAssociationByIdentifiers(int, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 GearAssociation findGearAssociationByIdentifiers(java.lang.String queryString, Gear toGear, Gear fromGear)
           Does the same thing as findGearAssociationByIdentifiers(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 GearAssociation findGearAssociationByNaturalId(Gear toGear, Gear fromGear)
           
 java.lang.Object findGearAssociationByNaturalId(int transform, Gear toGear, Gear fromGear)
           Does the same thing as findGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 java.lang.Object findGearAssociationByNaturalId(int transform, java.lang.String queryString, Gear toGear, Gear fromGear)
           Does the same thing as findGearAssociationByNaturalId(int, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 GearAssociation findGearAssociationByNaturalId(java.lang.String queryString, Gear toGear, Gear fromGear)
           Does the same thing as findGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 java.util.Collection findGearAssociationByToGear(Gear toGear)
           
 java.util.Collection findGearAssociationByToGear(int transform, Gear toGear)
           Does the same thing as findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 java.util.Collection findGearAssociationByToGear(int pageNumber, int pageSize, Gear toGear)
           Does the same thing as findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findGearAssociationByToGear(int transform, int pageNumber, int pageSize, Gear toGear)
           Does the same thing as findGearAssociationByToGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findGearAssociationByToGear(int transform, java.lang.String queryString, Gear toGear)
           Does the same thing as findGearAssociationByToGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 java.util.Collection findGearAssociationByToGear(int transform, java.lang.String queryString, int pageNumber, int pageSize, Gear toGear)
           Does the same thing as findGearAssociationByToGear(int, String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findGearAssociationByToGear(java.lang.String queryString, Gear toGear)
           Does the same thing as findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 java.util.Collection findGearAssociationByToGear(java.lang.String queryString, int pageNumber, int pageSize, Gear toGear)
           Does the same thing as findGearAssociationByToGear(String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociation()
           
 java.util.Collection getAllGearAssociation(int transform)
           Does the same thing as getAllGearAssociation() with an additional flag called transform.
 java.util.Collection getAllGearAssociation(int pageNumber, int pageSize)
           Does the same thing as getAllGearAssociation() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociation(int transform, int pageNumber, int pageSize)
           Does the same thing as getAllGearAssociation(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociation(int transform, java.lang.String queryString)
           Does the same thing as getAllGearAssociation(int) with an additional argument called queryString.
 java.util.Collection getAllGearAssociation(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllGearAssociation(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociation(java.lang.String queryString)
           Does the same thing as getAllGearAssociation() with an additional argument called queryString.
 java.util.Collection getAllGearAssociation(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllGearAssociation(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociationSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllGearAssociationSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociationSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllGearAssociationSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociationSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllGearAssociationSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociationSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as getAllGearAssociationSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllGearAssociationSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as getAllGearAssociationSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllGearAssociationSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllGearAssociationSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociationSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as getAllGearAssociationSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllGearAssociationSinceDateSynchro(java.sql.Timestamp updateDate)
           
 GearAssociation load(Gear fromGear, Gear toGear)
          Loads an instance of fr.ifremer.allegro.referential.gear.GearAssociation from the persistent store.
 java.lang.Object load(int transform, Gear fromGear, Gear toGear)
           Does the same thing as load(fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type GearAssociation.
 java.util.Collection loadAll(int transform)
           Does the same thing as loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as 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 loadAll(int) with an additional two arguments called pageNumber and pageSize.
 GearAssociation remoteGearAssociationFullVOToEntity(RemoteGearAssociationFullVO remoteGearAssociationFullVO)
          Converts an instance of type RemoteGearAssociationFullVO to this DAO's entity.
 void remoteGearAssociationFullVOToEntity(RemoteGearAssociationFullVO source, GearAssociation target, boolean copyIfNull)
          Copies the fields of RemoteGearAssociationFullVO to the specified entity.
 void remoteGearAssociationFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteGearAssociationFullVO to this DAO's entity.
 GearAssociation remoteGearAssociationNaturalIdToEntity(RemoteGearAssociationNaturalId remoteGearAssociationNaturalId)
          Converts an instance of type RemoteGearAssociationNaturalId to this DAO's entity.
 void remoteGearAssociationNaturalIdToEntity(RemoteGearAssociationNaturalId source, GearAssociation target, boolean copyIfNull)
          Copies the fields of RemoteGearAssociationNaturalId to the specified entity.
 void remoteGearAssociationNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteGearAssociationNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(GearAssociation gearAssociation)
          Removes the instance of fr.ifremer.allegro.referential.gear.GearAssociation from the persistent store.
 void remove(Gear fromGear, Gear toGear)
          Removes the instance of fr.ifremer.allegro.referential.gear.GearAssociation having the given identifiers 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 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.
 ClusterGearAssociation toClusterGearAssociation(GearAssociation entity)
          Converts this DAO's entity to an object of type ClusterGearAssociation.
 void toClusterGearAssociation(GearAssociation source, ClusterGearAssociation target)
          Copies the fields of the specified entity to the target value object.
 ClusterGearAssociation[] toClusterGearAssociationArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterGearAssociation.
 void toClusterGearAssociationCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterGearAssociation.
 RemoteGearAssociationFullVO toRemoteGearAssociationFullVO(GearAssociation entity)
          Converts this DAO's entity to an object of type RemoteGearAssociationFullVO.
 void toRemoteGearAssociationFullVO(GearAssociation source, RemoteGearAssociationFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteGearAssociationFullVO[] toRemoteGearAssociationFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteGearAssociationFullVO.
 void toRemoteGearAssociationFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteGearAssociationFullVO.
 RemoteGearAssociationNaturalId toRemoteGearAssociationNaturalId(GearAssociation entity)
          Converts this DAO's entity to an object of type RemoteGearAssociationNaturalId.
 void toRemoteGearAssociationNaturalId(GearAssociation source, RemoteGearAssociationNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteGearAssociationNaturalId[] toRemoteGearAssociationNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteGearAssociationNaturalId.
 void toRemoteGearAssociationNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteGearAssociationNaturalId.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(GearAssociation gearAssociation)
          Updates the gearAssociation instance in the persistent store.
 

Field Detail

TRANSFORM_NONE

static final int TRANSFORM_NONE
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.

This specific flag denotes no transformation will occur.

See Also:
Constant Field Values

TRANSFORM_REMOTEGEARASSOCIATIONFULLVO

static final int TRANSFORM_REMOTEGEARASSOCIATIONFULLVO
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.

This specific flag denotes entities must be transformed into objects of type RemoteGearAssociationFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTEGEARASSOCIATIONNATURALID

static final int TRANSFORM_REMOTEGEARASSOCIATIONNATURALID
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.

This specific flag denotes entities must be transformed into objects of type RemoteGearAssociationNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTERGEARASSOCIATION

static final int TRANSFORM_CLUSTERGEARASSOCIATION
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.

This specific flag denotes entities must be transformed into objects of type ClusterGearAssociation.

See Also:
Constant Field Values
Method Detail

toRemoteGearAssociationFullVO

void toRemoteGearAssociationFullVO(GearAssociation source,
                                   RemoteGearAssociationFullVO target)
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteGearAssociationFullVO(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toRemoteGearAssociationFullVO

RemoteGearAssociationFullVO toRemoteGearAssociationFullVO(GearAssociation entity)
Converts this DAO's entity to an object of type RemoteGearAssociationFullVO.


toRemoteGearAssociationFullVOCollection

void toRemoteGearAssociationFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteGearAssociationFullVO.


toRemoteGearAssociationFullVOArray

RemoteGearAssociationFullVO[] toRemoteGearAssociationFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteGearAssociationFullVO.


remoteGearAssociationFullVOToEntity

void remoteGearAssociationFullVOToEntity(RemoteGearAssociationFullVO source,
                                         GearAssociation target,
                                         boolean copyIfNull)
Copies the fields of RemoteGearAssociationFullVO to the specified entity.

Parameters:
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.

remoteGearAssociationFullVOToEntity

GearAssociation remoteGearAssociationFullVOToEntity(RemoteGearAssociationFullVO remoteGearAssociationFullVO)
Converts an instance of type RemoteGearAssociationFullVO to this DAO's entity.


remoteGearAssociationFullVOToEntityCollection

void remoteGearAssociationFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteGearAssociationFullVO to this DAO's entity.


toRemoteGearAssociationNaturalId

void toRemoteGearAssociationNaturalId(GearAssociation source,
                                      RemoteGearAssociationNaturalId target)
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteGearAssociationNaturalId(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toRemoteGearAssociationNaturalId

RemoteGearAssociationNaturalId toRemoteGearAssociationNaturalId(GearAssociation entity)
Converts this DAO's entity to an object of type RemoteGearAssociationNaturalId.


toRemoteGearAssociationNaturalIdCollection

void toRemoteGearAssociationNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteGearAssociationNaturalId.


toRemoteGearAssociationNaturalIdArray

RemoteGearAssociationNaturalId[] toRemoteGearAssociationNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteGearAssociationNaturalId.


remoteGearAssociationNaturalIdToEntity

void remoteGearAssociationNaturalIdToEntity(RemoteGearAssociationNaturalId source,
                                            GearAssociation target,
                                            boolean copyIfNull)
Copies the fields of RemoteGearAssociationNaturalId to the specified entity.

Parameters:
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.

remoteGearAssociationNaturalIdToEntity

GearAssociation remoteGearAssociationNaturalIdToEntity(RemoteGearAssociationNaturalId remoteGearAssociationNaturalId)
Converts an instance of type RemoteGearAssociationNaturalId to this DAO's entity.


remoteGearAssociationNaturalIdToEntityCollection

void remoteGearAssociationNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteGearAssociationNaturalId to this DAO's entity.


toClusterGearAssociation

void toClusterGearAssociation(GearAssociation source,
                              ClusterGearAssociation target)
Copies the fields of the specified entity to the target value object. This method is similar to toClusterGearAssociation(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toClusterGearAssociation

ClusterGearAssociation toClusterGearAssociation(GearAssociation entity)
Converts this DAO's entity to an object of type ClusterGearAssociation.


toClusterGearAssociationCollection

void toClusterGearAssociationCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterGearAssociation.


toClusterGearAssociationArray

ClusterGearAssociation[] toClusterGearAssociationArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterGearAssociation.


clusterGearAssociationToEntity

void clusterGearAssociationToEntity(ClusterGearAssociation source,
                                    GearAssociation target,
                                    boolean copyIfNull)
Copies the fields of ClusterGearAssociation to the specified entity.

Parameters:
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.

clusterGearAssociationToEntity

GearAssociation clusterGearAssociationToEntity(ClusterGearAssociation clusterGearAssociation)
Converts an instance of type ClusterGearAssociation to this DAO's entity.


clusterGearAssociationToEntityCollection

void clusterGearAssociationToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterGearAssociation to this DAO's entity.


load

GearAssociation load(Gear fromGear,
                     Gear toGear)
Loads an instance of fr.ifremer.allegro.referential.gear.GearAssociation from the persistent store.


load

java.lang.Object load(int transform,
                      Gear fromGear,
                      Gear toGear)

Does the same thing as load(fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear) 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.

Parameters:
fromGear - identifier of the entity to load
toGear - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.

loadAll

java.util.Collection loadAll()
Loads all entities of type GearAssociation.

Returns:
the loaded entities.

loadAll

java.util.Collection loadAll(int transform)

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

Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.

loadAll

java.util.Collection loadAll(int pageNumber,
                             int pageSize)

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

Parameters:
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.

loadAll

java.util.Collection loadAll(int transform,
                             int pageNumber,
                             int pageSize)

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

Parameters:
transform - the flag indicating what transformation to use.
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.

create

GearAssociation create(GearAssociation gearAssociation)
Creates an instance of fr.ifremer.allegro.referential.gear.GearAssociation and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        GearAssociation gearAssociation)

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

java.util.Collection create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.gear.GearAssociation and adds from the passed in entities collection

Parameters:
entities - the collection of fr.ifremer.allegro.referential.gear.GearAssociation instances to create.
Returns:
the created instances.

create

java.util.Collection create(int transform,
                            java.util.Collection entities)

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

GearAssociation create(java.sql.Timestamp updateDate,
                       Gear fromGear,
                       Gear toGear)

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


create

java.lang.Object create(int transform,
                        java.sql.Timestamp updateDate,
                        Gear fromGear,
                        Gear toGear)

Does the same thing as create(java.sql.Timestamp,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear) 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

GearAssociation create(Gear fromGear,
                       Gear toGear)

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


create

java.lang.Object create(int transform,
                        Gear fromGear,
                        Gear toGear)

Does the same thing as create(fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear) 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.


update

void update(GearAssociation gearAssociation)
Updates the gearAssociation instance in the persistent store.


update

void update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store.


remove

void remove(GearAssociation gearAssociation)
Removes the instance of fr.ifremer.allegro.referential.gear.GearAssociation from the persistent store.


remove

void remove(Gear fromGear,
            Gear toGear)
Removes the instance of fr.ifremer.allegro.referential.gear.GearAssociation having the given identifiers from the persistent store.


remove

void remove(java.util.Collection entities)
Removes all entities in the given entities collection.


getAllGearAssociation

java.util.Collection getAllGearAssociation()

getAllGearAssociation

java.util.Collection getAllGearAssociation(java.lang.String queryString)

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


getAllGearAssociation

java.util.Collection getAllGearAssociation(int pageNumber,
                                           int pageSize)

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


getAllGearAssociation

java.util.Collection getAllGearAssociation(java.lang.String queryString,
                                           int pageNumber,
                                           int pageSize)

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


getAllGearAssociation

java.util.Collection getAllGearAssociation(int transform)

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


getAllGearAssociation

java.util.Collection getAllGearAssociation(int transform,
                                           int pageNumber,
                                           int pageSize)

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


getAllGearAssociation

java.util.Collection getAllGearAssociation(int transform,
                                           java.lang.String queryString)

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


getAllGearAssociation

java.util.Collection getAllGearAssociation(int transform,
                                           java.lang.String queryString,
                                           int pageNumber,
                                           int pageSize)

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


findGearAssociationByToGear

java.util.Collection findGearAssociationByToGear(Gear toGear)

findGearAssociationByToGear

java.util.Collection findGearAssociationByToGear(java.lang.String queryString,
                                                 Gear toGear)

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


findGearAssociationByToGear

java.util.Collection findGearAssociationByToGear(int pageNumber,
                                                 int pageSize,
                                                 Gear toGear)

Does the same thing as findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear) 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.


findGearAssociationByToGear

java.util.Collection findGearAssociationByToGear(java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize,
                                                 Gear toGear)

Does the same thing as findGearAssociationByToGear(String, fr.ifremer.allegro.referential.gear.Gear) 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.


findGearAssociationByToGear

java.util.Collection findGearAssociationByToGear(int transform,
                                                 Gear toGear)

Does the same thing as findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear) 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.


findGearAssociationByToGear

java.util.Collection findGearAssociationByToGear(int transform,
                                                 int pageNumber,
                                                 int pageSize,
                                                 Gear toGear)

Does the same thing as findGearAssociationByToGear(int, fr.ifremer.allegro.referential.gear.Gear) 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.


findGearAssociationByToGear

java.util.Collection findGearAssociationByToGear(int transform,
                                                 java.lang.String queryString,
                                                 Gear toGear)

Does the same thing as findGearAssociationByToGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findGearAssociationByToGear(int, fr.ifremer.allegro.referential.gear.Gear toGear).


findGearAssociationByToGear

java.util.Collection findGearAssociationByToGear(int transform,
                                                 java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize,
                                                 Gear toGear)

Does the same thing as findGearAssociationByToGear(int, String, fr.ifremer.allegro.referential.gear.Gear) 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.


findGearAssociationByFromGear

java.util.Collection findGearAssociationByFromGear(Gear fromGear)

findGearAssociationByFromGear

java.util.Collection findGearAssociationByFromGear(java.lang.String queryString,
                                                   Gear fromGear)

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


findGearAssociationByFromGear

java.util.Collection findGearAssociationByFromGear(int pageNumber,
                                                   int pageSize,
                                                   Gear fromGear)

Does the same thing as findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear) 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.


findGearAssociationByFromGear

java.util.Collection findGearAssociationByFromGear(java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Gear fromGear)

Does the same thing as findGearAssociationByFromGear(String, fr.ifremer.allegro.referential.gear.Gear) 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.


findGearAssociationByFromGear

java.util.Collection findGearAssociationByFromGear(int transform,
                                                   Gear fromGear)

Does the same thing as findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear) 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.


findGearAssociationByFromGear

java.util.Collection findGearAssociationByFromGear(int transform,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Gear fromGear)

Does the same thing as findGearAssociationByFromGear(int, fr.ifremer.allegro.referential.gear.Gear) 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.


findGearAssociationByFromGear

java.util.Collection findGearAssociationByFromGear(int transform,
                                                   java.lang.String queryString,
                                                   Gear fromGear)

Does the same thing as findGearAssociationByFromGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findGearAssociationByFromGear(int, fr.ifremer.allegro.referential.gear.Gear fromGear).


findGearAssociationByFromGear

java.util.Collection findGearAssociationByFromGear(int transform,
                                                   java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Gear fromGear)

Does the same thing as findGearAssociationByFromGear(int, String, fr.ifremer.allegro.referential.gear.Gear) 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.


findGearAssociationByIdentifiers

GearAssociation findGearAssociationByIdentifiers(Gear toGear,
                                                 Gear fromGear)

findGearAssociationByIdentifiers

GearAssociation findGearAssociationByIdentifiers(java.lang.String queryString,
                                                 Gear toGear,
                                                 Gear fromGear)

Does the same thing as findGearAssociationByIdentifiers(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findGearAssociationByIdentifiers(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear).


findGearAssociationByIdentifiers

java.lang.Object findGearAssociationByIdentifiers(int transform,
                                                  Gear toGear,
                                                  Gear fromGear)

Does the same thing as findGearAssociationByIdentifiers(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) 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.


findGearAssociationByIdentifiers

java.lang.Object findGearAssociationByIdentifiers(int transform,
                                                  java.lang.String queryString,
                                                  Gear toGear,
                                                  Gear fromGear)

Does the same thing as findGearAssociationByIdentifiers(int, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findGearAssociationByIdentifiers(int, fr.ifremer.allegro.referential.gear.Gear toGear, fr.ifremer.allegro.referential.gear.Gear fromGear).


findGearAssociationByNaturalId

GearAssociation findGearAssociationByNaturalId(Gear toGear,
                                               Gear fromGear)

findGearAssociationByNaturalId

GearAssociation findGearAssociationByNaturalId(java.lang.String queryString,
                                               Gear toGear,
                                               Gear fromGear)

Does the same thing as findGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear).


findGearAssociationByNaturalId

java.lang.Object findGearAssociationByNaturalId(int transform,
                                                Gear toGear,
                                                Gear fromGear)

Does the same thing as findGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) 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.


findGearAssociationByNaturalId

java.lang.Object findGearAssociationByNaturalId(int transform,
                                                java.lang.String queryString,
                                                Gear toGear,
                                                Gear fromGear)

Does the same thing as findGearAssociationByNaturalId(int, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findGearAssociationByNaturalId(int, fr.ifremer.allegro.referential.gear.Gear toGear, fr.ifremer.allegro.referential.gear.Gear fromGear).


getAllGearAssociationSinceDateSynchro

java.util.Collection getAllGearAssociationSinceDateSynchro(java.sql.Timestamp updateDate)

getAllGearAssociationSinceDateSynchro

java.util.Collection getAllGearAssociationSinceDateSynchro(java.lang.String queryString,
                                                           java.sql.Timestamp updateDate)

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


getAllGearAssociationSinceDateSynchro

java.util.Collection getAllGearAssociationSinceDateSynchro(int pageNumber,
                                                           int pageSize,
                                                           java.sql.Timestamp updateDate)

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


getAllGearAssociationSinceDateSynchro

java.util.Collection getAllGearAssociationSinceDateSynchro(java.lang.String queryString,
                                                           int pageNumber,
                                                           int pageSize,
                                                           java.sql.Timestamp updateDate)

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


getAllGearAssociationSinceDateSynchro

java.util.Collection getAllGearAssociationSinceDateSynchro(int transform,
                                                           java.sql.Timestamp updateDate)

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


getAllGearAssociationSinceDateSynchro

java.util.Collection getAllGearAssociationSinceDateSynchro(int transform,
                                                           int pageNumber,
                                                           int pageSize,
                                                           java.sql.Timestamp updateDate)

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


getAllGearAssociationSinceDateSynchro

java.util.Collection getAllGearAssociationSinceDateSynchro(int transform,
                                                           java.lang.String queryString,
                                                           java.sql.Timestamp updateDate)

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


getAllGearAssociationSinceDateSynchro

java.util.Collection getAllGearAssociationSinceDateSynchro(int transform,
                                                           java.lang.String queryString,
                                                           int pageNumber,
                                                           int pageSize,
                                                           java.sql.Timestamp updateDate)

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


createFromClusterGearAssociation

GearAssociation createFromClusterGearAssociation(ClusterGearAssociation clusterGearAssociation)

search

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. These flags allow you to limit your data to a specified page number and size.

Parameters:
transform - the transformation flag.
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.

search

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. These flags allow you to limit your data to a specified page number and size.

Parameters:
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.

search

java.util.Set search(int transform,
                     Search search)
Does the same thing as 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.

Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.

search

java.util.Set search(Search search)
Performs a search using the parameters specified in the given search object.

Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.


Copyright © 2008-2010 IFREMER. All Rights Reserved.