public class DateValueJpaMapper extends AbstractJpaMapper<DateValue>
BATCH_SIZE| Constructor and Description |
|---|
DateValueJpaMapper(Database db) |
| Modifier and Type | Method and Description |
|---|---|
DateValue |
create() |
void |
create(DateValue entity)
This method first saves the objects that are being refered to by entity,
then the entity itself and
finally the objects that refer to this object
|
String |
createFindSqlInclRules(QueryRule[] rules) |
List<DateValue> |
createList(int size)
Return EMPTY list of given allocated size
|
void |
destroy(DateValue dateValue) |
void |
edit(DateValue dateValue) |
int |
executeAdd(List<? extends DateValue> entities) |
int |
executeRemove(List<? extends DateValue> entities) |
int |
executeUpdate(List<? extends DateValue> entities) |
FieldType |
getFieldType(String fieldName) |
String |
getTableFieldName(String fieldName) |
void |
prepareFileAttachements(List<DateValue> entities,
File baseDir) |
void |
resolveForeignKeys(List<DateValue> entities) |
boolean |
saveFileAttachements(List<DateValue> entities,
File baseDir) |
count, find, findById, getEntityClass, getEntityManager, removeMrefs, storeMrefsadd, add, getDatabase, remove, remove, update, updatepublic DateValueJpaMapper(Database db)
public String createFindSqlInclRules(QueryRule[] rules) throws DatabaseException
createFindSqlInclRules in interface Mapper<DateValue>createFindSqlInclRules in class AbstractJpaMapper<DateValue>DatabaseExceptionpublic void create(DateValue entity) throws DatabaseException
DatabaseExceptionpublic void destroy(DateValue dateValue) throws DatabaseException
DatabaseExceptionpublic void edit(DateValue dateValue) throws DatabaseException
DatabaseExceptionpublic int executeAdd(List<? extends DateValue> entities) throws DatabaseException
executeAdd in interface Mapper<DateValue>executeAdd in class AbstractMapper<DateValue>DatabaseExceptionpublic int executeUpdate(List<? extends DateValue> entities) throws DatabaseException
executeUpdate in interface Mapper<DateValue>executeUpdate in class AbstractMapper<DateValue>DatabaseExceptionpublic int executeRemove(List<? extends DateValue> entities) throws DatabaseException
executeRemove in interface Mapper<DateValue>executeRemove in class AbstractMapper<DateValue>DatabaseExceptionpublic String getTableFieldName(String fieldName)
getTableFieldName in interface Mapper<DateValue>getTableFieldName in class AbstractJpaMapper<DateValue>public List<DateValue> createList(int size)
createList in interface Mapper<DateValue>createList in class AbstractMapper<DateValue>i - initial capacity of returned EMPTY listpublic DateValue create()
public void resolveForeignKeys(List<DateValue> entities) throws DatabaseException, ParseException
resolveForeignKeys in interface Mapper<DateValue>resolveForeignKeys in class AbstractJpaMapper<DateValue>DatabaseExceptionParseExceptionpublic FieldType getFieldType(String fieldName)
getFieldType in interface Mapper<DateValue>getFieldType in class AbstractJpaMapper<DateValue>public void prepareFileAttachements(List<DateValue> entities, File baseDir) throws IOException
prepareFileAttachements in class AbstractMapper<DateValue>IOExceptionpublic boolean saveFileAttachements(List<DateValue> entities, File baseDir) throws IOException
saveFileAttachements in class AbstractMapper<DateValue>IOExceptionCopyright © 2013. All Rights Reserved.