Class FieldHome
java.lang.Object
fr.paris.lutece.plugins.search.solr.business.field.FieldHome
This class provides instances management methods (create, find, ...) for Field objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic FieldCreate an instance of the field classstatic FieldfindByPrimaryKey(int nKey) Returns an instance of a field whose identifier is specified in parameterLoad the data of all the field objects and returns them in form of a liststatic voidremove(int nFieldId) Remove the field whose identifier is specified in parameterstatic FieldUpdate of the field which is specified in parameter
-
Method Details
-
create
Create an instance of the field class- Parameters:
field- The instance of the Field which contains the informations to store- Returns:
- The instance of field which has been created with its primary key.
-
update
Update of the field which is specified in parameter- Parameters:
field- The instance of the Field which contains the data to store- Returns:
- The instance of the field which has been updated
-
remove
public static void remove(int nFieldId) Remove the field whose identifier is specified in parameter- Parameters:
nFieldId- The field Id
-
findByPrimaryKey
Returns an instance of a field whose identifier is specified in parameter- Parameters:
nKey- The field primary key- Returns:
- an instance of Field
-
getFieldsList
Load the data of all the field objects and returns them in form of a list- Returns:
- the list which contains the data of all the field objects
-