|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mypage.business.WidgetHome
public final class WidgetHome
This class provides instances management methods (create, find, ...) for Widget objects
| Method Summary | |
|---|---|
static Widget |
create(Widget widget)
Create an instance of the widget class |
static java.util.List<Widget> |
findAll()
Load the data of all the widget objects and returns them in form of a collection |
static Widget |
findByPrimaryKey(int nKey)
Returns an instance of a widget whose identifier is specified in parameter |
static void |
remove(int nWidgetId)
Remove the widget whose identifier is specified in parameter |
static Widget |
update(Widget widget)
Update of the widget data specified in parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Widget create(Widget widget)
widget - The instance of the Widget which contains the informations to store
public static Widget update(Widget widget)
widget - The instance of the Widget which contains the data to store
public static void remove(int nWidgetId)
nWidgetId - The widget Idpublic static Widget findByPrimaryKey(int nKey)
nKey - The widget primary key
public static java.util.List<Widget> findAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||