com.liferay.portlet.asset.service
Class AssetCategoryServiceUtil

java.lang.Object
  extended by com.liferay.portlet.asset.service.AssetCategoryServiceUtil

public class AssetCategoryServiceUtil
extends java.lang.Object

The utility for the asset category remote service. This utility wraps com.liferay.portlet.asset.service.impl.AssetCategoryServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

Never modify this class directly. Add custom service methods to com.liferay.portlet.asset.service.impl.AssetCategoryServiceImpl and rerun ServiceBuilder to regenerate this class.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

Author:
Brian Wing Shun Chan
See Also:
AssetCategoryService, com.liferay.portlet.asset.service.base.AssetCategoryServiceBaseImpl, com.liferay.portlet.asset.service.impl.AssetCategoryServiceImpl
Generated:

Constructor Summary
AssetCategoryServiceUtil()
           
 
Method Summary
static AssetCategory addCategory(long parentCategoryId, java.util.Map<java.util.Locale,java.lang.String> titleMap, long vocabularyId, java.lang.String[] categoryProperties, ServiceContext serviceContext)
           
static void deleteCategory(long categoryId)
           
static java.util.List<AssetCategory> getCategories(java.lang.String className, long classPK)
           
static AssetCategory getCategory(long categoryId)
           
static java.util.List<AssetCategory> getChildCategories(long parentCategoryId, int start, int end, OrderByComparator obc)
           
static AssetCategoryService getService()
           
static java.util.List<AssetCategory> getVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator obc)
           
static java.util.List<AssetCategory> getVocabularyRootCategories(long vocabularyId, int start, int end, OrderByComparator obc)
           
static JSONArray search(long groupId, java.lang.String name, java.lang.String[] categoryProperties, int start, int end)
           
 void setService(AssetCategoryService service)
           
static AssetCategory updateCategory(long categoryId, long parentCategoryId, java.util.Map<java.util.Locale,java.lang.String> titleMap, long vocabularyId, java.lang.String[] categoryProperties, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetCategoryServiceUtil

public AssetCategoryServiceUtil()
Method Detail

addCategory

public static AssetCategory addCategory(long parentCategoryId,
                                        java.util.Map<java.util.Locale,java.lang.String> titleMap,
                                        long vocabularyId,
                                        java.lang.String[] categoryProperties,
                                        ServiceContext serviceContext)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

deleteCategory

public static void deleteCategory(long categoryId)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

getCategories

public static java.util.List<AssetCategory> getCategories(java.lang.String className,
                                                          long classPK)
                                                   throws PortalException,
                                                          SystemException
Throws:
PortalException
SystemException

getCategory

public static AssetCategory getCategory(long categoryId)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getChildCategories

public static java.util.List<AssetCategory> getChildCategories(long parentCategoryId,
                                                               int start,
                                                               int end,
                                                               OrderByComparator obc)
                                                        throws PortalException,
                                                               SystemException
Throws:
PortalException
SystemException

getVocabularyCategories

public static java.util.List<AssetCategory> getVocabularyCategories(long vocabularyId,
                                                                    int start,
                                                                    int end,
                                                                    OrderByComparator obc)
                                                             throws PortalException,
                                                                    SystemException
Throws:
PortalException
SystemException

getVocabularyRootCategories

public static java.util.List<AssetCategory> getVocabularyRootCategories(long vocabularyId,
                                                                        int start,
                                                                        int end,
                                                                        OrderByComparator obc)
                                                                 throws PortalException,
                                                                        SystemException
Throws:
PortalException
SystemException

search

public static JSONArray search(long groupId,
                               java.lang.String name,
                               java.lang.String[] categoryProperties,
                               int start,
                               int end)
                        throws SystemException
Throws:
SystemException

updateCategory

public static AssetCategory updateCategory(long categoryId,
                                           long parentCategoryId,
                                           java.util.Map<java.util.Locale,java.lang.String> titleMap,
                                           long vocabularyId,
                                           java.lang.String[] categoryProperties,
                                           ServiceContext serviceContext)
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

getService

public static AssetCategoryService getService()

setService

public void setService(AssetCategoryService service)