Liferay 6.2-ce-ga5

com.liferay.portlet.asset.service
Class AssetCategoryServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.asset.service.AssetCategoryServiceWrapper
All Implemented Interfaces:
BaseService, ServiceWrapper<AssetCategoryService>, AssetCategoryService

@ProviderType
public class AssetCategoryServiceWrapper
extends Object
implements AssetCategoryService, ServiceWrapper<AssetCategoryService>

Provides a wrapper for AssetCategoryService.

See Also:
AssetCategoryService

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

AssetCategoryServiceWrapper

public AssetCategoryServiceWrapper(AssetCategoryService assetCategoryService)
Method Detail

getBeanIdentifier

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

Specified by:
getBeanIdentifier in interface AssetCategoryService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Specified by:
setBeanIdentifier in interface AssetCategoryService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addCategory

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

addCategory

public AssetCategory addCategory(String title,
                                 long vocabularyId,
                                 ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Specified by:
addCategory in interface AssetCategoryService
Throws:
PortalException
SystemException

deleteCategories

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

Specified by:
deleteCategories in interface AssetCategoryService
Throws:
PortalException
SystemException

deleteCategories

public List<AssetCategory> deleteCategories(long[] categoryIds,
                                            ServiceContext serviceContext)
                                     throws PortalException,
                                            SystemException
Specified by:
deleteCategories in interface AssetCategoryService
Throws:
PortalException
SystemException

deleteCategory

public void deleteCategory(long categoryId)
                    throws PortalException,
                           SystemException
Specified by:
deleteCategory in interface AssetCategoryService
Throws:
PortalException
SystemException

getCategories

public List<AssetCategory> getCategories(String className,
                                         long classPK)
                                  throws PortalException,
                                         SystemException
Specified by:
getCategories in interface AssetCategoryService
Throws:
PortalException
SystemException

getCategory

public AssetCategory getCategory(long categoryId)
                          throws PortalException,
                                 SystemException
Specified by:
getCategory in interface AssetCategoryService
Throws:
PortalException
SystemException

getChildCategories

public List<AssetCategory> getChildCategories(long parentCategoryId)
                                       throws PortalException,
                                              SystemException
Specified by:
getChildCategories in interface AssetCategoryService
Throws:
PortalException
SystemException

getChildCategories

public List<AssetCategory> getChildCategories(long parentCategoryId,
                                              int start,
                                              int end,
                                              OrderByComparator obc)
                                       throws PortalException,
                                              SystemException
Specified by:
getChildCategories in interface AssetCategoryService
Throws:
PortalException
SystemException

getJSONSearch

public 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)

Specified by:
getJSONSearch in interface AssetCategoryService
Throws:
PortalException
SystemException

getJSONVocabularyCategories

public 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)

Specified by:
getJSONVocabularyCategories in interface AssetCategoryService
Throws:
PortalException
SystemException

getJSONVocabularyCategories

public 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)

Specified by:
getJSONVocabularyCategories in interface AssetCategoryService
Throws:
PortalException
SystemException

getVocabularyCategories

public List<AssetCategory> getVocabularyCategories(long vocabularyId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator obc)
                                            throws PortalException,
                                                   SystemException
Specified by:
getVocabularyCategories in interface AssetCategoryService
Throws:
PortalException
SystemException

getVocabularyCategories

public List<AssetCategory> getVocabularyCategories(long parentCategoryId,
                                                   long vocabularyId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator obc)
                                            throws PortalException,
                                                   SystemException
Specified by:
getVocabularyCategories in interface AssetCategoryService
Throws:
PortalException
SystemException

getVocabularyCategories

public List<AssetCategory> getVocabularyCategories(long groupId,
                                                   String name,
                                                   long vocabularyId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator obc)
                                            throws SystemException
Specified by:
getVocabularyCategories in interface AssetCategoryService
Throws:
SystemException

getVocabularyCategoriesCount

public int getVocabularyCategoriesCount(long groupId,
                                        long vocabularyId)
                                 throws SystemException
Specified by:
getVocabularyCategoriesCount in interface AssetCategoryService
Throws:
SystemException

getVocabularyCategoriesCount

public int getVocabularyCategoriesCount(long groupId,
                                        String name,
                                        long vocabularyId)
                                 throws SystemException
Specified by:
getVocabularyCategoriesCount in interface AssetCategoryService
Throws:
SystemException

getVocabularyCategoriesDisplay

public AssetCategoryDisplay getVocabularyCategoriesDisplay(long vocabularyId,
                                                           int start,
                                                           int end,
                                                           OrderByComparator obc)
                                                    throws PortalException,
                                                           SystemException
Specified by:
getVocabularyCategoriesDisplay in interface AssetCategoryService
Throws:
PortalException
SystemException

getVocabularyCategoriesDisplay

public AssetCategoryDisplay getVocabularyCategoriesDisplay(long groupId,
                                                           String name,
                                                           long vocabularyId,
                                                           int start,
                                                           int end,
                                                           OrderByComparator obc)
                                                    throws PortalException,
                                                           SystemException
Specified by:
getVocabularyCategoriesDisplay in interface AssetCategoryService
Throws:
PortalException
SystemException

getVocabularyRootCategories

public 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)

Specified by:
getVocabularyRootCategories in interface AssetCategoryService
Throws:
PortalException
SystemException

getVocabularyRootCategories

public List<AssetCategory> getVocabularyRootCategories(long groupId,
                                                       long vocabularyId,
                                                       int start,
                                                       int end,
                                                       OrderByComparator obc)
                                                throws SystemException
Specified by:
getVocabularyRootCategories in interface AssetCategoryService
Throws:
SystemException

getVocabularyRootCategoriesCount

public int getVocabularyRootCategoriesCount(long groupId,
                                            long vocabularyId)
                                     throws SystemException
Specified by:
getVocabularyRootCategoriesCount in interface AssetCategoryService
Throws:
SystemException

moveCategory

public AssetCategory moveCategory(long categoryId,
                                  long parentCategoryId,
                                  long vocabularyId,
                                  ServiceContext serviceContext)
                           throws PortalException,
                                  SystemException
Specified by:
moveCategory in interface AssetCategoryService
Throws:
PortalException
SystemException

search

public List<AssetCategory> search(long groupId,
                                  String keywords,
                                  long vocabularyId,
                                  int start,
                                  int end,
                                  OrderByComparator obc)
                           throws SystemException
Specified by:
search in interface AssetCategoryService
Throws:
SystemException

search

public JSONArray search(long groupId,
                        String name,
                        String[] categoryProperties,
                        int start,
                        int end)
                 throws PortalException,
                        SystemException
Specified by:
search in interface AssetCategoryService
Throws:
PortalException
SystemException

search

public JSONArray search(long[] groupIds,
                        String title,
                        long[] vocabularyIds,
                        int start,
                        int end)
                 throws PortalException,
                        SystemException
Specified by:
search in interface AssetCategoryService
Throws:
PortalException
SystemException

updateCategory

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

getWrappedAssetCategoryService

public AssetCategoryService getWrappedAssetCategoryService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedAssetCategoryService

public void setWrappedAssetCategoryService(AssetCategoryService assetCategoryService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.asset.service.AssetCategoryService)


getWrappedService

public AssetCategoryService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<AssetCategoryService>

setWrappedService

public void setWrappedService(AssetCategoryService assetCategoryService)
Specified by:
setWrappedService in interface ServiceWrapper<AssetCategoryService>

Liferay 6.2-ce-ga5