public class ProbeSetJpaMapper extends AbstractJpaMapper<ProbeSet>
BATCH_SIZE| Constructor and Description |
|---|
ProbeSetJpaMapper(Database db) |
| Modifier and Type | Method and Description |
|---|---|
ProbeSet |
create() |
void |
create(ProbeSet 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<ProbeSet> |
createList(int size)
Return EMPTY list of given allocated size
|
void |
destroy(ProbeSet probeSet) |
void |
edit(ProbeSet probeSet) |
int |
executeAdd(List<? extends ProbeSet> entities) |
int |
executeRemove(List<? extends ProbeSet> entities) |
int |
executeUpdate(List<? extends ProbeSet> entities) |
FieldType |
getFieldType(String fieldName) |
String |
getTableFieldName(String fieldName) |
void |
prepareFileAttachements(List<ProbeSet> entities,
File baseDir) |
void |
resolveForeignKeys(List<ProbeSet> entities) |
boolean |
saveFileAttachements(List<ProbeSet> entities,
File baseDir) |
count, find, findById, getEntityClass, getEntityManager, removeMrefs, storeMrefsadd, add, getDatabase, remove, remove, update, updatepublic ProbeSetJpaMapper(Database db)
public String createFindSqlInclRules(QueryRule[] rules) throws DatabaseException
createFindSqlInclRules in interface Mapper<ProbeSet>createFindSqlInclRules in class AbstractJpaMapper<ProbeSet>DatabaseExceptionpublic void create(ProbeSet entity) throws DatabaseException
DatabaseExceptionpublic void destroy(ProbeSet probeSet) throws DatabaseException
DatabaseExceptionpublic void edit(ProbeSet probeSet) throws DatabaseException
DatabaseExceptionpublic int executeAdd(List<? extends ProbeSet> entities) throws DatabaseException
executeAdd in interface Mapper<ProbeSet>executeAdd in class AbstractMapper<ProbeSet>DatabaseExceptionpublic int executeUpdate(List<? extends ProbeSet> entities) throws DatabaseException
executeUpdate in interface Mapper<ProbeSet>executeUpdate in class AbstractMapper<ProbeSet>DatabaseExceptionpublic int executeRemove(List<? extends ProbeSet> entities) throws DatabaseException
executeRemove in interface Mapper<ProbeSet>executeRemove in class AbstractMapper<ProbeSet>DatabaseExceptionpublic String getTableFieldName(String fieldName)
getTableFieldName in interface Mapper<ProbeSet>getTableFieldName in class AbstractJpaMapper<ProbeSet>public List<ProbeSet> createList(int size)
createList in interface Mapper<ProbeSet>createList in class AbstractMapper<ProbeSet>i - initial capacity of returned EMPTY listpublic ProbeSet create()
public void resolveForeignKeys(List<ProbeSet> entities) throws DatabaseException, ParseException
resolveForeignKeys in interface Mapper<ProbeSet>resolveForeignKeys in class AbstractJpaMapper<ProbeSet>DatabaseExceptionParseExceptionpublic FieldType getFieldType(String fieldName)
getFieldType in interface Mapper<ProbeSet>getFieldType in class AbstractJpaMapper<ProbeSet>public void prepareFileAttachements(List<ProbeSet> entities, File baseDir) throws IOException
prepareFileAttachements in class AbstractMapper<ProbeSet>IOExceptionpublic boolean saveFileAttachements(List<ProbeSet> entities, File baseDir) throws IOException
saveFileAttachements in class AbstractMapper<ProbeSet>IOExceptionCopyright © 2013. All Rights Reserved.