Package io.vertigo.social.impl.handle
Class HandleManagerImpl
- java.lang.Object
-
- io.vertigo.social.impl.handle.HandleManagerImpl
-
- All Implemented Interfaces:
io.vertigo.core.node.component.Activeable,io.vertigo.core.node.component.Component,io.vertigo.core.node.component.CoreComponent,HandleManager
public final class HandleManagerImpl extends Object implements HandleManager, io.vertigo.core.node.component.Activeable
-
-
Constructor Summary
Constructors Constructor Description HandleManagerImpl(io.vertigo.datastore.entitystore.EntityStoreManager entityStoreManager, VTransactionManager transactionManager, HandlePlugin handlePlugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HandlegetHandleByCode(String code)HandlegetHandleByUid(UID uid)List<String>getHandlePrefixes()voidonEvent(io.vertigo.datastore.entitystore.StoreEvent storeEvent)Receive Store event.voidreindexAll()List<Handle>searchHandles(String handlePrefix)voidstart()voidstop()
-
-
-
Constructor Detail
-
HandleManagerImpl
@Inject public HandleManagerImpl(io.vertigo.datastore.entitystore.EntityStoreManager entityStoreManager, VTransactionManager transactionManager, HandlePlugin handlePlugin)
-
-
Method Detail
-
start
public void start()
- Specified by:
startin interfaceio.vertigo.core.node.component.Activeable
-
stop
public void stop()
- Specified by:
stopin interfaceio.vertigo.core.node.component.Activeable
-
onEvent
public void onEvent(io.vertigo.datastore.entitystore.StoreEvent storeEvent)
Receive Store event.- Parameters:
storeEvent- Store event
-
getHandlePrefixes
public List<String> getHandlePrefixes()
- Specified by:
getHandlePrefixesin interfaceHandleManager
-
searchHandles
public List<Handle> searchHandles(String handlePrefix)
- Specified by:
searchHandlesin interfaceHandleManager
-
getHandleByUid
public Handle getHandleByUid(UID uid)
- Specified by:
getHandleByUidin interfaceHandleManager
-
getHandleByCode
public Handle getHandleByCode(String code)
- Specified by:
getHandleByCodein interfaceHandleManager
-
reindexAll
public void reindexAll()
- Specified by:
reindexAllin interfaceHandleManager
-
-