Package com.soffid.iam.model
Class TaskEntityDaoImpl
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.TaskEntityDaoBase
-
- com.soffid.iam.model.TaskEntityDaoImpl
-
- All Implemented Interfaces:
TaskEntityDao
,org.springframework.beans.factory.InitializingBean
public class TaskEntityDaoImpl extends TaskEntityDaoBase
- See Also:
es.caib.seycon.ng.model.TasqueEntity
-
-
Constructor Summary
Constructors Constructor Description TaskEntityDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(TaskEntity tasqueEntity)
Adds an instance ofTaskEntity
to the persistent store.protected void
handleCancelUnscheduled()
protected void
handleCancelUnscheduledCopies(TaskEntity entity)
protected void
handleCreateForce(TaskEntity tasque)
protected void
handleCreateNoFlush(TaskEntity tasque)
protected void
handleFinishVirtualSourceTransaction(String virtualTransactionId)
protected void
handleReleaseAll()
protected String
handleStartVirtualSourceTransaction()
protected String
handleStartVirtualSourceTransaction(boolean readonly)
protected String
handleStartVirtualSourceTransaction(boolean readonly, String server)
void
remove(TaskEntity tasqueEntity)
Removes an instance ofTaskEntity
from the persistent store.TaskEntity
taskToEntity(com.soffid.iam.api.Task tasca)
Transforms fromTask
objectvoid
taskToEntity(com.soffid.iam.api.Task source, TaskEntity target, boolean copyIfNull)
Copy data fromTask
objectcom.soffid.iam.api.Task
toTask(TaskEntity entity)
Transforms toTask
objectvoid
toTask(TaskEntity source, com.soffid.iam.api.Task target)
Copy data toTask
object-
Methods inherited from class com.soffid.iam.model.TaskEntityDaoBase
cancelUnscheduled, cancelUnscheduledCopies, countTasks, countTasks, countTasks, countTasksByServer, countTasksByServer, countTasksByServer, countTasksByServerInstance, countTasksByServerInstance, countTasksByServerInstance, countTasksBySystem, countTasksBySystem, countTasksBySystem, countTasksBySystem, countTasksBySystem, countTasksBySystem, countTasksBySystem, countTasksBySystem, countTasksBySystem, countUnscheduledTasks, countUnscheduledTasks, countUnscheduledTasks, create, createForce, createNoFlush, findByAccount, findByAccount, findByAccount, findByHash, findByHash, findByHash, findByHost, findByHost, findByHost, findByServer, findByServer, findByServer, findByServerAndServerInstance, findByServerAndServerInstance, findByServerAndServerInstance, findByServerAndSystem, findByServerAndSystem, findByServerAndSystem, findByServerAndSystem, findByServerAndSystem, findByServerAndSystem, findBySystem, findBySystem, findBySystem, findByTaskAndServer, findByTaskAndServer, findByTaskAndServer, findByUser, findByUser, findByUser, findDataPendingTasks, findDataPendingTasks, findDataPendingTasks, findDataUnplannedTasks, findDataUnplannedTasks, findDataUnplannedTasks, findUnscheduled, findUnscheduled, findUnscheduled, finishVirtualSourceTransaction, getCustomObjectTypeEntityDao, getTaskLogEntityDao, getTenantEntityDao, load, loadAll, newTaskEntity, query, query, releaseAll, remove, remove, setCustomObjectTypeEntityDao, setTaskLogEntityDao, setTenantEntityDao, startVirtualSourceTransaction, startVirtualSourceTransaction, startVirtualSourceTransaction, tascaToEntity, tascaToEntity, tascaToEntityList, taskToEntityList, toTasca, toTasca, toTascaList, toTaskList, update, update
-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
-
-
-
Method Detail
-
create
public void create(TaskEntity tasqueEntity)
Description copied from class:TaskEntityDaoBase
Adds an instance ofTaskEntity
to the persistent store.- Specified by:
create
in interfaceTaskEntityDao
- Overrides:
create
in classTaskEntityDaoBase
-
toTask
public void toTask(TaskEntity source, com.soffid.iam.api.Task target)
Description copied from class:TaskEntityDaoBase
Copy data toTask
object- Specified by:
toTask
in interfaceTaskEntityDao
- Overrides:
toTask
in classTaskEntityDaoBase
- See Also:
es.caib.seycon.ng.model.TasqueEntityDao#toTasca(es.caib.seycon.ng.model.TasqueEntity, es.caib.seycon.ng.comu.Tasca)
-
toTask
public com.soffid.iam.api.Task toTask(TaskEntity entity)
Description copied from class:TaskEntityDaoBase
Transforms toTask
object- Specified by:
toTask
in interfaceTaskEntityDao
- Overrides:
toTask
in classTaskEntityDaoBase
- See Also:
es.caib.seycon.ng.model.TasqueEntityDao#toTasca(es.caib.seycon.ng.model.TasqueEntity)
-
taskToEntity
public TaskEntity taskToEntity(com.soffid.iam.api.Task tasca)
Description copied from class:TaskEntityDaoBase
Transforms fromTask
object- Specified by:
taskToEntity
in interfaceTaskEntityDao
- Overrides:
taskToEntity
in classTaskEntityDaoBase
- See Also:
es.caib.seycon.ng.model.TasqueEntityDao#tascaToEntity(es.caib.seycon.ng.comu.Tasca)
-
taskToEntity
public void taskToEntity(com.soffid.iam.api.Task source, TaskEntity target, boolean copyIfNull)
Description copied from class:TaskEntityDaoBase
Copy data fromTask
object- Specified by:
taskToEntity
in interfaceTaskEntityDao
- Overrides:
taskToEntity
in classTaskEntityDaoBase
- See Also:
es.caib.seycon.ng.model.TasqueEntityDao#tascaToEntity(es.caib.seycon.ng.comu.Tasca, es.caib.seycon.ng.model.TasqueEntity)
-
remove
public void remove(TaskEntity tasqueEntity)
Description copied from class:TaskEntityDaoBase
Removes an instance ofTaskEntity
from the persistent store.- Specified by:
remove
in interfaceTaskEntityDao
- Overrides:
remove
in classTaskEntityDaoBase
- See Also:
es.caib.seycon.ng.model.TasqueEntityDao#remove(es.caib.seycon.ng.model.TasqueEntity)
-
handleCreateNoFlush
protected void handleCreateNoFlush(TaskEntity tasque) throws Exception
- Specified by:
handleCreateNoFlush
in classTaskEntityDaoBase
- Throws:
Exception
-
handleCreateForce
protected void handleCreateForce(TaskEntity tasque) throws Exception
- Specified by:
handleCreateForce
in classTaskEntityDaoBase
- Throws:
Exception
-
handleFinishVirtualSourceTransaction
protected void handleFinishVirtualSourceTransaction(String virtualTransactionId) throws Exception
- Specified by:
handleFinishVirtualSourceTransaction
in classTaskEntityDaoBase
- Throws:
Exception
-
handleStartVirtualSourceTransaction
protected String handleStartVirtualSourceTransaction() throws Exception
- Specified by:
handleStartVirtualSourceTransaction
in classTaskEntityDaoBase
- Throws:
Exception
-
handleReleaseAll
protected void handleReleaseAll() throws Exception
- Specified by:
handleReleaseAll
in classTaskEntityDaoBase
- Throws:
Exception
-
handleCancelUnscheduled
protected void handleCancelUnscheduled() throws Exception
- Specified by:
handleCancelUnscheduled
in classTaskEntityDaoBase
- Throws:
Exception
-
handleStartVirtualSourceTransaction
protected String handleStartVirtualSourceTransaction(boolean readonly) throws Exception
- Specified by:
handleStartVirtualSourceTransaction
in classTaskEntityDaoBase
- Throws:
Exception
-
handleStartVirtualSourceTransaction
protected String handleStartVirtualSourceTransaction(boolean readonly, String server) throws Exception
- Specified by:
handleStartVirtualSourceTransaction
in classTaskEntityDaoBase
- Throws:
Exception
-
handleCancelUnscheduledCopies
protected void handleCancelUnscheduledCopies(TaskEntity entity) throws Exception
- Specified by:
handleCancelUnscheduledCopies
in classTaskEntityDaoBase
- Throws:
Exception
-
-