this.authorizationId = authorizationId;
}
public Void execute(CommandContext commandContext) {
final AuthorizationManager authorizationManager = commandContext.getAuthorizationManager();
AuthorizationEntity authorization = (AuthorizationEntity) new AuthorizationQueryImpl(commandContext)
.authorizationId(authorizationId)
.singleResult();
ensureNotNull("Authorization for Id '" + authorizationId + "' does not exist", "authorization", authorization);
authorizationManager.delete(authorization);
return null;
}