Class InsertServiceManager
- java.lang.Object
-
- fr.paris.lutece.portal.service.insert.InsertServiceManager
-
public final class InsertServiceManager extends java.lang.ObjectManager of the InsertServices (Insert + HTML). Responsible for (un)registering them.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InsertServicegetInsertService(java.lang.String strId)Get a particular Insert servicestatic java.util.Collection<InsertService>getInsertServicesList()Returns all registered Insert servicesstatic java.util.List<java.lang.String>getInsertsLabels()Returns the names of all registered Insert Servicestatic voidregisterInsertService(InsertService is)Registers a new Index Servicestatic voidunregisterInsertService(InsertService is)Unregisters a new Index Service
-
-
-
Method Detail
-
registerInsertService
public static void registerInsertService(InsertService is)
Registers a new Index Service- Parameters:
is- the service
-
unregisterInsertService
public static void unregisterInsertService(InsertService is)
Unregisters a new Index Service- Parameters:
is- the service
-
getInsertServicesList
public static java.util.Collection<InsertService> getInsertServicesList()
Returns all registered Insert services- Returns:
- A collection containing all registered Insert services
-
getInsertService
public static InsertService getInsertService(java.lang.String strId)
Get a particular Insert service- Parameters:
strId- Identifier of the seeked service- Returns:
- the selected Insert service
-
getInsertsLabels
public static java.util.List<java.lang.String> getInsertsLabels()
Returns the names of all registered Insert Service- Returns:
- An enumeration containing the names of all registered Insert Service
-
-