@AccessLevel(value=EXTERNAL)
public interface UserTaskAllocationBlocking
Modifier and Type | Method and Description |
---|---|
void |
blockTaskAllocationForUser(curam.core.sl.struct.TaskAllocationBlockingCreateDetails key)
Creates a task allocation blocking record for the specified user.
|
void |
clearTaskAllocationBlockForUser(curam.core.sl.supervisor.struct.TaskAllocationBlockingDetails key)
Clears an active or pending task allocation blocking record.
|
curam.core.facade.struct.AllTaskAllocationBlockingPeriodsForUserDetailsList |
listTaskAllocationBlockingHistoryForUser(curam.core.struct.UserNameKey key)
Returns a list of the task allocation blocking details for a specified
user.
|
void blockTaskAllocationForUser(curam.core.sl.struct.TaskAllocationBlockingCreateDetails key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
The following validations are invoked by this operation:
key
- The details of the new task allocation blocking period.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.AllTaskAllocationBlockingPeriodsForUserDetailsList listTaskAllocationBlockingHistoryForUser(curam.core.struct.UserNameKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- The name of the user whose task allocation blocking period
details will be returned. If a user name is not specified, the currently
logged in user will be used.curam.util.exception.AppException
curam.util.exception.InformationalException
void clearTaskAllocationBlockForUser(curam.core.sl.supervisor.struct.TaskAllocationBlockingDetails key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- The details of the task allocation blocking period to clear.curam.util.exception.AppException
curam.util.exception.InformationalException