Class LabelService
java.lang.Object
fr.paris.lutece.plugins.sitelabels.service.LabelService
This class provides instances management methods (create, find, ...) for
Label objects
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic LabelCreate an instance of the label classstatic LabelfindByPrimaryKey(String strKey) Returns an instance of a label whose identifier is specified in parameterLoad the data of all the label objects and returns them in form of a collectionstatic voidRemove the label whose identifier is specified in parameterstatic LabelUpdate of the label which is specified in parameter
-
Field Details
-
PREFIX
- See Also:
-
-
Method Details
-
create
Create an instance of the label class- Parameters:
label- The instance of the Label which contains the informations to store- Returns:
- The instance of label which has been created with its primary key.
-
update
Update of the label which is specified in parameter- Parameters:
label- The instance of the Label which contains the data to store- Returns:
- The instance of the label which has been updated
-
remove
Remove the label whose identifier is specified in parameter- Parameters:
strKey- The Key
-
findByPrimaryKey
Returns an instance of a label whose identifier is specified in parameter- Parameters:
strKey- The label primary key- Returns:
- an instance of Label
-
getLabelsList
Load the data of all the label objects and returns them in form of a collection- Returns:
- the collection which contains the data of all the label objects
-