8384858687888990919293
@Transactional public void activateTenant(ActivateTenantCommand aCommand) { Tenant tenant = this.existingTenant(aCommand.getTenantId()); tenant.activate(); } @Transactional public void addGroupToGroup(AddGroupToGroupCommand aCommand) { Group parentGroup =