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 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(Collection<org.opennms.integration.api.v1.topology.UserDefinedLink> links)
void
delete(org.opennms.integration.api.v1.topology.UserDefinedLink link)
List<org.opennms.integration.api.v1.topology.UserDefinedLink>
getInLinks(int nodeIdZ)
List<org.opennms.integration.api.v1.topology.UserDefinedLink>
getLinks()
List<org.opennms.integration.api.v1.topology.UserDefinedLink>
getLinksWithLabel(String label)
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 List<org.opennms.integration.api.v1.topology.UserDefinedLink> getLinks()
- Specified by:
getLinks
in interfaceorg.opennms.integration.api.v1.topology.UserDefinedLinkDao
-
getOutLinks
public List<org.opennms.integration.api.v1.topology.UserDefinedLink> getOutLinks(int nodeIdA)
- Specified by:
getOutLinks
in interfaceorg.opennms.integration.api.v1.topology.UserDefinedLinkDao
-
getInLinks
public List<org.opennms.integration.api.v1.topology.UserDefinedLink> getInLinks(int nodeIdZ)
- Specified by:
getInLinks
in interfaceorg.opennms.integration.api.v1.topology.UserDefinedLinkDao
-
getLinksWithLabel
public List<org.opennms.integration.api.v1.topology.UserDefinedLink> getLinksWithLabel(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(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)
-
-