use of org.openkilda.log.model.ActivityTypeInfo in project open-kilda by telstra.
the class UserActivityLogService method getActivityInfo.
/**
* Gets the activity types and users info.
*
* @return the ActivityInfo
*/
public ActivityInfo getActivityInfo() {
ActivityInfo activityInfo = new ActivityInfo();
List<ActivityTypeInfo> activityTypeInfos = LogConversionUtil.getActivityTypeInfo();
List<UserInfo> userInfos = userService.getAllUsers();
activityInfo.setActivityTypeInfo(activityTypeInfos);
activityInfo.setUserInfo(userInfos);
return activityInfo;
}
Aggregations