public class StageDAO extends Object
Constructor and Description |
---|
StageDAO() |
Modifier and Type | Method and Description |
---|---|
void |
create(StageEntity stageEntity) |
List<StageEntity> |
findAll() |
StageEntity |
findByActionId(String actionId) |
List<StageEntity> |
findByCommandStatuses(Collection<HostRoleStatus> statuses) |
StageEntity |
findByPK(StageEntityPK stageEntityPK) |
List<StageEntity> |
findByRequestId(long requestId) |
Map<Long,String> |
findRequestContext(List<Long> requestIds) |
String |
findRequestContext(long requestId) |
long |
getLastRequestId() |
StageEntity |
merge(StageEntity stageEntity) |
void |
remove(StageEntity stageEntity) |
void |
removeByPK(StageEntityPK stageEntityPK) |
public StageEntity findByPK(StageEntityPK stageEntityPK)
public List<StageEntity> findAll()
public long getLastRequestId()
public StageEntity findByActionId(String actionId)
public List<StageEntity> findByRequestId(long requestId)
public List<StageEntity> findByCommandStatuses(Collection<HostRoleStatus> statuses)
public String findRequestContext(long requestId)
public void create(StageEntity stageEntity)
public StageEntity merge(StageEntity stageEntity)
public void remove(StageEntity stageEntity)
public void removeByPK(StageEntityPK stageEntityPK)
Copyright © 2016. All rights reserved.