Liferay 6.2-ce-ga5

com.liferay.portlet.asset.service
Class AssetCategoryServiceUtil

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

@ProviderType
public class AssetCategoryServiceUtil
extends Object

Provides the remote service utility for AssetCategory. 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. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
AssetCategoryService, com.liferay.portlet.asset.service.base.AssetCategoryServiceBaseImpl, com.liferay.portlet.asset.service.impl.AssetCategoryServiceImpl

Constructor Summary
AssetCategoryServiceUtil()
           
 
Method Summary
static AssetCategory addCategory(long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext)
           
static AssetCategory addCategory(String title, long vocabularyId, ServiceContext serviceContext)
           
static void deleteCategories(long[] categoryIds)
          Deprecated. As of 6.2.0, Replaced by deleteCategories(long[], ServiceContext)
static List<AssetCategory> deleteCategories(long[] categoryIds, ServiceContext serviceContext)
           
static void deleteCategory(long categoryId)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static List<AssetCategory> getCategories(String className, long classPK)
           
static AssetCategory getCategory(long categoryId)
           
static List<AssetCategory> getChildCategories(long parentCategoryId)
           
static List<AssetCategory> getChildCategories(long parentCategoryId, int start, int end, OrderByComparator obc)
           
static JSONArray getJSONSearch(long groupId, String name, long[] vocabularyIds, int start, int end)
          Deprecated. As of 6.2.0, replaced by search(long[], String, long[], int, int)
static JSONObject getJSONVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator obc)
          Deprecated. As of 6.2.0, replaced by getVocabularyCategoriesDisplay(long, int, int, OrderByComparator)
static JSONObject getJSONVocabularyCategories(long groupId, String title, long vocabularyId, int start, int end, OrderByComparator obc)
          Deprecated. As of 6.2.0, replaced by getVocabularyCategoriesDisplay(long, String, long, int, int, OrderByComparator)
static AssetCategoryService getService()
           
static List<AssetCategory> getVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator obc)
           
static List<AssetCategory> getVocabularyCategories(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator obc)
           
static List<AssetCategory> getVocabularyCategories(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator obc)
           
static int getVocabularyCategoriesCount(long groupId, long vocabularyId)
           
static int getVocabularyCategoriesCount(long groupId, String name, long vocabularyId)
           
static AssetCategoryDisplay getVocabularyCategoriesDisplay(long vocabularyId, int start, int end, OrderByComparator obc)
           
static AssetCategoryDisplay getVocabularyCategoriesDisplay(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator obc)
           
static List<AssetCategory> getVocabularyRootCategories(long vocabularyId, int start, int end, OrderByComparator obc)
          Deprecated. As of 6.2.0, replaced by getVocabularyRootCategories(long, long, int, int, OrderByComparator)
static List<AssetCategory> getVocabularyRootCategories(long groupId, long vocabularyId, int start, int end, OrderByComparator obc)
           
static int getVocabularyRootCategoriesCount(long groupId, long vocabularyId)
           
static AssetCategory moveCategory(long categoryId, long parentCategoryId, long vocabularyId, ServiceContext serviceContext)
           
static JSONArray search(long[] groupIds, String title, long[] vocabularyIds, int start, int end)
           
static List<AssetCategory> search(long groupId, String keywords, long vocabularyId, int start, int end, OrderByComparator obc)
           
static JSONArray search(long groupId, String name, String[] categoryProperties, int start, int end)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(AssetCategoryService service)
          Deprecated. As of 6.2.0
static AssetCategory updateCategory(long categoryId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, 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

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addCategory

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

addCategory

public static AssetCategory addCategory(String title,
                                        long vocabularyId,
                                        ServiceContext serviceContext)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

deleteCategories

public static void deleteCategories(long[] categoryIds)
                             throws PortalException,
                                    SystemException
Deprecated. As of 6.2.0, Replaced by deleteCategories(long[], ServiceContext)

Throws:
PortalException
SystemException

deleteCategories

public static List<AssetCategory> deleteCategories(long[] categoryIds,
                                                   ServiceContext serviceContext)
                                            throws PortalException,
                                                   SystemException
Throws:
PortalException
SystemException

deleteCategory

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

getCategories

public static List<AssetCategory> getCategories(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 List<AssetCategory> getChildCategories(long parentCategoryId)
                                              throws PortalException,
                                                     SystemException
Throws:
PortalException
SystemException

getChildCategories

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

getJSONSearch

public static JSONArray getJSONSearch(long groupId,
                                      String name,
                                      long[] vocabularyIds,
                                      int start,
                                      int end)
                               throws PortalException,
                                      SystemException
Deprecated. As of 6.2.0, replaced by search(long[], String, long[], int, int)

Throws:
PortalException
SystemException

getJSONVocabularyCategories

public static JSONObject getJSONVocabularyCategories(long vocabularyId,
                                                     int start,
                                                     int end,
                                                     OrderByComparator obc)
                                              throws PortalException,
                                                     SystemException
Deprecated. As of 6.2.0, replaced by getVocabularyCategoriesDisplay(long, int, int, OrderByComparator)

Throws:
PortalException
SystemException

getJSONVocabularyCategories

public static JSONObject getJSONVocabularyCategories(long groupId,
                                                     String title,
                                                     long vocabularyId,
                                                     int start,
                                                     int end,
                                                     OrderByComparator obc)
                                              throws PortalException,
                                                     SystemException
Deprecated. As of 6.2.0, replaced by getVocabularyCategoriesDisplay(long, String, long, int, int, OrderByComparator)

Throws:
PortalException
SystemException

getVocabularyCategories

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

getVocabularyCategories

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

getVocabularyCategories

public static List<AssetCategory> getVocabularyCategories(long groupId,
                                                          String name,
                                                          long vocabularyId,
                                                          int start,
                                                          int end,
                                                          OrderByComparator obc)
                                                   throws SystemException
Throws:
SystemException

getVocabularyCategoriesCount

public static int getVocabularyCategoriesCount(long groupId,
                                               long vocabularyId)
                                        throws SystemException
Throws:
SystemException

getVocabularyCategoriesCount

public static int getVocabularyCategoriesCount(long groupId,
                                               String name,
                                               long vocabularyId)
                                        throws SystemException
Throws:
SystemException

getVocabularyCategoriesDisplay

public static AssetCategoryDisplay getVocabularyCategoriesDisplay(long vocabularyId,
                                                                  int start,
                                                                  int end,
                                                                  OrderByComparator obc)
                                                           throws PortalException,
                                                                  SystemException
Throws:
PortalException
SystemException

getVocabularyCategoriesDisplay

public static AssetCategoryDisplay getVocabularyCategoriesDisplay(long groupId,
                                                                  String name,
                                                                  long vocabularyId,
                                                                  int start,
                                                                  int end,
                                                                  OrderByComparator obc)
                                                           throws PortalException,
                                                                  SystemException
Throws:
PortalException
SystemException

getVocabularyRootCategories

public static List<AssetCategory> getVocabularyRootCategories(long vocabularyId,
                                                              int start,
                                                              int end,
                                                              OrderByComparator obc)
                                                       throws PortalException,
                                                              SystemException
Deprecated. As of 6.2.0, replaced by getVocabularyRootCategories(long, long, int, int, OrderByComparator)

Throws:
PortalException
SystemException

getVocabularyRootCategories

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

getVocabularyRootCategoriesCount

public static int getVocabularyRootCategoriesCount(long groupId,
                                                   long vocabularyId)
                                            throws SystemException
Throws:
SystemException

moveCategory

public static AssetCategory moveCategory(long categoryId,
                                         long parentCategoryId,
                                         long vocabularyId,
                                         ServiceContext serviceContext)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

search

public static List<AssetCategory> search(long groupId,
                                         String keywords,
                                         long vocabularyId,
                                         int start,
                                         int end,
                                         OrderByComparator obc)
                                  throws SystemException
Throws:
SystemException

search

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

search

public static JSONArray search(long[] groupIds,
                               String title,
                               long[] vocabularyIds,
                               int start,
                               int end)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

updateCategory

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

getService

public static AssetCategoryService getService()

setService

public void setService(AssetCategoryService service)
Deprecated. As of 6.2.0


Liferay 6.2-ce-ga5