Package com.centraview.cvattic

Examples of com.centraview.cvattic.CvAttic.restore()


    try {
      CvAtticHome home=(CvAtticHome)CVUtility.getHomeObject("com.centraview.cvattic.CvAtticHome","CvAttic");//call to FaqEJB
      CvAttic admin=(CvAttic)home.create();
      admin.setDataSource(this.dataSource);

      admin.restore(1,elementID,Constants.CV_ATTIC);
      // TODO the restore method needs to take the invidualID and pass it on, fubar user-rights
    }
    catch(Exception e)
    {
      System.out.println("[Exception][AtticList.restoreElement] Exception Thrown: "+e);
View Full Code Here


    try
    {
      CvAtticHome home=(CvAtticHome)CVUtility.getHomeObject("com.centraview.cvattic.CvAtticHome","CvAttic");//call to FaqEJB
      CvAttic admin=(CvAttic)home.create();
      admin.setDataSource(this.dataSource);
      admin.restore(1,elementID,Constants.CV_GARBAGE);
      //TODO fix user rights on restore!
    }
    catch(Exception e)
    {
      System.out.println("[Exception][GarbageList.restoreElement] Exception Thrown: "+e);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.