Package net.naijatek.myalumni.framework.exceptions

Examples of net.naijatek.myalumni.framework.exceptions.MyAlumniException


  public void hardDeleteObject(String id) throws MyAlumniException {
    try{
      hardDelete(load(MemberVO.class, id));
    } catch(Exception e){
      throw new MyAlumniException("Could not delete Black List because " + e.getMessage());
    }
  }
View Full Code Here


    try{
      MemberVO o = (MemberVO) getHibernateTemplate().get(MemberVO.class, id);
      o.setMemberStatus(BaseConstants.ACCOUNT_DELETED);     
      softDelete(o, lastModifiedBy);
    } catch(Exception e){
      throw new MyAlumniException("Could not delete member because " + e.getMessage());
    }
  }
View Full Code Here

       
        try {
           MemberVO memberVO = getMember(memberId);
           hardDelete(memberVO);
        } catch (Exception e) {
            throw new MyAlumniException("Unable to delete user because " + e.getMessage());
        }
    }
View Full Code Here

          SystemConfigVO sysConfig = sysConfigDao.getSystemConfig();
       
          SendMailUtil.sendPasswordReminderMail(memberVO.getEmail(), memberVO.getMemberUserName(), newPasswd, sysConfig);
        }
        else{
          throw new MyAlumniException("Unable to resetPassword, user not found ");
        }
        } catch (Exception e) {
            throw new MyAlumniException("Unable to resetPassword because " + e.getMessage());
        }
   }
View Full Code Here

  public void hardDeleteObject(String id) throws MyAlumniException {
    try{
      hardDelete(load(MessageFolderVO.class, id));
    } catch(Exception e){
      throw new MyAlumniException("Could not delete message folder because " + e.getMessage());
    }
  }
View Full Code Here

 
  public void softDeleteObject(String id, String lastModifiedBy) throws MyAlumniException {
    try{
      softDelete(load(MessageFolderVO.class, id), lastModifiedBy);
    } catch(Exception e){
      throw new MyAlumniException("Could not delete message Folder because " + e.getMessage());
    }
  }
View Full Code Here

    try{
      for (MessengerVO messengerVO : list){
        hardDelete(load(MessengerVO.class, messengerVO.getMemberMessengerId()));
      }
    } catch(Exception e){
      throw new MyAlumniException("Could not delete message folder because " + e.getMessage());
    }
  }
View Full Code Here

  public void hardDeleteObject(String id) throws MyAlumniException {
    try{
      hardDelete(load(ClassNewsVO.class, id));
    } catch(Exception e){
      throw new MyAlumniException("Could not delete ClassNewsVO because " + e.getMessage());
    }
  }
View Full Code Here

  public void softDeleteObject(String id, String lastModifiedBy) throws MyAlumniException {
    try{
      softDelete(load(ClassNewsVO.class, id), lastModifiedBy);
    } catch(Exception e){
      throw new MyAlumniException("Could not delete class news because " + e.getMessage());
    }
  }
View Full Code Here

  public void hardDeleteObject(String id) throws MyAlumniException {
    try{
      hardDelete(load(XlatGroupVO.class, id));
    } catch(Exception e){
      throw new MyAlumniException("Could not delete system group because " + e.getMessage());
    }
  }
View Full Code Here

TOP

Related Classes of net.naijatek.myalumni.framework.exceptions.MyAlumniException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.