Package org.j2cms.model.config

Examples of org.j2cms.model.config.Flash


  }
 
  @Test public void save(){
   
    for(int i=1;i<6;i++){
      Flash flash = new Flash();
      flash.setTitle("图片"+i);
      flash.setImageURL("/template/j2cms/images/imageNews/"+i+".jpg");
      flash.setLinkURL("http://www.yetnet.cn");
      flashService.save(flash);
    }
   
  }
View Full Code Here


      flashService.save(flash);
    }
   
  }
  @Test public void update(){
    Flash flash = flashService.find(1);
    flash.setTitle("图片11");
    flashService.update(flash);
  }
View Full Code Here

TOP

Related Classes of org.j2cms.model.config.Flash

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.