|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.directory.modules.pdfproducerarchive.business.zipbasket.ZipBasketDAO
public class ZipBasketDAO
Allow to access ZipBasket data
| Constructor Summary | |
|---|---|
ZipBasketDAO()
|
|
| Method Summary | |
|---|---|
void |
addZipBasket(java.lang.String strName,
int nIdAdminUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nIdDirectory,
int nIdRecord,
int nArchiveItemKey)
this method add a new zip in the basket |
void |
changeZipBasketStatus(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nIdZipBasket,
java.lang.String strStatus)
this method change de zip file status and modify the date |
void |
changeZipBasketUrl(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nIdZipBasket,
java.lang.String strUrl)
this method change de zip file url and modify the date |
void |
deleteMultiZipBasket(fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.util.List<java.lang.Integer> listIdZipBasket)
This method delete multi ZipBasket |
void |
deleteZipBasket(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nIdZipBasket)
This method delete a ZipBasket |
boolean |
existsZipBasket(int nIdAdminUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nIdDirectory,
int nIdRecord)
This SQL method check if the zip is already exists |
java.util.List<ZipBasket> |
loadAllZipBasket(fr.paris.lutece.portal.service.plugin.Plugin plugin)
This method load all zipbasket |
java.util.List<ZipBasket> |
loadAllZipBasketByAdminUser(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nIdAdminUser,
int nIdDirectory)
This method load all element in basket by id admin user for a specific directory |
ZipBasket |
loadZipBasket(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nIdZipBasket)
this method return a specific zipbasket by id |
java.util.List<ZipBasket> |
loadZipBasketByDate(fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.util.Date dateExpiry)
Get the list of zip basket filtered by date |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZipBasketDAO()
| Method Detail |
|---|
public void addZipBasket(java.lang.String strName,
int nIdAdminUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nIdDirectory,
int nIdRecord,
int nArchiveItemKey)
addZipBasket in interface IZipBasketDAOstrName - the name of the futur zipnIdAdminUser - id of admin userplugin - pluginnIdDirectory - id of directorynIdRecord - id of recordnArchiveItemKey - id of the archive item
public boolean existsZipBasket(int nIdAdminUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nIdDirectory,
int nIdRecord)
existsZipBasket in interface IZipBasketDAOnIdAdminUser - id of admin userplugin - pluginnIdDirectory - id of directorynIdRecord - id of record
public java.util.List<ZipBasket> loadAllZipBasket(fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadAllZipBasket in interface IZipBasketDAOplugin - plugin
public java.util.List<ZipBasket> loadAllZipBasketByAdminUser(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nIdAdminUser,
int nIdDirectory)
loadAllZipBasketByAdminUser in interface IZipBasketDAOplugin - pluginnIdAdminUser - id of admin usernIdDirectory - id of directory
public void deleteZipBasket(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nIdZipBasket)
deleteZipBasket in interface IZipBasketDAOplugin - pluginnIdZipBasket - id of the zipbasket
public void deleteMultiZipBasket(fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.util.List<java.lang.Integer> listIdZipBasket)
deleteMultiZipBasket in interface IZipBasketDAOplugin - pluginlistIdZipBasket - list of id zipbasket
public void changeZipBasketStatus(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nIdZipBasket,
java.lang.String strStatus)
changeZipBasketStatus in interface IZipBasketDAOplugin - pluginnIdZipBasket - id of the zipbasketstrStatus - the new status
public void changeZipBasketUrl(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nIdZipBasket,
java.lang.String strUrl)
changeZipBasketUrl in interface IZipBasketDAOplugin - pluginnIdZipBasket - id of the zipbasketstrUrl - the new url
public ZipBasket loadZipBasket(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nIdZipBasket)
loadZipBasket in interface IZipBasketDAOplugin - pluginnIdZipBasket - id of the zipbasket
public java.util.List<ZipBasket> loadZipBasketByDate(fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.util.Date dateExpiry)
loadZipBasketByDate in interface IZipBasketDAOplugin - the plugindateExpiry - the date expiry
ZipBasket
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||