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