Liferay 7.0-ce-b8 portal-impl

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

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

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, assetCategoryService, assetVocabularyFinder, assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, classNameLocalService, classNamePersistence, classNameService, counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, resourceLocalService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
AssetVocabularyServiceImpl()
           
 
Method Summary
 com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long groupId, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
 com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long groupId, String title, com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
 List<com.liferay.asset.kernel.model.AssetVocabulary> deleteVocabularies(long[] vocabularyIds, com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
 void deleteVocabulary(long vocabularyId)
           
 com.liferay.asset.kernel.model.AssetVocabulary fetchVocabulary(long vocabularyId)
           
protected  List<com.liferay.asset.kernel.model.AssetVocabulary> filterVocabularies(List<com.liferay.asset.kernel.model.AssetVocabulary> vocabularies)
          Deprecated. As of 7.0.0, with no direct replacement
 List<com.liferay.asset.kernel.model.AssetVocabulary> getCompanyVocabularies(long companyId)
          Deprecated. As of 7.0.0, with no direct replacement
 List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(long[] groupIds)
           
 List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className)
           
 List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className, long classTypePK)
           
 List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId)
           
 List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long[] groupIds)
           
 List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary)
           
 List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
           
 List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
           
 List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
           
 int getGroupVocabulariesCount(long groupId)
           
 int getGroupVocabulariesCount(long[] groupIds)
           
 int getGroupVocabulariesCount(long groupId, String name)
           
 com.liferay.asset.kernel.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, boolean addDefaultVocabulary, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
           
 com.liferay.asset.kernel.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
           
 List<com.liferay.asset.kernel.model.AssetVocabulary> getVocabularies(long[] vocabularyIds)
          Deprecated. As of 7.0.0, replaced by AssetUtil.filterVocabularyIds(PermissionChecker, long[])
 com.liferay.asset.kernel.model.AssetVocabulary getVocabulary(long vocabularyId)
           
 com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end)
           
 com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end, com.liferay.portal.kernel.search.Sort sort)
           
 com.liferay.asset.kernel.model.AssetVocabulary updateVocabulary(long vocabularyId, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.asset.service.base.AssetVocabularyServiceBaseImpl
afterPropertiesSet, destroy, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryService, getAssetVocabularyFinder, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryService, setAssetVocabularyFinder, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.kernel.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 com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long groupId,
                                                                    String title,
                                                                    Map<Locale,String> titleMap,
                                                                    Map<Locale,String> descriptionMap,
                                                                    String settings,
                                                                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                             throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

addVocabulary

public com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long groupId,
                                                                    String title,
                                                                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                             throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

deleteVocabularies

public List<com.liferay.asset.kernel.model.AssetVocabulary> deleteVocabularies(long[] vocabularyIds,
                                                                               com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                        throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

deleteVocabulary

public void deleteVocabulary(long vocabularyId)
                      throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

fetchVocabulary

public com.liferay.asset.kernel.model.AssetVocabulary fetchVocabulary(long vocabularyId)
                                                               throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getCompanyVocabularies

@Deprecated
public List<com.liferay.asset.kernel.model.AssetVocabulary> getCompanyVocabularies(long companyId)
                                                                            throws com.liferay.portal.kernel.exception.PortalException
Deprecated. As of 7.0.0, with no direct replacement

Throws:
com.liferay.portal.kernel.exception.PortalException

getGroupsVocabularies

public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(long[] groupIds)

getGroupsVocabularies

public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(long[] groupIds,
                                                                                  String className)

getGroupsVocabularies

public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(long[] groupIds,
                                                                                  String className,
                                                                                  long classTypePK)

getGroupVocabularies

public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId)
                                                                          throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getGroupVocabularies

public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId,
                                                                                 boolean createDefaultVocabulary)
                                                                          throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getGroupVocabularies

public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId,
                                                                                 boolean createDefaultVocabulary,
                                                                                 int start,
                                                                                 int end,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
                                                                          throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getGroupVocabularies

public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId,
                                                                                 int start,
                                                                                 int end,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)

getGroupVocabularies

public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId,
                                                                                 String name,
                                                                                 int start,
                                                                                 int end,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)

getGroupVocabularies

public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long[] groupIds)

getGroupVocabulariesCount

public int getGroupVocabulariesCount(long groupId)

getGroupVocabulariesCount

public int getGroupVocabulariesCount(long groupId,
                                     String name)

getGroupVocabulariesCount

public int getGroupVocabulariesCount(long[] groupIds)

getGroupVocabulariesDisplay

public com.liferay.asset.kernel.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId,
                                                                                         String name,
                                                                                         int start,
                                                                                         int end,
                                                                                         boolean addDefaultVocabulary,
                                                                                         com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
                                                                                  throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getGroupVocabulariesDisplay

public com.liferay.asset.kernel.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId,
                                                                                         String name,
                                                                                         int start,
                                                                                         int end,
                                                                                         com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
                                                                                  throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getVocabularies

@Deprecated
public List<com.liferay.asset.kernel.model.AssetVocabulary> getVocabularies(long[] vocabularyIds)
                                                                     throws com.liferay.portal.kernel.exception.PortalException
Deprecated. As of 7.0.0, replaced by AssetUtil.filterVocabularyIds(PermissionChecker, long[])

Throws:
com.liferay.portal.kernel.exception.PortalException

getVocabulary

public com.liferay.asset.kernel.model.AssetVocabulary getVocabulary(long vocabularyId)
                                                             throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

searchVocabulariesDisplay

public com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(long groupId,
                                                                                       String title,
                                                                                       boolean addDefaultVocabulary,
                                                                                       int start,
                                                                                       int end)
                                                                                throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

searchVocabulariesDisplay

public com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(long groupId,
                                                                                       String title,
                                                                                       boolean addDefaultVocabulary,
                                                                                       int start,
                                                                                       int end,
                                                                                       com.liferay.portal.kernel.search.Sort sort)
                                                                                throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

updateVocabulary

public com.liferay.asset.kernel.model.AssetVocabulary updateVocabulary(long vocabularyId,
                                                                       String title,
                                                                       Map<Locale,String> titleMap,
                                                                       Map<Locale,String> descriptionMap,
                                                                       String settings,
                                                                       com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

filterVocabularies

@Deprecated
protected List<com.liferay.asset.kernel.model.AssetVocabulary> filterVocabularies(List<com.liferay.asset.kernel.model.AssetVocabulary> vocabularies)
                                                                           throws com.liferay.portal.kernel.exception.PortalException
Deprecated. As of 7.0.0, with no direct replacement

Throws:
com.liferay.portal.kernel.exception.PortalException

Liferay 7.0-ce-b8 portal-impl