com.liferay.portlet.asset.service
Class AssetCategoryLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.asset.service.AssetCategoryLocalServiceWrapper
All Implemented Interfaces:
AssetCategoryLocalService

public class AssetCategoryLocalServiceWrapper
extends java.lang.Object
implements AssetCategoryLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for AssetCategoryLocalService.

Author:
Brian Wing Shun Chan
See Also:
AssetCategoryLocalService
Generated:

Constructor Summary
AssetCategoryLocalServiceWrapper(AssetCategoryLocalService assetCategoryLocalService)
           
 
Method Summary
 AssetCategory addAssetCategory(AssetCategory assetCategory)
           
 AssetCategory addCategory(java.lang.String uuid, long userId, long parentCategoryId, java.util.Map<java.util.Locale,java.lang.String> titleMap, long vocabularyId, java.lang.String[] categoryProperties, ServiceContext serviceContext)
           
 void addCategoryResources(AssetCategory category, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addCategoryResources(AssetCategory category, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 AssetCategory createAssetCategory(long categoryId)
           
 void deleteAssetCategory(AssetCategory assetCategory)
           
 void deleteAssetCategory(long categoryId)
           
 void deleteCategory(AssetCategory category)
           
 void deleteCategory(long categoryId)
           
 void deleteVocabularyCategories(long vocabularyId)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List<AssetCategory> getAssetCategories(int start, int end)
           
 int getAssetCategoriesCount()
           
 AssetCategory getAssetCategory(long categoryId)
           
 java.util.List<AssetCategory> getCategories()
           
 java.util.List<AssetCategory> getCategories(long classNameId, long classPK)
           
 java.util.List<AssetCategory> getCategories(java.lang.String className, long classPK)
           
 AssetCategory getCategory(long categoryId)
           
 long[] getCategoryIds(java.lang.String className, long classPK)
           
 java.util.List<AssetCategory> getChildCategories(long parentCategoryId)
           
 java.util.List<AssetCategory> getEntryCategories(long entryId)
           
 java.util.List<AssetCategory> getVocabularyCategories(long vocabularyId)
           
 java.util.List<AssetCategory> getVocabularyRootCategories(long vocabularyId)
           
 AssetCategoryLocalService getWrappedAssetCategoryLocalService()
           
 void mergeCategories(long fromCategoryId, long toCategoryId)
           
 com.liferay.portal.kernel.json.JSONArray search(long groupId, java.lang.String name, java.lang.String[] categoryProperties, int start, int end)
           
 AssetCategory updateAssetCategory(AssetCategory assetCategory)
           
 AssetCategory updateAssetCategory(AssetCategory assetCategory, boolean merge)
           
 AssetCategory updateCategory(long userId, 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

AssetCategoryLocalServiceWrapper

public AssetCategoryLocalServiceWrapper(AssetCategoryLocalService assetCategoryLocalService)
Method Detail

addAssetCategory

public AssetCategory addAssetCategory(AssetCategory assetCategory)
                               throws com.liferay.portal.kernel.exception.SystemException
Specified by:
addAssetCategory in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

createAssetCategory

public AssetCategory createAssetCategory(long categoryId)
Specified by:
createAssetCategory in interface AssetCategoryLocalService

deleteAssetCategory

public void deleteAssetCategory(long categoryId)
                         throws com.liferay.portal.kernel.exception.PortalException,
                                com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteAssetCategory in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteAssetCategory

public void deleteAssetCategory(AssetCategory assetCategory)
                         throws com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteAssetCategory in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                     int start,
                                                     int end)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetCategory

public AssetCategory getAssetCategory(long categoryId)
                               throws com.liferay.portal.kernel.exception.PortalException,
                                      com.liferay.portal.kernel.exception.SystemException
Specified by:
getAssetCategory in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getAssetCategories

public java.util.List<AssetCategory> getAssetCategories(int start,
                                                        int end)
                                                 throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getAssetCategories in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetCategoriesCount

public int getAssetCategoriesCount()
                            throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getAssetCategoriesCount in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updateAssetCategory

public AssetCategory updateAssetCategory(AssetCategory assetCategory)
                                  throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateAssetCategory in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updateAssetCategory

public AssetCategory updateAssetCategory(AssetCategory assetCategory,
                                         boolean merge)
                                  throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateAssetCategory in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

addCategory

public AssetCategory addCategory(java.lang.String uuid,
                                 long userId,
                                 long parentCategoryId,
                                 java.util.Map<java.util.Locale,java.lang.String> titleMap,
                                 long vocabularyId,
                                 java.lang.String[] categoryProperties,
                                 ServiceContext serviceContext)
                          throws com.liferay.portal.kernel.exception.PortalException,
                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
addCategory in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addCategoryResources

public void addCategoryResources(AssetCategory category,
                                 boolean addCommunityPermissions,
                                 boolean addGuestPermissions)
                          throws com.liferay.portal.kernel.exception.PortalException,
                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
addCategoryResources in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addCategoryResources

public void addCategoryResources(AssetCategory category,
                                 java.lang.String[] communityPermissions,
                                 java.lang.String[] guestPermissions)
                          throws com.liferay.portal.kernel.exception.PortalException,
                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
addCategoryResources in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteCategory

public void deleteCategory(AssetCategory category)
                    throws com.liferay.portal.kernel.exception.PortalException,
                           com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteCategory in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteCategory

public void deleteCategory(long categoryId)
                    throws com.liferay.portal.kernel.exception.PortalException,
                           com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteCategory in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteVocabularyCategories

public void deleteVocabularyCategories(long vocabularyId)
                                throws com.liferay.portal.kernel.exception.PortalException,
                                       com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteVocabularyCategories in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getCategories

public java.util.List<AssetCategory> getCategories()
                                            throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getCategories in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getCategories

public java.util.List<AssetCategory> getCategories(long classNameId,
                                                   long classPK)
                                            throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getCategories in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getCategories

public java.util.List<AssetCategory> getCategories(java.lang.String className,
                                                   long classPK)
                                            throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getCategories in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getCategory

public AssetCategory getCategory(long categoryId)
                          throws com.liferay.portal.kernel.exception.PortalException,
                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
getCategory in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getCategoryIds

public long[] getCategoryIds(java.lang.String className,
                             long classPK)
                      throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getCategoryIds in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getChildCategories

public java.util.List<AssetCategory> getChildCategories(long parentCategoryId)
                                                 throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getChildCategories in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getEntryCategories

public java.util.List<AssetCategory> getEntryCategories(long entryId)
                                                 throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getEntryCategories in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getVocabularyCategories

public java.util.List<AssetCategory> getVocabularyCategories(long vocabularyId)
                                                      throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getVocabularyCategories in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getVocabularyRootCategories

public java.util.List<AssetCategory> getVocabularyRootCategories(long vocabularyId)
                                                          throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getVocabularyRootCategories in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

mergeCategories

public void mergeCategories(long fromCategoryId,
                            long toCategoryId)
                     throws com.liferay.portal.kernel.exception.PortalException,
                            com.liferay.portal.kernel.exception.SystemException
Specified by:
mergeCategories in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

search

public com.liferay.portal.kernel.json.JSONArray search(long groupId,
                                                       java.lang.String name,
                                                       java.lang.String[] categoryProperties,
                                                       int start,
                                                       int end)
                                                throws com.liferay.portal.kernel.exception.SystemException
Specified by:
search in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updateCategory

public AssetCategory updateCategory(long userId,
                                    long categoryId,
                                    long parentCategoryId,
                                    java.util.Map<java.util.Locale,java.lang.String> titleMap,
                                    long vocabularyId,
                                    java.lang.String[] categoryProperties,
                                    ServiceContext serviceContext)
                             throws com.liferay.portal.kernel.exception.PortalException,
                                    com.liferay.portal.kernel.exception.SystemException
Specified by:
updateCategory in interface AssetCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getWrappedAssetCategoryLocalService

public AssetCategoryLocalService getWrappedAssetCategoryLocalService()