Interface CloseOperationBuilder.WithTicket.WithTransactionCode
- Enclosing interface:
CloseOperationBuilder.WithTicket
public static interface CloseOperationBuilder.WithTicket.WithTransactionCode
Builder stage that holds the selected transaction code.
- Since:
- 11.28
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder stage for agent-executed ticket close operations with transaction code.static interfaceBuilder stage for supervisor-executed ticket close operations with transaction code. -
Method Summary
Modifier and TypeMethodDescriptionSets the agent user for this close operation.supervisor(User user) Sets the supervisor user for this close operation.
-
Method Details
-
supervisor
CloseOperationBuilder.WithTicket.WithTransactionCode.AsSupervisor supervisor(User user) throws ValidationException Sets the supervisor user for this close operation.- 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 Sets the agent user for this close operation.- 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
-