Class TranslationItemHome
java.lang.Object
fr.paris.lutece.plugins.referencelist.business.TranslationItemHome
This class provides instances management methods (create, find, ...) for TranslationItemValue objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic TranslationItemcreate(TranslationItem translationItem) Create an instance of the translationItem classstatic TranslationItemfindByPrimaryKey(int nKey) Returns an instance of a translationItem whose identifier is specified in parameterstatic List<TranslationItem>getTranslationItemList(int nIdReference) Load the data of all the translationItem objects and returns them as a liststatic voidremove(int nKey) Remove the translationItem whose identifier is specified in parameterstatic TranslationItemupdate(TranslationItem translationItem) Update of the translationItem which is specified in parameter
-
Method Details
-
create
Create an instance of the translationItem class- Parameters:
translationItem- The instance of the TranslationItem which contains the informations to store- Returns:
- The instance of translationItem which has been created with its primary key.
-
update
Update of the translationItem which is specified in parameter- Parameters:
translationItem- The instance of the TranslationItem which contains the data to store- Returns:
- The instance of the translationItem which has been updated
-
remove
public static void remove(int nKey) Remove the translationItem whose identifier is specified in parameter- Parameters:
nKey- The translationItem Id
-
findByPrimaryKey
Returns an instance of a translationItem whose identifier is specified in parameter- Parameters:
nKey- The translationItem primary key- Returns:
- an instance of TranslationItem
-
getTranslationItemList
Load the data of all the translationItem objects and returns them as a list- Returns:
- the list which contains the data of all the translationItem objects
-