|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BaseFileTransferDao
Data Access Interface for File Transfer objects
| Method Summary | |
|---|---|
void |
housekeep(java.lang.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. |
| Method Detail |
|---|
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.
java.lang.NullPointerException
org.hibernate.HibernateException
void 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.HibernateException
void housekeep(java.lang.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 with
org.hibernate.HibernateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||