Class DefaultTopologyService
- java.lang.Object
-
- org.opennms.features.topology.app.internal.service.DefaultTopologyService
-
- All Implemented Interfaces:
TopologyCache
,TopologyService
public class DefaultTopologyService extends java.lang.Object implements TopologyService
- Author:
- mvrueden
-
-
Constructor Summary
Constructors Constructor Description DefaultTopologyService()
DefaultTopologyService(long cacheTimeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Graph
getGraph(java.lang.String metaTopologyId, java.lang.String namespace, Criteria[] criteria, int semanticZoomLevel)
GraphProvider
getGraphProvider(java.lang.String metaTopologyId, java.lang.String namespace)
MetaTopologyProvider
getMetaTopologyProvider(java.lang.String metaTopologyId)
LayoutAlgorithm
getPreferredLayoutAlgorithm(java.lang.String metaTopologyId, java.lang.String namespace)
void
invalidate(java.lang.String namespace)
void
invalidate(java.lang.String metaTopologyId, java.lang.String namespace)
void
invalidateAll()
boolean
isCategoryAware(java.lang.String namespace)
void
setServiceLocator(ServiceLocator serviceLocator)
void
setTopologyEntityCache(TopologyEntityCache topologyEntityCache)
-
-
-
Method Detail
-
getGraph
public Graph getGraph(java.lang.String metaTopologyId, java.lang.String namespace, Criteria[] criteria, int semanticZoomLevel)
- Specified by:
getGraph
in interfaceTopologyService
-
getGraphProvider
public GraphProvider getGraphProvider(java.lang.String metaTopologyId, java.lang.String namespace)
- Specified by:
getGraphProvider
in interfaceTopologyService
-
getPreferredLayoutAlgorithm
public LayoutAlgorithm getPreferredLayoutAlgorithm(java.lang.String metaTopologyId, java.lang.String namespace)
- Specified by:
getPreferredLayoutAlgorithm
in interfaceTopologyService
-
getMetaTopologyProvider
public MetaTopologyProvider getMetaTopologyProvider(java.lang.String metaTopologyId) throws NoSuchProviderException
- Specified by:
getMetaTopologyProvider
in interfaceTopologyService
- Throws:
NoSuchProviderException
-
isCategoryAware
public boolean isCategoryAware(java.lang.String namespace)
- Specified by:
isCategoryAware
in interfaceTopologyService
-
setServiceLocator
public void setServiceLocator(ServiceLocator serviceLocator)
-
setTopologyEntityCache
public void setTopologyEntityCache(TopologyEntityCache topologyEntityCache)
-
invalidate
public void invalidate(java.lang.String namespace)
- Specified by:
invalidate
in interfaceTopologyCache
-
invalidate
public void invalidate(java.lang.String metaTopologyId, java.lang.String namespace)
- Specified by:
invalidate
in interfaceTopologyCache
-
invalidateAll
public void invalidateAll()
- Specified by:
invalidateAll
in interfaceTopologyCache
-
-