Package sk.iway.iwcm.io
Class FileHistoryDB
FileHistoryDB.java - praca s historiou suborov
tiket 13373
DAO class for manipulating with FileHistoryBean
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindByChangeDate
(Date changeDate) findByFileUrl
(String fileUrl) findByUserId
(int userId) findFirstByChangeDate
(Date changeDate) findFirstByFileUrl
(String fileUrl) findFirstByUserId
(int userId) getHistoryByPath
(String virtualPath) static boolean
sendFileFromHistory
(String path, int historyId, javax.servlet.http.HttpServletResponse response) Preposle subor z historie na vystupMethods inherited from class sk.iway.iwcm.database.JpaDB
and, delete, deleteByIds, filterBetween, filterBetween, filterBetween, filterEquals, filterEquals, filterEquals, filterIn, filterNotIn, filterNotNull, filterNull, filterSubstring, filterSubstringIgnoringCase, find, findBy, findBy, findByProperties, findFirst, findFirstByProperties, getAll, getById, getById, getCount, getResultList, getValues, of, or, save
-
Constructor Details
-
FileHistoryDB
public FileHistoryDB()
-
-
Method Details
-
sendFileFromHistory
public static boolean sendFileFromHistory(String path, int historyId, javax.servlet.http.HttpServletResponse response) Preposle subor z historie na vystup- Parameters:
path
-historyId
-response
-- Returns:
-
findByFileUrl
-
findFirstByFileUrl
-
findByChangeDate
-
findFirstByChangeDate
-
findByUserId
-
findFirstByUserId
-
getHistoryByPath
-