@PermitAll public class JpaModelInstanceMigrationDao extends com.whitestein.lsps.common.jpa.AbstractJpaBasicDao<ModelUpdate,java.lang.Long> implements ModelInstanceMigrationDao
NAME| Constructor and Description |
|---|
JpaModelInstanceMigrationDao()
Creates new instance.
|
JpaModelInstanceMigrationDao(javax.persistence.EntityManager em)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ModelUpdate> |
findByMigrationId(long migrationId)
Returns a list of all model instance migrations ordered by the migration
date.
|
java.util.List<ModelUpdate> |
findByModelInstanceId(long modelInstanceId)
Returns a list of all model instance migrations ordered by the migration
date.
|
ModelUpdate |
findCurrentByModelInstanceId(long modelInstanceId)
Returns the current migration for the specified model instance id.
|
protected javax.persistence.EntityManager |
getEntityManager() |
clear, contains, findById, findById, findByIds, flush, getColName, getEntityClass, getEntityName, getReferenceById, merge, persist, refresh, refresh, remove, setEntityClass, setLockModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic JpaModelInstanceMigrationDao()
public JpaModelInstanceMigrationDao(javax.persistence.EntityManager em)
em - protected javax.persistence.EntityManager getEntityManager()
getEntityManager in class com.whitestein.lsps.common.jpa.AbstractJpaBasicDao<ModelUpdate,java.lang.Long>public java.util.List<ModelUpdate> findByModelInstanceId(long modelInstanceId)
ModelInstanceMigrationDaofindByModelInstanceId in interface ModelInstanceMigrationDaopublic java.util.List<ModelUpdate> findByMigrationId(long migrationId)
ModelInstanceMigrationDaofindByMigrationId in interface ModelInstanceMigrationDaopublic ModelUpdate findCurrentByModelInstanceId(long modelInstanceId)
ModelInstanceMigrationDaofindCurrentByModelInstanceId in interface ModelInstanceMigrationDaoCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.