Interface CloseOperationBuilder.WithTicket
-
- Enclosing interface:
- CloseOperationBuilder
public static interface CloseOperationBuilder.WithTicket
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
CloseOperationBuilder.WithTicket.AsAgent
static interface
CloseOperationBuilder.WithTicket.AsSupervisor
static interface
CloseOperationBuilder.WithTicket.WithTransactionCode
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CloseOperationBuilder.WithTicket.AsAgent
agent(User user)
CloseOperationBuilder.WithTicket.AsSupervisor
supervisor(User user)
CloseOperationBuilder.WithTicket.WithTransactionCode
transactionCode(TransactionCode transactionCode)
-
-
-
Method Detail
-
transactionCode
CloseOperationBuilder.WithTicket.WithTransactionCode transactionCode(TransactionCode transactionCode) throws ValidationException
- Parameters:
transactionCode
- the transaction code for the close operation.- Returns:
- the CloseOperationBuilder.WithTicket.WithTransactionCode
- Throws:
ValidationException
- e.g. if the transaction code is invalid or the transaction code is not assigned to the category of the ticket.- Since:
- 11.28
-
supervisor
CloseOperationBuilder.WithTicket.AsSupervisor supervisor(User user) throws ValidationException
- Parameters:
user
- the user executing the operation- Returns:
- the CloseOperationBuilder.WithTicket.AsSupervisor
- Throws:
ValidationException
- e.g. if the specified user is invalid, deleted or not a supervisor for the category of the ticket or the ticket is in a state which disallows being closed by a supervisor.- Since:
- 11.28
-
agent
CloseOperationBuilder.WithTicket.AsAgent agent(User user) throws ValidationException
- Parameters:
user
- the user executing the operation- Returns:
- the CloseOperationBuilder.WithTicket.AsAgent
- Throws:
ValidationException
- e.g. if the specified user is invalid, deleted, not logged in, not an agent or the ticket is not in the inbox of the user.- Since:
- 11.28
-
-