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 Handle
getHandleByCode(String code)
Handle
getHandleByUid(UID uid)
List<String>
getHandlePrefixes()
void
onEvent(io.vertigo.datastore.entitystore.StoreEvent storeEvent)
Receive Store event.void
reindexAll()
List<Handle>
searchHandles(String handlePrefix)
void
start()
void
stop()
-
-
-
Constructor Detail
-
HandleManagerImpl
@Inject public HandleManagerImpl(io.vertigo.datastore.entitystore.EntityStoreManager entityStoreManager, VTransactionManager transactionManager, HandlePlugin handlePlugin)
-
-
Method Detail
-
start
public void start()
- Specified by:
start
in interfaceio.vertigo.core.node.component.Activeable
-
stop
public void stop()
- Specified by:
stop
in 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:
getHandlePrefixes
in interfaceHandleManager
-
searchHandles
public List<Handle> searchHandles(String handlePrefix)
- Specified by:
searchHandles
in interfaceHandleManager
-
getHandleByUid
public Handle getHandleByUid(UID uid)
- Specified by:
getHandleByUid
in interfaceHandleManager
-
getHandleByCode
public Handle getHandleByCode(String code)
- Specified by:
getHandleByCode
in interfaceHandleManager
-
reindexAll
public void reindexAll()
- Specified by:
reindexAll
in interfaceHandleManager
-
-