Class UserDefinedLinkDaoImpl
- java.lang.Object
-
- org.opennms.features.apilayer.topology.UserDefinedLinkDaoImpl
-
- All Implemented Interfaces:
org.opennms.integration.api.v1.topology.UserDefinedLinkDao
public class UserDefinedLinkDaoImpl extends java.lang.Object implements org.opennms.integration.api.v1.topology.UserDefinedLinkDao
-
-
Constructor Summary
Constructors Constructor Description UserDefinedLinkDaoImpl(UserDefinedLinkDao userDefinedLinkDao, UserDefinedLinkTopologyService userDefinedLinkTopologyService, SessionUtils sessionUtils)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(java.util.Collection<org.opennms.integration.api.v1.topology.UserDefinedLink> links)
void
delete(org.opennms.integration.api.v1.topology.UserDefinedLink link)
java.util.List<org.opennms.integration.api.v1.topology.UserDefinedLink>
getInLinks(int nodeIdZ)
java.util.List<org.opennms.integration.api.v1.topology.UserDefinedLink>
getLinks()
java.util.List<org.opennms.integration.api.v1.topology.UserDefinedLink>
getLinksWithLabel(java.lang.String label)
java.util.List<org.opennms.integration.api.v1.topology.UserDefinedLink>
getOutLinks(int nodeIdA)
org.opennms.integration.api.v1.topology.UserDefinedLink
saveOrUpdate(org.opennms.integration.api.v1.topology.UserDefinedLink link)
protected static org.opennms.integration.api.v1.topology.UserDefinedLink
toApiLink(UserDefinedLink modelLink)
protected static UserDefinedLink
toModelLink(org.opennms.integration.api.v1.topology.UserDefinedLink apiLink)
-
-
-
Constructor Detail
-
UserDefinedLinkDaoImpl
public UserDefinedLinkDaoImpl(UserDefinedLinkDao userDefinedLinkDao, UserDefinedLinkTopologyService userDefinedLinkTopologyService, SessionUtils sessionUtils)
-
-
Method Detail
-
getLinks
public java.util.List<org.opennms.integration.api.v1.topology.UserDefinedLink> getLinks()
- Specified by:
getLinks
in interfaceorg.opennms.integration.api.v1.topology.UserDefinedLinkDao
-
getOutLinks
public java.util.List<org.opennms.integration.api.v1.topology.UserDefinedLink> getOutLinks(int nodeIdA)
- Specified by:
getOutLinks
in interfaceorg.opennms.integration.api.v1.topology.UserDefinedLinkDao
-
getInLinks
public java.util.List<org.opennms.integration.api.v1.topology.UserDefinedLink> getInLinks(int nodeIdZ)
- Specified by:
getInLinks
in interfaceorg.opennms.integration.api.v1.topology.UserDefinedLinkDao
-
getLinksWithLabel
public java.util.List<org.opennms.integration.api.v1.topology.UserDefinedLink> getLinksWithLabel(java.lang.String label)
- Specified by:
getLinksWithLabel
in interfaceorg.opennms.integration.api.v1.topology.UserDefinedLinkDao
-
saveOrUpdate
public org.opennms.integration.api.v1.topology.UserDefinedLink saveOrUpdate(org.opennms.integration.api.v1.topology.UserDefinedLink link)
- Specified by:
saveOrUpdate
in interfaceorg.opennms.integration.api.v1.topology.UserDefinedLinkDao
-
delete
public void delete(org.opennms.integration.api.v1.topology.UserDefinedLink link)
- Specified by:
delete
in interfaceorg.opennms.integration.api.v1.topology.UserDefinedLinkDao
-
delete
public void delete(java.util.Collection<org.opennms.integration.api.v1.topology.UserDefinedLink> links)
- Specified by:
delete
in interfaceorg.opennms.integration.api.v1.topology.UserDefinedLinkDao
-
toApiLink
protected static org.opennms.integration.api.v1.topology.UserDefinedLink toApiLink(UserDefinedLink modelLink)
-
toModelLink
protected static UserDefinedLink toModelLink(org.opennms.integration.api.v1.topology.UserDefinedLink apiLink)
-
-