Examples of WebAsset


Examples of com.dotmarketing.beans.WebAsset

          if(id!=null && id.getAssetType().equals("contentlet")){
            Contentlet cont  = APILocator.getContentletAPI().find(inode, user, false);
            APILocator.getContentletAPI().unpublish(cont, user, false);
            ret = true;
          }else{
            WebAsset asset = (WebAsset) InodeFactory.getInode(inode, Inode.class);
            Folder parent = (Folder)folderAPI.findParentFolder(asset, user, false);
            ret = WebAssetFactory.unPublishAsset(asset, user.getUserId(), parent);
          }
          HibernateUtil.commitTransaction();
      }catch(Exception 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.