public final class DefaultPageBuilderHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
create(WidgetComponent widgetComponent)
Creation of an instance of widgetComponent
|
static List<WidgetComponent> |
findAll()
Loads the data of all the widgetComponent
|
static List<WidgetComponent> |
findByFilter(WidgetComponentFilter filter)
Loads the data of all the widgetComponent
|
static WidgetComponent |
findByPrimaryKey(int nIdWidgetComponent)
Returns an instance of a widgetComponent whose identifier is specified in parameter
|
static List<Integer> |
findColumns()
Find the columns list
|
static int |
findMaxOrder()
Finds the max order for all columns.
|
static int |
findMaxOrder(int nColumn)
Finds the max order for the column.
|
static List<Integer> |
findWidgetIds()
Return the widget ids list
|
static int |
newPrimaryKey()
Get a new PK
|
static void |
remove(int nIdWidgetComponent)
Remove the widgetComponent whose identifier is specified in parameter
|
static void |
removeAll()
Remove the widgetComponent whose identifier is specified in parameter
|
static void |
removeByColumnMax(int nColumnMax)
Delete the records that have a column > to the given nColumnMax
|
static void |
update(WidgetComponent widgetComponent)
Update of the widgetComponent which is specified in parameter
|
public static int newPrimaryKey()
public static void create(WidgetComponent widgetComponent)
widgetComponent - The instance of the widgetComponent which contains the informations to storepublic static void update(WidgetComponent widgetComponent)
widgetComponent - The instance of the widgetComponent which contains the informations to updatepublic static void remove(int nIdWidgetComponent)
nIdWidgetComponent - The widgetComponent idpublic static void removeByColumnMax(int nColumnMax)
nColumnMax - the column maxpublic static void removeAll()
public static WidgetComponent findByPrimaryKey(int nIdWidgetComponent)
nIdWidgetComponent - The widgetComponent primary keypublic static List<WidgetComponent> findAll()
public static List<WidgetComponent> findByFilter(WidgetComponentFilter filter)
filter - a search by criteriapublic static int findMaxOrder()
public static int findMaxOrder(int nColumn)
nColumn - the columnpublic static List<Integer> findColumns()
Copyright © 2017 City of Paris. All rights reserved.