fr.paris.lutece.plugins.search.solr.business.facetIntersection
Class FacetIntersectionHome

java.lang.Object
  extended by fr.paris.lutece.plugins.search.solr.business.facetIntersection.FacetIntersectionHome

public final class FacetIntersectionHome
extends java.lang.Object

This class provides instances management methods (create, find, ...) for FacetIntersection objects


Method Summary
static FacetIntersection create(FacetIntersection facetIntersection)
          Create an instance of the facetIntersection class
static FacetIntersection create(int idField1, int idField2)
           
static java.util.List<FacetIntersection> getFacetIntersectionsList()
          Load the data of all the facetIntersection objects and returns them in form of a list
static void remove(int nFacetIntersectionId, int nFacetIntersectionId2)
          Remove the facetIntersection whose identifier is specified in parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static FacetIntersection create(FacetIntersection facetIntersection)
Create an instance of the facetIntersection class

Parameters:
facetIntersection - The instance of the FacetIntersection which contains the informations to store
Returns:
The instance of facetIntersection which has been created with its primary key.

create

public static FacetIntersection create(int idField1,
                                       int idField2)

remove

public static void remove(int nFacetIntersectionId,
                          int nFacetIntersectionId2)
Remove the facetIntersection whose identifier is specified in parameter

Parameters:
nFacetIntersectionId - The facetIntersection Id
nFacetIntersectionId2 - The other facetIntersection Id

getFacetIntersectionsList

public static java.util.List<FacetIntersection> getFacetIntersectionsList()
Load the data of all the facetIntersection objects and returns them in form of a list

Returns:
the list which contains the data of all the facetIntersection objects


Copyright © 2012 Mairie de Paris. All Rights Reserved.