Liferay 6.0.5

com.liferay.portlet.assetpublisher.util
Class AssetPublisherUtil

java.lang.Object
  extended by com.liferay.portlet.assetpublisher.util.AssetPublisherUtil

public class AssetPublisherUtil
extends Object


Constructor Summary
AssetPublisherUtil()
           
 
Method Summary
static void addAndStoreSelection(ActionRequest actionRequest, String className, long classPK, int assetEntryOrder)
           
static void addRecentFolderId(PortletRequest portletRequest, String className, long classPK)
           
static void addSelection(ActionRequest actionRequest, PortletPreferences preferences)
           
static void addSelection(String assetEntryType, long assetEntryId, int assetEntryOrder, PortletPreferences preferences)
           
static AssetEntryQuery getAssetEntryQuery(PortletPreferences preferences, long scopeGroupId)
           
static String[] getAssetTagNames(PortletPreferences preferences, long scopeGroupId)
           
static long[] getClassNameIds(PortletPreferences preferences, long[] availableClassNameIds)
           
static long[] getGroupIds(PortletPreferences preferences, long scopeGroupId, Layout layout)
           
static long getRecentFolderId(PortletRequest portletRequest, String className)
           
static void removeAndStoreSelection(List<String> assetEntryUuids, PortletPreferences preferences)
           
static void removeRecentFolderId(PortletRequest portletRequest, String className, long classPK)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetPublisherUtil

public AssetPublisherUtil()
Method Detail

addAndStoreSelection

public static void addAndStoreSelection(ActionRequest actionRequest,
                                        String className,
                                        long classPK,
                                        int assetEntryOrder)
                                 throws Exception
Throws:
Exception

addRecentFolderId

public static void addRecentFolderId(PortletRequest portletRequest,
                                     String className,
                                     long classPK)

addSelection

public static void addSelection(ActionRequest actionRequest,
                                PortletPreferences preferences)
                         throws Exception
Throws:
Exception

addSelection

public static void addSelection(String assetEntryType,
                                long assetEntryId,
                                int assetEntryOrder,
                                PortletPreferences preferences)
                         throws Exception
Throws:
Exception

getAssetEntryQuery

public static AssetEntryQuery getAssetEntryQuery(PortletPreferences preferences,
                                                 long scopeGroupId)
                                          throws Exception
Throws:
Exception

getAssetTagNames

public static String[] getAssetTagNames(PortletPreferences preferences,
                                        long scopeGroupId)
                                 throws Exception
Throws:
Exception

getClassNameIds

public static long[] getClassNameIds(PortletPreferences preferences,
                                     long[] availableClassNameIds)

getGroupIds

public static long[] getGroupIds(PortletPreferences preferences,
                                 long scopeGroupId,
                                 Layout layout)

getRecentFolderId

public static long getRecentFolderId(PortletRequest portletRequest,
                                     String className)

removeAndStoreSelection

public static void removeAndStoreSelection(List<String> assetEntryUuids,
                                           PortletPreferences preferences)
                                    throws Exception
Throws:
Exception

removeRecentFolderId

public static void removeRecentFolderId(PortletRequest portletRequest,
                                        String className,
                                        long classPK)

Liferay 6.0.5