|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.ods.business.indexer.action.IndexerActionHome
public final class IndexerActionHome
IndexerActionHome : appelle le DAO pour gérer les actions d'indexation
| Method Summary | |
|---|---|
void |
create(IndexerAction action,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Créé une nouvelle action d'indexation dans la base |
IndexerAction |
findActionOnObject(int nIdIndexer,
int nAction,
java.lang.Object object,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Retourne l'action d'indexation voulue sur le fichier, si elle existe |
java.util.List<IndexerAction> |
findActionsByIndexer(int nIdIndexer,
int nAction,
boolean bDelete,
boolean bArchive,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Retourne la liste des actions pour un indexer, selon le type d'action voulu: IndexAction.ACTION_CREATE,IndexAction.ACTION_DELETE, IndexAction.ACTION_MODIFY |
void |
remove(IndexerAction action,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Supprime une action d'indexation |
void |
removeForIndexer(Indexer indexer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Retire toutes les actions d'indexation pour cet indexer |
void |
update(IndexerAction action,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Met à jour une action |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void create(IndexerAction action,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
action - l'action à ajouterplugin - plugin
public void remove(IndexerAction action,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
action - l'action à supprimerplugin - plugin
public void update(IndexerAction action,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
action - actionplugin - plugin
public java.util.List<IndexerAction> findActionsByIndexer(int nIdIndexer,
int nAction,
boolean bDelete,
boolean bArchive,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdIndexer - l'identifiant de l'indexernAction - le type d'action voulubDelete - indique si on supprime les actions chargées ou nonbArchive - indique si l'action porte sur l'index archive ou nonplugin - plugin
public IndexerAction findActionOnObject(int nIdIndexer,
int nAction,
java.lang.Object object,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdIndexer - l'indexer sélectionnénAction - l'action sur le fichierobject - l'objet concernéplugin - plugin
public void removeForIndexer(Indexer indexer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
indexer - l'indexer à supprimerplugin - le plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||