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

java.lang.Object
  extended by com.liferay.portlet.asset.service.base.AssetVocabularyLocalServiceBaseImpl
      extended by com.liferay.portlet.asset.service.impl.AssetVocabularyLocalServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portal.service.PersistedModelLocalService, com.liferay.portlet.asset.service.AssetVocabularyLocalService

public class AssetVocabularyLocalServiceImpl
extends AssetVocabularyLocalServiceBaseImpl

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

Field Summary
 
Fields inherited from class com.liferay.portlet.asset.service.base.AssetVocabularyLocalServiceBaseImpl
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, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
AssetVocabularyLocalServiceImpl()
           
 
Method Summary
 com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(long userId, 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(long userId, 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 addVocabularyResources(com.liferay.portlet.asset.model.AssetVocabulary vocabulary, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addVocabularyResources(com.liferay.portlet.asset.model.AssetVocabulary vocabulary, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
           
 void deleteVocabularies(long groupId)
           
 void deleteVocabulary(com.liferay.portlet.asset.model.AssetVocabulary vocabulary)
           
 void deleteVocabulary(long vocabularyId)
           
 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, boolean createDefaultVocabulary)
           
 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)
           
 com.liferay.portlet.asset.model.AssetVocabulary getGroupVocabulary(long groupId, java.lang.String name)
           
 java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getVocabularies(long[] vocabularyIds)
           
 com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(long vocabularyId)
           
protected  boolean hasVocabulary(long groupId, java.lang.String name)
           
 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)
           
protected  void validate(long groupId, java.lang.String name)
           
 
Methods inherited from class com.liferay.portlet.asset.service.base.AssetVocabularyLocalServiceBaseImpl
addAssetVocabulary, afterPropertiesSet, createAssetVocabulary, deleteAssetVocabulary, deleteAssetVocabulary, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchAssetVocabulary, 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, getAssetVocabularies, getAssetVocabulariesCount, getAssetVocabulary, getAssetVocabularyByUuidAndGroupId, getAssetVocabularyFinder, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getBeanIdentifier, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getPersistedModel, 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, updateAssetVocabulary, updateAssetVocabulary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetVocabularyLocalServiceImpl

public AssetVocabularyLocalServiceImpl()
Method Detail

addVocabulary

public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(long userId,
                                                                     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(long userId,
                                                                     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

addVocabularyResources

public void addVocabularyResources(com.liferay.portlet.asset.model.AssetVocabulary vocabulary,
                                   boolean addGroupPermissions,
                                   boolean addGuestPermissions)
                            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

addVocabularyResources

public void addVocabularyResources(com.liferay.portlet.asset.model.AssetVocabulary vocabulary,
                                   java.lang.String[] groupPermissions,
                                   java.lang.String[] guestPermissions)
                            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 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

deleteVocabulary

public void deleteVocabulary(com.liferay.portlet.asset.model.AssetVocabulary vocabulary)
                      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.SystemException
Throws:
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,
                                                                                            boolean createDefaultVocabulary)
                                                                                     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,
                                                                                            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

getGroupVocabulary

public com.liferay.portlet.asset.model.AssetVocabulary getGroupVocabulary(long groupId,
                                                                          java.lang.String name)
                                                                   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

hasVocabulary

protected boolean hasVocabulary(long groupId,
                                java.lang.String name)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

validate

protected void validate(long groupId,
                        java.lang.String name)
                 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