public final class FolderHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
create(IFolder folder)
Insert a new record in the table.
|
static List<IFolder> |
findAll()
Find all folders
|
static IFolder |
findByPrimaryKey(int nIdFolder)
Load the data from the table
|
static List<IFolder> |
findByUserGuid(String strUserGuid)
Find folders associated to the given user guid
|
static int |
newPrimaryKey()
Generates a new primary key
|
static void |
remove(int nIdFolder)
Delete a record from the table
|
static void |
update(IFolder folder)
Update the record in the table
|
public static int newPrimaryKey()
public static int create(IFolder folder)
folder - instance of the IFolder object to insertpublic static void update(IFolder folder)
folder - the folderpublic static void remove(int nIdFolder)
nIdFolder - int identifier of the folder to deletepublic static IFolder findByPrimaryKey(int nIdFolder)
nIdFolder - The identifier of the folderCopyright © 2017 City of Paris. All rights reserved.