Liferay 6.0.5

com.liferay.portlet.asset.service.impl
Class AssetCategoryServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.asset.service.base.AssetCategoryServiceBaseImpl
          extended by com.liferay.portlet.asset.service.impl.AssetCategoryServiceImpl
All Implemented Interfaces:
AssetCategoryService

public class AssetCategoryServiceImpl
extends AssetCategoryServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.asset.service.base.AssetCategoryServiceBaseImpl
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryPropertyFinder, assetCategoryPropertyLocalService, assetCategoryPropertyPersistence, assetCategoryPropertyService, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagPropertyFinder, assetTagPropertyKeyFinder, assetTagPropertyLocalService, assetTagPropertyPersistence, assetTagPropertyService, assetTagService, assetTagStatsLocalService, assetTagStatsPersistence, assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, counterLocalService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
AssetCategoryServiceImpl()
           
 
Method Summary
 AssetCategory addCategory(long parentCategoryId, Map<Locale,String> titleMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext)
           
 void deleteCategory(long categoryId)
           
protected  List<AssetCategory> filterCategories(List<AssetCategory> categories)
           
 List<AssetCategory> getCategories(String className, long classPK)
           
 AssetCategory getCategory(long categoryId)
           
 List<AssetCategory> getChildCategories(long parentCategoryId, int start, int end, OrderByComparator obc)
           
 List<AssetCategory> getVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator obc)
           
 List<AssetCategory> getVocabularyRootCategories(long vocabularyId, int start, int end, OrderByComparator obc)
           
 JSONArray search(long groupId, String name, String[] categoryProperties, int start, int end)
           
 AssetCategory updateCategory(long categoryId, long parentCategoryId, Map<Locale,String> titleMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.asset.service.base.AssetCategoryServiceBaseImpl
getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryPropertyFinder, getAssetCategoryPropertyLocalService, getAssetCategoryPropertyPersistence, getAssetCategoryPropertyService, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagPropertyFinder, getAssetTagPropertyKeyFinder, getAssetTagPropertyLocalService, getAssetTagPropertyPersistence, getAssetTagPropertyService, getAssetTagService, getAssetTagStatsLocalService, getAssetTagStatsPersistence, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getCounterLocalService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryPropertyFinder, setAssetCategoryPropertyLocalService, setAssetCategoryPropertyPersistence, setAssetCategoryPropertyService, setAssetCategoryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagPropertyFinder, setAssetTagPropertyKeyFinder, setAssetTagPropertyLocalService, setAssetTagPropertyPersistence, setAssetTagPropertyService, setAssetTagService, setAssetTagStatsLocalService, setAssetTagStatsPersistence, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setCounterLocalService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetCategoryServiceImpl

public AssetCategoryServiceImpl()
Method Detail

addCategory

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

deleteCategory

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

getCategories

public List<AssetCategory> getCategories(String className,
                                         long classPK)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

getCategory

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

getChildCategories

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

getVocabularyCategories

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

getVocabularyRootCategories

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

search

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

updateCategory

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

filterCategories

protected List<AssetCategory> filterCategories(List<AssetCategory> categories)
                                        throws PortalException
Throws:
PortalException

Liferay 6.0.5