Liferay 6.2-ce-ga5

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

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

public class AssetVocabularyLocalServiceImpl
extends AssetVocabularyLocalServiceBaseImpl

Provides the local service for accessing, adding, deleting, and updating asset vocabularies.


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, resourceLocalService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl
layoutPersistence
 
Constructor Summary
AssetVocabularyLocalServiceImpl()
           
 
Method Summary
 AssetVocabulary addDefaultVocabulary(long groupId)
           
 AssetVocabulary addVocabulary(long userId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
          Deprecated. As of 6.1.0
 AssetVocabulary addVocabulary(long userId, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
           
 AssetVocabulary addVocabulary(long userId, String title, ServiceContext serviceContext)
           
 void addVocabularyResources(AssetVocabulary vocabulary, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addVocabularyResources(AssetVocabulary vocabulary, String[] groupPermissions, String[] guestPermissions)
           
 void deleteVocabularies(long groupId)
           
 void deleteVocabulary(AssetVocabulary vocabulary)
           
 void deleteVocabulary(long vocabularyId)
           
 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 addDefaultVocabulary)
           
 List<AssetVocabulary> getGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator obc)
           
 AssetVocabulary getGroupVocabulary(long groupId, String name)
           
 List<AssetVocabulary> getVocabularies(long[] vocabularyIds)
           
 AssetVocabulary getVocabulary(long vocabularyId)
           
protected  boolean hasVocabulary(long groupId, String name)
           
 AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
          Deprecated. As of 6.1.0
 AssetVocabulary updateVocabulary(long vocabularyId, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
           
protected  void validate(long groupId, String name)
           
 
Methods inherited from class com.liferay.portlet.asset.service.base.AssetVocabularyLocalServiceBaseImpl
addAssetVocabulary, afterPropertiesSet, createAssetVocabulary, deleteAssetVocabulary, deleteAssetVocabulary, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchAssetVocabulary, fetchAssetVocabularyByUuidAndCompanyId, fetchAssetVocabularyByUuidAndGroupId, 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, getAssetVocabularyByUuidAndCompanyId, getAssetVocabularyByUuidAndGroupId, getAssetVocabularyFinder, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getBeanIdentifier, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getPersistedModel, 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, updateAssetVocabulary
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLayoutURL, getLayoutURL
 
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

addDefaultVocabulary

public AssetVocabulary addDefaultVocabulary(long groupId)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

addVocabulary

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

Throws:
PortalException
SystemException

addVocabulary

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

addVocabulary

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

addVocabularyResources

public void addVocabularyResources(AssetVocabulary vocabulary,
                                   boolean addGroupPermissions,
                                   boolean addGuestPermissions)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

addVocabularyResources

public void addVocabularyResources(AssetVocabulary vocabulary,
                                   String[] groupPermissions,
                                   String[] guestPermissions)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

deleteVocabularies

public void deleteVocabularies(long groupId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

deleteVocabulary

public void deleteVocabulary(AssetVocabulary vocabulary)
                      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 SystemException
Throws:
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 addDefaultVocabulary)
                                           throws PortalException,
                                                  SystemException
Throws:
PortalException
SystemException

getGroupVocabularies

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

getGroupVocabulary

public AssetVocabulary getGroupVocabulary(long groupId,
                                          String name)
                                   throws PortalException,
                                          SystemException
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

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

hasVocabulary

protected boolean hasVocabulary(long groupId,
                                String name)
                         throws SystemException
Throws:
SystemException

validate

protected void validate(long groupId,
                        String name)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

Liferay 6.2-ce-ga5