public interface IUpdateTaskStateResourceQueueService
| Modifier and Type | Method and Description |
|---|---|
void |
create(UpdateTaskStateResourceQueue updateResourceQueue)
Create a new updateResourceQueue
|
void |
delete(int nIdResourceHistory,
int nIdTask)
Delete updateResourceQueue by history and task
|
void |
delete(int nIdResource,
String strResourceType)
Delete updateResourceQueue by task
|
void |
deleteByIdTask(int nIdTask)
Delete updateResourceQueue by task
|
void |
doChangeState(UpdateTaskStateResourceConfig config,
UpdateTaskStateResourceQueue updateResourceQueue)
Do change the task state
|
UpdateTaskStateResourceQueue |
find(int nIdResourceHistory,
int nIdTask)
Find all the UpdateResourceQueue
|
UpdateTaskStateResourceQueue |
find(int nIdResource,
String strResourceType)
Find all the UpdateResourceQueue
|
List<UpdateTaskStateResourceQueue> |
findAllActived()
Find all the UpdateResourceQueue actived
|
List<UpdateTaskStateResourceQueue> |
findAllDisabled()
Find all the UpdateResourceQueue disabled
|
boolean |
isVotingGoalValid(UpdateTaskStateResourceConfig config,
UpdateTaskStateResourceQueue updateResourceQueue)
checks if the resource has reached its goal
|
void |
update(UpdateTaskStateResourceQueue updateResourceQueue)
Update a updateResourceQueue
|
void create(UpdateTaskStateResourceQueue updateResourceQueue)
updateResourceQueue - the updateResourceQueuevoid update(UpdateTaskStateResourceQueue updateResourceQueue)
updateResourceQueue - the updateResourceQueuevoid delete(int nIdResourceHistory,
int nIdTask)
nIdResourceHistory - the History idnIdTask - the task idvoid deleteByIdTask(int nIdTask)
nIdTask - the task idvoid delete(int nIdResource,
String strResourceType)
nIdResource - the resource idstrResourceType - the resource idList<UpdateTaskStateResourceQueue> findAllActived()
UpdateTaskStateResourceQueueList<UpdateTaskStateResourceQueue> findAllDisabled()
UpdateTaskStateResourceQueueUpdateTaskStateResourceQueue find(int nIdResourceHistory, int nIdTask)
UpdateTaskStateResourceQueueUpdateTaskStateResourceQueue find(int nIdResource, String strResourceType)
UpdateTaskStateResourceQueueboolean isVotingGoalValid(UpdateTaskStateResourceConfig config, UpdateTaskStateResourceQueue updateResourceQueue)
config - the configupdateResourceQueue - the updateResourceQueuevoid doChangeState(UpdateTaskStateResourceConfig config, UpdateTaskStateResourceQueue updateResourceQueue)
config - the configupdateResourceQueue - the updateResourceQueueCopyright © 2022 City of Paris. All rights reserved.