Class OptionsHome
- java.lang.Object
-
- fr.paris.lutece.plugins.uploadimage.business.OptionsHome
-
public final class OptionsHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for Options objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optionscreate(Options options)Create an instance of the options classstatic OptionsfindByFieldName(java.lang.String fieldName)Returns an instance of a options whose field name is specified in parameterstatic OptionsfindByPrimaryKey(int nKey)Returns an instance of a options whose identifier is specified in parameterstatic java.util.Collection<java.lang.Integer>getIdOptionssList()Load the id of all the options objects and returns them in form of a collectionstatic java.util.Collection<Options>getOptionssList()Load the data of all the options objects and returns them in form of a collectionstatic voidremove(int nKey)Remove the options whose identifier is specified in parameterstatic Optionsupdate(Options options)Update of the options which is specified in parameter
-
-
-
Method Detail
-
create
public static Options create(Options options)
Create an instance of the options class- Parameters:
options- The instance of the Options which contains the informations to store- Returns:
- The instance of options which has been created with its primary key.
-
update
public static Options update(Options options)
Update of the options which is specified in parameter- Parameters:
options- The instance of the Options which contains the data to store- Returns:
- The instance of the options which has been updated
-
remove
public static void remove(int nKey)
Remove the options whose identifier is specified in parameter- Parameters:
nKey- The options Id
-
findByPrimaryKey
public static Options findByPrimaryKey(int nKey)
Returns an instance of a options whose identifier is specified in parameter- Parameters:
nKey- The options primary key- Returns:
- an instance of Options
-
findByFieldName
public static Options findByFieldName(java.lang.String fieldName)
Returns an instance of a options whose field name is specified in parameter- Parameters:
nKey- The options primary key- Returns:
- an instance of Options
-
getOptionssList
public static java.util.Collection<Options> getOptionssList()
Load the data of all the options objects and returns them in form of a collection- Returns:
- the collection which contains the data of all the options objects
-
getIdOptionssList
public static java.util.Collection<java.lang.Integer> getIdOptionssList()
Load the id of all the options objects and returns them in form of a collection- Returns:
- the collection which contains the id of all the options objects
-
-