Package tigase.http.upload.db.derby
Class StoredProcedures
- java.lang.Object
-
- tigase.http.upload.db.derby.StoredProcedures
-
public class StoredProcedures extends Object
Created by andrzej on 10.08.2016.
-
-
Constructor Summary
Constructors Constructor Description StoredProcedures()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
allocateSlot(String slotId, String uploader, String domain, String res, String filename, Long filesize, String contentType, ResultSet[] data)
static void
getSlot(String slotId, ResultSet[] data)
static void
listExpiredSlots(String domain, Timestamp ts, Integer max, ResultSet[] data)
static void
removeExpiredSlots(String domain, Timestamp ts, Integer max)
static void
updateSlot(String slotId)
-
-
-
Method Detail
-
allocateSlot
public static void allocateSlot(String slotId, String uploader, String domain, String res, String filename, Long filesize, String contentType, ResultSet[] data) throws SQLException
- Throws:
SQLException
-
getSlot
public static void getSlot(String slotId, ResultSet[] data) throws SQLException
- Throws:
SQLException
-
listExpiredSlots
public static void listExpiredSlots(String domain, Timestamp ts, Integer max, ResultSet[] data) throws SQLException
- Throws:
SQLException
-
removeExpiredSlots
public static void removeExpiredSlots(String domain, Timestamp ts, Integer max) throws SQLException
- Throws:
SQLException
-
updateSlot
public static void updateSlot(String slotId) throws SQLException
- Throws:
SQLException
-
-