public interface BaseFileTransferDao
| Modifier and Type | Method and Description |
|---|---|
void |
housekeep(String clientId,
int ageOfFiles,
int maxRows)
Housekeeps
FileFilter entries. |
boolean |
isDuplicate(ClientListEntry entry,
boolean filterOnFilename,
boolean filterOnLastModifiedDate)
Method that checks if an
ClientListEntry is already
included in the filter table. |
void |
persistClientListEntry(ClientListEntry entry)
Derives an
FileFilter from the provided
ClientListEntry and persists it to the filtering
table. |
boolean isDuplicate(ClientListEntry entry, boolean filterOnFilename, boolean filterOnLastModifiedDate) throws org.hibernate.HibernateException
ClientListEntry is already
included in the filter table.entry - The ClientListEntry to filterfilterOnFilename - filterOnLastModifiedDate - true if the entry is a duplicate,
false otherwise.NullPointerExceptionorg.hibernate.HibernateExceptionvoid persistClientListEntry(ClientListEntry entry) throws org.hibernate.HibernateException
FileFilter from the provided
ClientListEntry and persists it to the filtering
table.entry - the ClientListEntry to save.org.hibernate.HibernateExceptionvoid housekeep(String clientId, int ageOfFiles, int maxRows) throws org.hibernate.HibernateException
FileFilter entries.clientId - The clientId (as multiple clients share the same table)ageOfFiles - (delete from today minus ageOfFiles in Days)maxRows - The maximum number of rows the housekeeping can deal withorg.hibernate.HibernateExceptionCopyright © 2007-2017 Ikasan. All Rights Reserved.