Class BusinessServiceImpl
- java.lang.Object
-
- org.opennms.netmgt.bsm.service.internal.BusinessServiceImpl
-
- All Implemented Interfaces:
BusinessService
public class BusinessServiceImpl extends Object implements BusinessService
-
-
Constructor Summary
Constructors Constructor Description BusinessServiceImpl(BusinessServiceManager manager, BusinessServiceEntity entity)
-
Method Summary
-
-
-
Constructor Detail
-
BusinessServiceImpl
public BusinessServiceImpl(BusinessServiceManager manager, BusinessServiceEntity entity)
-
-
Method Detail
-
getEntity
public BusinessServiceEntity getEntity()
-
getId
public Long getId()
- Specified by:
getId
in interfaceBusinessService
-
getName
public String getName()
- Specified by:
getName
in interfaceBusinessService
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceBusinessService
-
getAttributes
public Map<String,String> getAttributes()
- Specified by:
getAttributes
in interfaceBusinessService
-
setAttributes
public void setAttributes(Map<String,String> attributes)
- Specified by:
setAttributes
in interfaceBusinessService
-
getChildServices
public Set<BusinessService> getChildServices()
- Specified by:
getChildServices
in interfaceBusinessService
-
getParentServices
public Set<BusinessService> getParentServices()
- Specified by:
getParentServices
in interfaceBusinessService
-
save
public void save()
- Specified by:
save
in interfaceBusinessService
-
delete
public void delete()
- Specified by:
delete
in interfaceBusinessService
-
getOperationalStatus
public Status getOperationalStatus()
- Specified by:
getOperationalStatus
in interfaceBusinessService
-
getReduceFunction
public ReductionFunction getReduceFunction()
- Specified by:
getReduceFunction
in interfaceBusinessService
-
setReduceFunction
public void setReduceFunction(ReductionFunction reductionFunction)
- Specified by:
setReduceFunction
in interfaceBusinessService
-
getEdges
public Set<Edge> getEdges()
- Specified by:
getEdges
in interfaceBusinessService
-
getIpServiceEdges
public Set<IpServiceEdge> getIpServiceEdges()
- Specified by:
getIpServiceEdges
in interfaceBusinessService
-
setIpServiceEdges
public void setIpServiceEdges(Set<IpServiceEdge> ipServiceEdges)
- Specified by:
setIpServiceEdges
in interfaceBusinessService
-
addIpServiceEdge
public void addIpServiceEdge(IpService ipService, MapFunction mapFunction, int weight, String friendlyName)
- Specified by:
addIpServiceEdge
in interfaceBusinessService
-
getApplicationEdges
public Set<ApplicationEdge> getApplicationEdges()
- Specified by:
getApplicationEdges
in interfaceBusinessService
-
setApplicationEdges
public void setApplicationEdges(Set<ApplicationEdge> applicationEdges)
- Specified by:
setApplicationEdges
in interfaceBusinessService
-
addApplicationEdge
public void addApplicationEdge(Application application, MapFunction mapFunction, int weight)
- Specified by:
addApplicationEdge
in interfaceBusinessService
-
getReductionKeyEdges
public Set<ReductionKeyEdge> getReductionKeyEdges()
- Specified by:
getReductionKeyEdges
in interfaceBusinessService
-
setReductionKeyEdges
public void setReductionKeyEdges(Set<ReductionKeyEdge> reductionKeyEdges)
- Specified by:
setReductionKeyEdges
in interfaceBusinessService
-
addReductionKeyEdge
public void addReductionKeyEdge(String reductionKey, MapFunction mapFunction, int weight, String friendlyName)
- Specified by:
addReductionKeyEdge
in interfaceBusinessService
-
getChildEdges
public Set<ChildEdge> getChildEdges()
- Specified by:
getChildEdges
in interfaceBusinessService
-
setChildEdges
public void setChildEdges(Set<ChildEdge> childEdges)
- Specified by:
setChildEdges
in interfaceBusinessService
-
addChildEdge
public void addChildEdge(BusinessService child, MapFunction mapFunction, int weight)
- Specified by:
addChildEdge
in interfaceBusinessService
-
removeEdge
public void removeEdge(Edge edge)
- Specified by:
removeEdge
in interfaceBusinessService
-
-