public final class FolderService extends Object
| Modifier and Type | Method and Description |
|---|---|
int |
create(IFolder folder)
Create a folder
|
List<IFolder> |
findAll(Locale locale)
Find all folders
|
IFolder |
findByPrimaryKey(int nIdFolder,
Locale locale)
Find the notification by its primary key
|
List<IFolder> |
findByUserGuid(String strUserGuid,
Locale locale)
Find the folders associated to the user guid
|
List<FolderType> |
getFolderTypes(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
|
public static FolderService getService()
FolderServiceFolderServicepublic IFolder findByPrimaryKey(int nIdFolder, Locale locale)
public int create(IFolder folder)
folder - the folderpublic void update(IFolder folder)
folder - the folderpublic void remove(int nIdFolder)
nIdFolder - the id folderpublic List<IFolder> findByUserGuid(String strUserGuid, Locale locale)
public List<FolderType> getFolderTypes(Locale locale)
locale - the LocaleFolderTypeCopyright © 2017 City of Paris. All rights reserved.