|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.sitelabels.service.LabelService
public final class LabelService
This class provides instances management methods (create, find, ...) for Label objects
| Field Summary | |
|---|---|
static String |
PREFIX
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PREFIX
| Method Detail |
|---|
public static Label create(Label label)
label - The instance of the Label which contains the informations to
store
public static Label update(Label label)
label - The instance of the Label which contains the data to store
public static void remove(String strKey)
strKey - The Keypublic static Label findByPrimaryKey(String strKey)
strKey - The label primary key
public static List<Label> getLabelsList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||