Package com.dotmarketing.portlets.contentlet.business

Examples of com.dotmarketing.portlets.contentlet.business.ContentletAPI.deleteVersion()


    conAPI = APILocator.getContentletAPI();
    ActionResponseImpl resImpl = (ActionResponseImpl) res;
    // calls the Contentlet API delete the container version
    try{
      //conAPI.delete(webAsset, user, false, false);
      conAPI.deleteVersion(webAsset,user,false);


    }catch(Exception e){
      resImpl.getHttpServletResponse().getWriter().println("FAILURE:" + LanguageUtil.get(user, "message.contentlet.delete.live_or_working"));
    }
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.