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 voidcreate(TaskEntity tasqueEntity)Adds an instance ofTaskEntityto the persistent store.protected voidhandleCancelUnscheduled()protected voidhandleCancelUnscheduledCopies(TaskEntity entity)protected voidhandleCreateForce(TaskEntity tasque)protected voidhandleCreateNoFlush(TaskEntity tasque)protected voidhandleFinishVirtualSourceTransaction(String virtualTransactionId)protected voidhandleReleaseAll()protected StringhandleStartVirtualSourceTransaction()protected StringhandleStartVirtualSourceTransaction(boolean readonly)protected StringhandleStartVirtualSourceTransaction(boolean readonly, String server)voidremove(TaskEntity tasqueEntity)Removes an instance ofTaskEntityfrom the persistent store.TaskEntitytaskToEntity(com.soffid.iam.api.Task tasca)Transforms fromTaskobjectvoidtaskToEntity(com.soffid.iam.api.Task source, TaskEntity target, boolean copyIfNull)Copy data fromTaskobjectcom.soffid.iam.api.TasktoTask(TaskEntity entity)Transforms toTaskobjectvoidtoTask(TaskEntity source, com.soffid.iam.api.Task target)Copy data toTaskobject-
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:TaskEntityDaoBaseAdds an instance ofTaskEntityto the persistent store.- Specified by:
createin interfaceTaskEntityDao- Overrides:
createin classTaskEntityDaoBase
-
toTask
public void toTask(TaskEntity source, com.soffid.iam.api.Task target)
Description copied from class:TaskEntityDaoBaseCopy data toTaskobject- Specified by:
toTaskin interfaceTaskEntityDao- Overrides:
toTaskin 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:TaskEntityDaoBaseTransforms toTaskobject- Specified by:
toTaskin interfaceTaskEntityDao- Overrides:
toTaskin 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:TaskEntityDaoBaseTransforms fromTaskobject- Specified by:
taskToEntityin interfaceTaskEntityDao- Overrides:
taskToEntityin 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:TaskEntityDaoBaseCopy data fromTaskobject- Specified by:
taskToEntityin interfaceTaskEntityDao- Overrides:
taskToEntityin 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:TaskEntityDaoBaseRemoves an instance ofTaskEntityfrom the persistent store.- Specified by:
removein interfaceTaskEntityDao- Overrides:
removein 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:
handleCreateNoFlushin classTaskEntityDaoBase- Throws:
Exception
-
handleCreateForce
protected void handleCreateForce(TaskEntity tasque) throws Exception
- Specified by:
handleCreateForcein classTaskEntityDaoBase- Throws:
Exception
-
handleFinishVirtualSourceTransaction
protected void handleFinishVirtualSourceTransaction(String virtualTransactionId) throws Exception
- Specified by:
handleFinishVirtualSourceTransactionin classTaskEntityDaoBase- Throws:
Exception
-
handleStartVirtualSourceTransaction
protected String handleStartVirtualSourceTransaction() throws Exception
- Specified by:
handleStartVirtualSourceTransactionin classTaskEntityDaoBase- Throws:
Exception
-
handleReleaseAll
protected void handleReleaseAll() throws Exception- Specified by:
handleReleaseAllin classTaskEntityDaoBase- Throws:
Exception
-
handleCancelUnscheduled
protected void handleCancelUnscheduled() throws Exception- Specified by:
handleCancelUnscheduledin classTaskEntityDaoBase- Throws:
Exception
-
handleStartVirtualSourceTransaction
protected String handleStartVirtualSourceTransaction(boolean readonly) throws Exception
- Specified by:
handleStartVirtualSourceTransactionin classTaskEntityDaoBase- Throws:
Exception
-
handleStartVirtualSourceTransaction
protected String handleStartVirtualSourceTransaction(boolean readonly, String server) throws Exception
- Specified by:
handleStartVirtualSourceTransactionin classTaskEntityDaoBase- Throws:
Exception
-
handleCancelUnscheduledCopies
protected void handleCancelUnscheduledCopies(TaskEntity entity) throws Exception
- Specified by:
handleCancelUnscheduledCopiesin classTaskEntityDaoBase- Throws:
Exception
-
-