public class FileHostingStore extends JdbcAbstractStore
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<Res>, JdbcAbstractStore.StatementValues<T>datasource| Constructor and Description | 
|---|
FileHostingStore(javax.sql.DataSource dataSource)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
create(FileHostingEntity value)  | 
void | 
create(FileHostingEntityInfo value)  | 
void | 
delete(java.lang.String uid)  | 
java.util.List<FileHostingEntityInfo> | 
deleteExpiredFiles(int retentionTimeInDays,
                  java.lang.String domainUid)  | 
java.util.List<FileHostingEntity> | 
getActiveSharedFiles()  | 
java.util.List<FileHostingEntity> | 
getByOwner(java.lang.String owner)  | 
FileHostingEntity | 
getByPath(java.lang.String path)  | 
FileHostingEntity | 
getByUid(java.lang.String uid)  | 
java.lang.Long | 
getExpirationDate(java.lang.String uid)  | 
java.util.List<FileHostingEntityInfo> | 
getExpiredFiles(int retentionTime)  | 
void | 
update(FileHostingEntity value)  | 
batchInsert, batchInsert, delete, doOrContinue, doOrFail, getConnection, insert, insert, insert, insert, insertAndReturn, insertWithSerial, inTransaction, lastInsertId, select, select, select, staticInTransaction, unique, unique, unique, unique, update, update, update, update, updatepublic void create(FileHostingEntityInfo value) throws ServerFault
ServerFaultpublic java.util.List<FileHostingEntityInfo> getExpiredFiles(int retentionTime) throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.List<FileHostingEntity> getActiveSharedFiles() throws java.sql.SQLException
java.sql.SQLExceptionpublic void create(FileHostingEntity value) throws ServerFault
ServerFaultpublic void delete(java.lang.String uid)
public FileHostingEntity getByPath(java.lang.String path) throws ServerFault
ServerFaultpublic FileHostingEntity getByUid(java.lang.String uid) throws ServerFault
ServerFaultpublic java.util.List<FileHostingEntity> getByOwner(java.lang.String owner) throws java.sql.SQLException
java.sql.SQLExceptionpublic void update(FileHostingEntity value) throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.List<FileHostingEntityInfo> deleteExpiredFiles(int retentionTimeInDays, java.lang.String domainUid) throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.Long getExpirationDate(java.lang.String uid)
                                 throws ServerFault
ServerFaultCopyright © 2021. All Rights Reserved.