@Override
public ActionVO<Integer, Integer> convertTypedActionVO(Integer tenantId,
ActionVO<Integer, String> typedAction) {
if (typedAction == null) {
return null;
}
return new ActionVO<Integer, Integer>(
typedAction.getId(), typedAction.getTenant(), typedAction.getUser(), typedAction.getSessionId(),
typedAction.getIp(), convertTypedItemVO(tenantId, typedAction.getItem()),
actionTypeDAO.getIdOfType(tenantId, typedAction.getActionType()), typedAction.getRatingValue(),
typedAction.getSearchSucceeded(), typedAction.getNumberOfFoundItems(), typedAction.getDescription(),
typedAction.getActionTime());
}