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

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

public class AssetVocabularyServiceImpl
extends AssetVocabularyServiceBaseImpl

Author:
Alvaro del Castillo, Eduardo Lundgren, Jorge Ferrer, Juan Fernández

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, 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
AssetVocabularyServiceImpl()
           
 
Method Summary
 com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String settings, com.liferay.portal.service.ServiceContext serviceContext)
          Deprecated.  
 com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(java.lang.String title, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String settings, com.liferay.portal.service.ServiceContext serviceContext)
           
 void deleteVocabularies(long[] vocabularyIds)
           
 void deleteVocabulary(long vocabularyId)
           
protected  java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> filterVocabularies(java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> vocabularies)
           
 java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(long companyId)
           
 java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(long[] groupIds)
           
 java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(long[] groupIds, java.lang.String className)
           
 java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(long groupId)
           
 java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(long groupId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getGroupVocabulariesCount(long groupId)
           
 int getGroupVocabulariesCount(long groupId, java.lang.String name)
           
 com.liferay.portal.kernel.json.JSONObject getJSONGroupVocabularies(long groupId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getVocabularies(long[] vocabularyIds)
           
 com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(long vocabularyId)
           
 com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(long vocabularyId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String settings, com.liferay.portal.service.ServiceContext serviceContext)
          Deprecated.  
 com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(long vocabularyId, java.lang.String title, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String settings, com.liferay.portal.service.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, 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, setAssetVocabularyFinder, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setBeanIdentifier, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, 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

AssetVocabularyServiceImpl

public AssetVocabularyServiceImpl()
Method Detail

addVocabulary

public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(java.util.Map<java.util.Locale,java.lang.String> titleMap,
                                                                     java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
                                                                     java.lang.String settings,
                                                                     com.liferay.portal.service.ServiceContext serviceContext)
                                                              throws com.liferay.portal.kernel.exception.PortalException,
                                                                     com.liferay.portal.kernel.exception.SystemException
Deprecated. 

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

addVocabulary

public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(java.lang.String title,
                                                                     java.util.Map<java.util.Locale,java.lang.String> titleMap,
                                                                     java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
                                                                     java.lang.String settings,
                                                                     com.liferay.portal.service.ServiceContext serviceContext)
                                                              throws com.liferay.portal.kernel.exception.PortalException,
                                                                     com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteVocabularies

public void deleteVocabularies(long[] vocabularyIds)
                        throws com.liferay.portal.kernel.exception.PortalException,
                               com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteVocabulary

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

getCompanyVocabularies

public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(long companyId)
                                                                                       throws com.liferay.portal.kernel.exception.PortalException,
                                                                                              com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getGroupsVocabularies

public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(long[] groupIds)
                                                                                      throws com.liferay.portal.kernel.exception.PortalException,
                                                                                             com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getGroupsVocabularies

public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(long[] groupIds,
                                                                                             java.lang.String className)
                                                                                      throws com.liferay.portal.kernel.exception.PortalException,
                                                                                             com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getGroupVocabularies

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

getGroupVocabularies

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

getGroupVocabularies

public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(long groupId,
                                                                                            java.lang.String name,
                                                                                            int start,
                                                                                            int end,
                                                                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getGroupVocabulariesCount

public int getGroupVocabulariesCount(long groupId)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getGroupVocabulariesCount

public int getGroupVocabulariesCount(long groupId,
                                     java.lang.String name)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getJSONGroupVocabularies

public com.liferay.portal.kernel.json.JSONObject getJSONGroupVocabularies(long groupId,
                                                                          java.lang.String name,
                                                                          int start,
                                                                          int end,
                                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                   throws com.liferay.portal.kernel.exception.PortalException,
                                                                          com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getVocabularies

public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getVocabularies(long[] vocabularyIds)
                                                                                throws com.liferay.portal.kernel.exception.PortalException,
                                                                                       com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getVocabulary

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

updateVocabulary

public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(long vocabularyId,
                                                                        java.util.Map<java.util.Locale,java.lang.String> titleMap,
                                                                        java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
                                                                        java.lang.String settings,
                                                                        com.liferay.portal.service.ServiceContext serviceContext)
                                                                 throws com.liferay.portal.kernel.exception.PortalException,
                                                                        com.liferay.portal.kernel.exception.SystemException
Deprecated. 

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

updateVocabulary

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

filterVocabularies

protected java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> filterVocabularies(java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> vocabularies)
                                                                                      throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException