| Method from org.hibernate.envers.entities.mapper.id.IdMapper Detail: |
public void addIdEqualsToQuery(Parameters parameters,
Object id,
String prefix,
boolean equals)
Adds query statements, which contains restrictions, which express the property that the id of the entity
with alias prefix, is equal to the given object. |
public void addIdsEqualToQuery(Parameters parameters,
String prefix1,
String prefix2)
Adds query statements, which contains restrictions, which express the property that the id of the entity
with alias prefix1, is equal to the id of the entity with alias prefix2 (the entity is the same). |
public void addIdsEqualToQuery(Parameters parameters,
String prefix1,
IdMapper mapper2,
String prefix2)
Adds query statements, which contains restrictions, which express the property that the id of the entity
with alias prefix1, is equal to the id of the entity with alias prefix2 mapped by the second mapper
(the second mapper must be for the same entity, but it can have, for example, prefixed properties). |
public void addNamedIdEqualsToQuery(Parameters parameters,
String prefix,
boolean equals)
Adds query statements, which contains named parameters, which express the property that the id of the entity
with alias prefix, is equal to the given object. It is the responsibility of the using method to read
parameter values from the id and specify them on the final query object. |
public void mapToEntityFromMap(Object obj,
Map data)
|
public Object mapToIdFromEntity(Object data)
|
public Object mapToIdFromMap(Map data)
|
public void mapToMapFromEntity(Map data,
Object obj)
|
public void mapToMapFromId(Map data,
Object obj)
|
public List mapToQueryParametersFromId(Object obj)
|
public IdMapper prefixMappedProperties(String prefix)
Creates a mapper with all mapped properties prefixed. A mapped property is a property which
is directly mapped to values (not composite). |