public class HostRoleCommandDAO extends Object
Constructor and Description |
---|
HostRoleCommandDAO() |
public HostRoleCommandEntity findByPK(long taskId)
public List<HostRoleCommandEntity> findByPKs(Collection<Long> taskIds)
public List<HostRoleCommandEntity> findByRequestIds(Collection<Long> requestIds)
public List<Long> findTaskIdsByRequestIds(Collection<Long> requestIds)
public List<HostRoleCommandEntity> findByRequestAndTaskIds(Collection<Long> requestIds, Collection<Long> taskIds)
public List<Long> findTaskIdsByRequestAndTaskIds(Collection<Long> requestIds, Collection<Long> taskIds)
public List<HostRoleCommandEntity> findSortedCommandsByStageAndHost(StageEntity stageEntity, HostEntity hostEntity)
public Map<String,List<HostRoleCommandEntity>> findSortedCommandsByStage(StageEntity stageEntity)
public List<HostRoleCommandEntity> findByHostRole(String hostName, long requestId, long stageId, String role)
public List<HostRoleCommandEntity> findByRequest(long requestId)
public List<HostRoleCommandEntity> findAll()
public List<Long> getRequestsByTaskStatus(Collection<HostRoleStatus> statuses, boolean match, boolean checkAllTasks)
public int updateStatusByRequestId(long requestId, HostRoleStatus target, Collection<HostRoleStatus> sources)
public void create(HostRoleCommandEntity stageEntity)
public HostRoleCommandEntity merge(HostRoleCommandEntity stageEntity)
public List<HostRoleCommandEntity> mergeAll(Collection<HostRoleCommandEntity> entities)
public void remove(HostRoleCommandEntity stageEntity)
public void removeByPK(int taskId)
Copyright © 2017. All rights reserved.