com.dotmarketing.factories
Class PublishFactory

java.lang.Object
  extended by com.dotmarketing.factories.PublishFactory

public class PublishFactory
extends java.lang.Object

Author:
maria, david (2005)

Constructor Summary
PublishFactory()
           
 
Method Summary
static java.util.List getRelatedAssets(Inode webAsset, java.util.List relatedAssets)
           
static void publishAllLiveAssets()
           
static boolean publishAsset(Inode webAsset, HttpServletRequest req)
          This method publish an asset and its dependencies based on the permissions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublishFactory

public PublishFactory()
Method Detail

publishAsset

public static boolean publishAsset(Inode webAsset,
                                   HttpServletRequest req)
This method publish an asset and its dependencies based on the permissions

Parameters:
webAsset - Asset to be publish
req -
Returns:
true if the asset was published, false if not

publishAllLiveAssets

public static void publishAllLiveAssets()

getRelatedAssets

public static java.util.List getRelatedAssets(Inode webAsset,
                                              java.util.List relatedAssets)


Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.