Interface CloseOperationBuilder.WithTicket.WithTransactionCode
-
- Enclosing interface:
- CloseOperationBuilder.WithTicket
public static interface CloseOperationBuilder.WithTicket.WithTransactionCode
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
CloseOperationBuilder.WithTicket.WithTransactionCode.AsAgent
static interface
CloseOperationBuilder.WithTicket.WithTransactionCode.AsSupervisor
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CloseOperationBuilder.WithTicket.WithTransactionCode.AsAgent
agent(User user)
CloseOperationBuilder.WithTicket.WithTransactionCode.AsSupervisor
supervisor(User user)
-
-
-
Method Detail
-
supervisor
CloseOperationBuilder.WithTicket.WithTransactionCode.AsSupervisor supervisor(User user) throws ValidationException
- Parameters:
user
- the user executing the operation- Returns:
- the CloseOperationBuilder.WithTicket.WithTransactionCode.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.WithTransactionCode.AsAgent agent(User user) throws ValidationException
- Parameters:
user
- the user executing the operation- Returns:
- the CloseOperationBuilder.WithTicket.WithTransactionCode.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
-
-