Package com.almis.awe.scheduler.dao
Class FileDAO
java.lang.Object
com.almis.awe.config.ServiceConfig
com.almis.awe.scheduler.dao.FileDAO
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
-
Constructor Summary
ConstructorDescriptionFileDAO
(MaintainService maintainService, QueryUtil queryUtil) Autowired constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
addModification
(Task task, String filepath, Date lastModification, boolean isUpdate) Add or replace a modification to the modifications hashmapvoid
deleteModification
(Task task, String filepath) delete a modification from the databasevoid
insertModification
(Task task, String filepath, Date lastModification) insert a modification to the databasevoid
removeModification
(Task task, String filePath) remove a modification to the modifications hashmapvoid
updateModification
(Task task, String filepath, Date lastModification) update a modification on the databaseMethods inherited from class com.almis.awe.config.ServiceConfig
containsBean, getApplicationContext, getBean, getBean, getElements, getLocale, getLocale, getProperty, getProperty, getRequest, getSession, setApplicationContext
-
Constructor Details
-
FileDAO
Autowired constructor- Parameters:
maintainService
- Maintain service
-
-
Method Details
-
addModification
Add or replace a modification to the modifications hashmap- Parameters:
filepath
-lastModification
-isUpdate
-
-
removeModification
remove a modification to the modifications hashmap- Parameters:
filePath
-
-
insertModification
insert a modification to the database- Parameters:
filepath
-lastModification
-
-
updateModification
update a modification on the database- Parameters:
filepath
-lastModification
-
-
deleteModification
delete a modification from the database- Parameters:
filepath
-
-