/** Delete interactionType. */
 public void deleteEntity(InteractionType interactionType) {
   interactionTypeDAO.delete(interactionType);
 }
 /** Update interactionType. */
 public void updateEntity(InteractionType interactionType) {
   interactionTypeDAO.update(interactionType);
 }
 /**
  * Get interactionType by primary key.
  *
  * @return interactionType selected by id.
  */
 public InteractionType getEntityById(int id) {
   return interactionTypeDAO.getById(id);
 }
 /** Insert interactionType. */
 public void insertEntity(InteractionType interactionType) {
   interactionTypeDAO.insert(interactionType);
 }
 /**
  * List interactionTypes.
  *
  * @param search search filter to apply
  * @param sort sorting criteria
  * @return the list of all interactionTypes sorted by requested criterion
  */
 public List<InteractionType> getAllEntities(InteractionTypeSearch search, SortCriteria sort) {
   return interactionTypeDAO.search(search, sort);
 }