Class FacetIntersectionDAO
java.lang.Object
fr.paris.lutece.plugins.search.solr.business.facetintersection.FacetIntersectionDAO
- All Implemented Interfaces:
IFacetIntersectionDAO
@ApplicationScoped
public class FacetIntersectionDAO
extends Object
implements IFacetIntersectionDAO
This class provides Data Access methods for FacetIntersection objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nFacetIntersectionId, int nFacetIntersectionId2, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidinsert(FacetIntersection facetIntersection, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.selectFacetIntersectionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the facetIntersections and returns them as a List
-
Constructor Details
-
FacetIntersectionDAO
public FacetIntersectionDAO()
-
-
Method Details
-
insert
public void insert(FacetIntersection facetIntersection, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Specified by:
insertin interfaceIFacetIntersectionDAO- Parameters:
facetIntersection- instance of the FacetIntersection object to insertplugin- The plugin
-
delete
public void delete(int nFacetIntersectionId, int nFacetIntersectionId2, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceIFacetIntersectionDAO- Parameters:
nFacetIntersectionId- The identifier of the facetIntersectionplugin- The plugin
-
selectFacetIntersectionsList
public List<FacetIntersection> selectFacetIntersectionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the facetIntersections and returns them as a List- Specified by:
selectFacetIntersectionsListin interfaceIFacetIntersectionDAO- Parameters:
plugin- The plugin- Returns:
- The List which contains the data of all the facetIntersections
-