Liferay 6.2-ce-ga5

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

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portlet.asset.service.base.AssetVocabularyServiceBaseImpl
          extended by com.liferay.portlet.asset.service.impl.AssetVocabularyServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseService, AssetVocabularyService

public class AssetVocabularyServiceImpl
extends AssetVocabularyServiceBaseImpl

Provides the remote service for accessing, adding, deleting, and updating asset vocabularies. Its methods include permission checks.


Field Summary
 
Fields inherited from class com.liferay.portlet.asset.service.base.AssetVocabularyServiceBaseImpl
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, assetVocabularyFinder, assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, resourceLocalService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
AssetVocabularyServiceImpl()
           
 
Method Summary
 AssetVocabulary addVocabulary(Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
          Deprecated. As of 6.1.0 addVocabulary(String, Map, Map, String, ServiceContext)
 AssetVocabulary addVocabulary(String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
           
 AssetVocabulary addVocabulary(String title, ServiceContext serviceContext)
           
protected  SearchContext buildSearchContext(long companyId, long groupId, String title, int start, int end)
           
 void deleteVocabularies(long[] vocabularyIds)
          Deprecated. As of 6.2.0, Replaced by deleteVocabularies(long[], ServiceContext)
 List<AssetVocabulary> deleteVocabularies(long[] vocabularyIds, ServiceContext serviceContext)
           
 void deleteVocabulary(long vocabularyId)
           
protected  List<AssetVocabulary> filterVocabularies(List<AssetVocabulary> vocabularies)
           
 List<AssetVocabulary> getCompanyVocabularies(long companyId)
           
 List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
           
 List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className)
           
 List<AssetVocabulary> getGroupVocabularies(long groupId)
           
 List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary)
           
 List<AssetVocabulary> getGroupVocabularies(long groupId, int start, int end, OrderByComparator obc)
           
 List<AssetVocabulary> getGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator obc)
           
 int getGroupVocabulariesCount(long groupId)
           
 int getGroupVocabulariesCount(long groupId, String name)
           
 AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String title, int start, int end, boolean addDefaultVocabulary, OrderByComparator obc)
           
 AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, OrderByComparator obc)
           
 JSONObject getJSONGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator obc)
          Deprecated. As of 6.2.0, with no direct replacement
 List<AssetVocabulary> getVocabularies(long[] vocabularyIds)
           
 AssetVocabulary getVocabulary(long vocabularyId)
           
protected  List<AssetVocabulary> searchVocabularies(long groupId, String title, int start, int end)
           
 AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
          Deprecated. As of 6.1.0, updateVocabulary(long, String, Map, Map, String, ServiceContext)
 AssetVocabulary updateVocabulary(long vocabularyId, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.asset.service.base.AssetVocabularyServiceBaseImpl
afterPropertiesSet, destroy, 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, getAssetVocabularyFinder, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getBeanIdentifier, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getResourceLocalService, 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, setAssetVocabularyFinder, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setBeanIdentifier, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, 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

AssetVocabularyServiceImpl

public AssetVocabularyServiceImpl()
Method Detail

addVocabulary

public AssetVocabulary addVocabulary(Map<Locale,String> titleMap,
                                     Map<Locale,String> descriptionMap,
                                     String settings,
                                     ServiceContext serviceContext)
                              throws PortalException,
                                     SystemException
Deprecated. As of 6.1.0 addVocabulary(String, Map, Map, String, ServiceContext)

Throws:
PortalException
SystemException

addVocabulary

public AssetVocabulary addVocabulary(String title,
                                     Map<Locale,String> titleMap,
                                     Map<Locale,String> descriptionMap,
                                     String settings,
                                     ServiceContext serviceContext)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

addVocabulary

public AssetVocabulary addVocabulary(String title,
                                     ServiceContext serviceContext)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

deleteVocabularies

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

Throws:
PortalException
SystemException

deleteVocabularies

public List<AssetVocabulary> deleteVocabularies(long[] vocabularyIds,
                                                ServiceContext serviceContext)
                                         throws PortalException,
                                                SystemException
Throws:
PortalException
SystemException

deleteVocabulary

public void deleteVocabulary(long vocabularyId)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getCompanyVocabularies

public List<AssetVocabulary> getCompanyVocabularies(long companyId)
                                             throws PortalException,
                                                    SystemException
Throws:
PortalException
SystemException

getGroupsVocabularies

public List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
                                            throws PortalException,
                                                   SystemException
Throws:
PortalException
SystemException

getGroupsVocabularies

public List<AssetVocabulary> getGroupsVocabularies(long[] groupIds,
                                                   String className)
                                            throws PortalException,
                                                   SystemException
Throws:
PortalException
SystemException

getGroupVocabularies

public List<AssetVocabulary> getGroupVocabularies(long groupId)
                                           throws PortalException,
                                                  SystemException
Throws:
PortalException
SystemException

getGroupVocabularies

public List<AssetVocabulary> getGroupVocabularies(long groupId,
                                                  boolean createDefaultVocabulary)
                                           throws PortalException,
                                                  SystemException
Throws:
PortalException
SystemException

getGroupVocabularies

public List<AssetVocabulary> getGroupVocabularies(long groupId,
                                                  int start,
                                                  int end,
                                                  OrderByComparator obc)
                                           throws SystemException
Throws:
SystemException

getGroupVocabularies

public List<AssetVocabulary> getGroupVocabularies(long groupId,
                                                  String name,
                                                  int start,
                                                  int end,
                                                  OrderByComparator obc)
                                           throws SystemException
Throws:
SystemException

getGroupVocabulariesCount

public int getGroupVocabulariesCount(long groupId)
                              throws SystemException
Throws:
SystemException

getGroupVocabulariesCount

public int getGroupVocabulariesCount(long groupId,
                                     String name)
                              throws SystemException
Throws:
SystemException

getGroupVocabulariesDisplay

public AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId,
                                                          String title,
                                                          int start,
                                                          int end,
                                                          boolean addDefaultVocabulary,
                                                          OrderByComparator obc)
                                                   throws PortalException,
                                                          SystemException
Throws:
PortalException
SystemException

getGroupVocabulariesDisplay

public AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId,
                                                          String name,
                                                          int start,
                                                          int end,
                                                          OrderByComparator obc)
                                                   throws PortalException,
                                                          SystemException
Throws:
PortalException
SystemException

getJSONGroupVocabularies

public JSONObject getJSONGroupVocabularies(long groupId,
                                           String name,
                                           int start,
                                           int end,
                                           OrderByComparator obc)
                                    throws PortalException,
                                           SystemException
Deprecated. As of 6.2.0, with no direct replacement

Throws:
PortalException
SystemException

getVocabularies

public List<AssetVocabulary> getVocabularies(long[] vocabularyIds)
                                      throws PortalException,
                                             SystemException
Throws:
PortalException
SystemException

getVocabulary

public AssetVocabulary getVocabulary(long vocabularyId)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

updateVocabulary

public AssetVocabulary updateVocabulary(long vocabularyId,
                                        Map<Locale,String> titleMap,
                                        Map<Locale,String> descriptionMap,
                                        String settings,
                                        ServiceContext serviceContext)
                                 throws PortalException,
                                        SystemException
Deprecated. As of 6.1.0, updateVocabulary(long, String, Map, Map, String, ServiceContext)

Throws:
PortalException
SystemException

updateVocabulary

public AssetVocabulary updateVocabulary(long vocabularyId,
                                        String title,
                                        Map<Locale,String> titleMap,
                                        Map<Locale,String> descriptionMap,
                                        String settings,
                                        ServiceContext serviceContext)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

buildSearchContext

protected SearchContext buildSearchContext(long companyId,
                                           long groupId,
                                           String title,
                                           int start,
                                           int end)

filterVocabularies

protected List<AssetVocabulary> filterVocabularies(List<AssetVocabulary> vocabularies)
                                            throws PortalException
Throws:
PortalException

searchVocabularies

protected List<AssetVocabulary> searchVocabularies(long groupId,
                                                   String title,
                                                   int start,
                                                   int end)
                                            throws PortalException,
                                                   SystemException
Throws:
PortalException
SystemException

Liferay 6.2-ce-ga5