Exemplo n.º 1
0
 @Override
 public void spaceRemoved(SpaceLifeCycleEvent event) {
   IndexingService indexingService = CommonsUtils.getService(IndexingService.class);
   indexingService.unindex(SpaceIndexingServiceConnector.TYPE, event.getSpace().getId());
   LOG.debug("Handle un-index for removing space !");
 }
Exemplo n.º 2
0
 private void reindex(SpaceLifeCycleEvent event) {
   IndexingService indexingService = CommonsUtils.getService(IndexingService.class);
   indexingService.reindex(SpaceIndexingServiceConnector.TYPE, event.getSpace().getId());
 }
Exemplo n.º 3
0
 @Override
 public void spaceCreated(SpaceLifeCycleEvent event) {
   IndexingService indexingService = CommonsUtils.getService(IndexingService.class);
   indexingService.index(SpaceIndexingServiceConnector.TYPE, event.getSpace().getId());
   LOG.debug("Handled create index for newly created space!");
 }