} else if (CalendarEntityType.isCenter(entityType)) {
clients = this.clientReadPlatformService.retrieveActiveClientMembersOfCenter(entityId);
} else {
final String defaultUserMessage = "Meeting attendance is not supported for the resource " + entityType
+ ". The supported resources are [" + CalendarEntityType.GROUPS.name() + ", " + CalendarEntityType.CENTERS.name() + "]";
throw new MeetingNotSupportedResourceException(defaultUserMessage, CalendarEntityType.GROUPS.name(),
CalendarEntityType.CENTERS.name());
}
if (calendarId != null) {
calendarData = this.calendarReadPlatformService.retrieveCalendar(calendarId, entityId, entityTypeId);