public final class WidgetStyleHome extends Object
Modifier and Type | Method and Description |
---|---|
static Style |
create(Style style)
Create an instance of the style class
|
static Style |
findByPrimaryKey(int nKey)
Returns an instance of a style whose identifier is specified in parameter
|
static fr.paris.lutece.util.ReferenceList |
getStyles()
Load the data of all the style objects and returns them in form of a list
|
static List<Style> |
getStylesList()
Load the data of all the style objects and returns them in form of a list
|
static int |
newPrimaryKey()
Generates a new primary key
|
static void |
remove(int nStyleId)
Remove the style whose identifier is specified in parameter
|
static Style |
update(Style style)
Update of the style which is specified in parameter
|
public static int newPrimaryKey()
public static Style create(Style style)
style
- The instance of the Style which contains the informations to storepublic static Style update(Style style)
style
- The instance of the Style which contains the data to storepublic static void remove(int nStyleId)
nStyleId
- The style Idpublic static Style findByPrimaryKey(int nKey)
nKey
- The style primary keypublic static List<Style> getStylesList()
public static fr.paris.lutece.util.ReferenceList getStyles()
Copyright © 2020 City of Paris. All rights reserved.