|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mylutece.modules.notification.service.folder.FolderService
public final class FolderService
FolderService
| Method Summary | |
|---|---|
int |
create(IFolder folder)
Create a folder |
java.util.List<IFolder> |
findAll(java.util.Locale locale)
Find all folders |
IFolder |
findByPrimaryKey(int nIdFolder,
java.util.Locale locale)
Find the notification by its primary key |
java.util.List<IFolder> |
findByUserGuid(java.lang.String strUserGuid,
java.util.Locale locale)
Find the folders associated to the user guid |
java.util.List<FolderType> |
getFolderTypes(java.util.Locale locale)
Get the list of folder types |
static FolderService |
getService()
Get the instance of FolderService |
void |
remove(int nIdFolder)
Remove the folder |
void |
update(IFolder folder)
Update the folder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static FolderService getService()
FolderService
FolderService
public IFolder findByPrimaryKey(int nIdFolder,
java.util.Locale locale)
nIdFolder - the id notificationlocale - the Locale
IFolderpublic int create(IFolder folder)
folder - the folder
public void update(IFolder folder)
folder - the folderpublic void remove(int nIdFolder)
nIdFolder - the id folderpublic java.util.List<IFolder> findAll(java.util.Locale locale)
locale - the Locale
IFolder
public java.util.List<IFolder> findByUserGuid(java.lang.String strUserGuid,
java.util.Locale locale)
strUserGuid - the user guidlocale - Locale
IFolderpublic java.util.List<FolderType> getFolderTypes(java.util.Locale locale)
locale - the Locale
FolderType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||