/** {@inheritDoc}} */
 public boolean saveAllPurposeItemAccess(AssignmentAllPurposeItemAccess access) {
   try {
     getHibernateTemplate().saveOrUpdate(access);
     return true;
   } catch (DataAccessException e) {
     e.printStackTrace();
     Log.warn(
         this
             + ".saveAllPurposeItemAccess() Hibernate could not save access "
             + access.getAccess()
             + " for "
             + access.getAssignmentAllPurposeItem().getTitle());
     return false;
   }
 }
  /** {@inheritDoc}} */
  public boolean removeAllPurposeItemAccess(AssignmentAllPurposeItemAccess access) {

    try {
      getHibernateTemplate().delete(access);
      return true;
    } catch (DataAccessException e) {
      e.printStackTrace();
      Log.warn(
          this
              + ".removeAllPurposeItemAccess() Hibernate could not delete access for all purpose item "
              + access.getAssignmentAllPurposeItem().getId()
              + " for access"
              + access.getAccess());
      return false;
    }
  }