public final class LabelService extends Object
| Modifier and Type | Method and Description |
|---|---|
static Label |
create(Label label)
Create an instance of the label class
|
static Label |
findByPrimaryKey(String strKey)
Returns an instance of a label whose identifier is specified in parameter
|
static List<Label> |
getLabelsList()
Load the data of all the label objects and returns them in form of a
collection
|
static void |
remove(String strKey)
Remove the label whose identifier is specified in parameter
|
static Label |
update(Label label)
Update of the label which is specified in parameter
|
public static final String PREFIX
public static Label create(Label label)
label - The instance of the Label which contains the informations to
storepublic static Label update(Label label)
label - The instance of the Label which contains the data to storepublic static void remove(String strKey)
strKey - The Keypublic static Label findByPrimaryKey(String strKey)
strKey - The label primary keyCopyright © 2021 City of Paris. All rights reserved.