Class GraphContainerDaoImpl
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- org.opennms.netmgt.graph.dao.hibernate.GraphContainerDaoImpl
-
- All Implemented Interfaces:
GraphContainerDao,org.springframework.beans.factory.InitializingBean
@Transactional public class GraphContainerDaoImpl extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements GraphContainerDao
-
-
Constructor Summary
Constructors Constructor Description GraphContainerDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(java.lang.String containerId)Looks up the given entity by its container id and afterwards deletes that entity.GraphContainerEntityfindContainerById(java.lang.String containerId)Returns the GraphContainerEntity identified by the containerId.GraphContainerEntityfindContainerInfoById(java.lang.String containerId)Returns the GraphContainerEntity, but only populating the properties.voidsave(GraphContainerEntity graphContainerEntity)Saves or Updates the entity.voidupdate(GraphContainerEntity graphContainerEntity)Updates the given entity
-
-
-
Method Detail
-
save
public void save(GraphContainerEntity graphContainerEntity)
Description copied from interface:GraphContainerDaoSaves or Updates the entity.- Specified by:
savein interfaceGraphContainerDao- Parameters:
graphContainerEntity- The entity to save or update
-
update
public void update(GraphContainerEntity graphContainerEntity)
Description copied from interface:GraphContainerDaoUpdates the given entity- Specified by:
updatein interfaceGraphContainerDao
-
findContainerById
public GraphContainerEntity findContainerById(java.lang.String containerId)
Description copied from interface:GraphContainerDaoReturns the GraphContainerEntity identified by the containerId. It is not fully populated.- Specified by:
findContainerByIdin interfaceGraphContainerDao- Parameters:
containerId- The containerId of the entity- Returns:
- The container or null
-
findContainerInfoById
public GraphContainerEntity findContainerInfoById(java.lang.String containerId)
Description copied from interface:GraphContainerDaoReturns the GraphContainerEntity, but only populating the properties. Vertices and Edges are not initialized.- Specified by:
findContainerInfoByIdin interfaceGraphContainerDao- Parameters:
containerId- The container id of the entity- Returns:
-
delete
public void delete(java.lang.String containerId)
Description copied from interface:GraphContainerDaoLooks up the given entity by its container id and afterwards deletes that entity.- Specified by:
deletein interfaceGraphContainerDao- Parameters:
containerId- the container id of the entity.
-
-