public final class SQLFragmentHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static SQLFragment |
create(SQLFragment sQLFragment)
Create an instance of the sQLFragment class
|
static SQLFragment |
findByPrimaryKey(int nKey)
Returns an instance of a sQLFragment whose identifier is specified in parameter
|
static List<SQLFragment> |
getSQLFragmentsList(int nIdPage)
Load the data of all the sQLFragment objects and returns them in form of a List
|
static void |
remove(int nKey)
Remove the sQLFragment whose identifier is specified in parameter
|
static void |
swapFragmentsOrder(SQLFragment previous,
SQLFragment next)
Reorder fragments
|
static SQLFragment |
update(SQLFragment sQLFragment)
Update of the sQLFragment which is specified in parameter
|
public static SQLFragment create(SQLFragment sQLFragment)
sQLFragment - The instance of the SQLFragment which contains the informations to storepublic static SQLFragment update(SQLFragment sQLFragment)
sQLFragment - The instance of the SQLFragment which contains the data to storepublic static void remove(int nKey)
nKey - The sQLFragment Idpublic static SQLFragment findByPrimaryKey(int nKey)
nKey - The sQLFragment primary keypublic static List<SQLFragment> getSQLFragmentsList(int nIdPage)
nIdPage - The Page IDpublic static void swapFragmentsOrder(SQLFragment previous, SQLFragment next)
previous - the fragment 1next - the fragment 2Copyright © 2015 City of Paris. All rights reserved.