public class HostDAO extends Object
Constructor and Description |
---|
HostDAO() |
Modifier and Type | Method and Description |
---|---|
void |
create(HostEntity hostEntity) |
List<HostEntity> |
findAll() |
HostEntity |
findByName(String hostName) |
List<HostEntity> |
findByStage(StageEntity stageEntity) |
HostEntity |
merge(HostEntity hostEntity) |
void |
refresh(HostEntity hostEntity)
Refreshes entity state from database
|
void |
remove(HostEntity hostEntity) |
void |
removeByName(String hostName) |
public HostEntity findByName(String hostName)
public List<HostEntity> findAll()
public List<HostEntity> findByStage(StageEntity stageEntity)
public void refresh(HostEntity hostEntity)
hostEntity
- entity to refreshpublic void create(HostEntity hostEntity)
public HostEntity merge(HostEntity hostEntity)
public void remove(HostEntity hostEntity)
public void removeByName(String hostName)
Copyright © 2017. All rights reserved.