Liferay 7.0-ce-b8 portal-impl

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

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

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, assetVocabularyFinder, assetVocabularyLocalService, assetVocabularyPersistence, classNameLocalService, classNamePersistence, counterLocalService, groupFinder, groupLocalService, groupPersistence, persistedModelLocalServiceRegistry, resourceLocalService, userFinder, userLocalService, userPersistence
 
Constructor Summary
AssetVocabularyLocalServiceImpl()
           
 
Method Summary
 com.liferay.asset.kernel.model.AssetVocabulary addDefaultVocabulary(long groupId)
           
 com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long userId, 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 userId, long groupId, String title, com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
 void addVocabularyResources(com.liferay.asset.kernel.model.AssetVocabulary vocabulary, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addVocabularyResources(com.liferay.asset.kernel.model.AssetVocabulary vocabulary, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions)
           
protected  com.liferay.portal.kernel.search.SearchContext buildSearchContext(long companyId, long groupId, String title, int start, int end, com.liferay.portal.kernel.search.Sort sort)
           
 void deleteVocabularies(long groupId)
           
 com.liferay.asset.kernel.model.AssetVocabulary deleteVocabulary(com.liferay.asset.kernel.model.AssetVocabulary vocabulary)
           
 void deleteVocabulary(long vocabularyId)
           
 List<com.liferay.asset.kernel.model.AssetVocabulary> getCompanyVocabularies(long companyId)
           
 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 addDefaultVocabulary)
           
 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[] groupIds)
           
 com.liferay.asset.kernel.model.AssetVocabulary getGroupVocabulary(long groupId, String name)
           
 List<com.liferay.asset.kernel.model.AssetVocabulary> getVocabularies(com.liferay.portal.kernel.search.Hits hits)
           
 List<com.liferay.asset.kernel.model.AssetVocabulary> getVocabularies(long[] vocabularyIds)
           
 com.liferay.asset.kernel.model.AssetVocabulary getVocabulary(long vocabularyId)
           
protected  boolean hasVocabulary(long groupId, String name)
           
 com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.asset.kernel.model.AssetVocabulary> searchVocabularies(long companyId, long groupId, String title, int start, int end)
           
 com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.asset.kernel.model.AssetVocabulary> searchVocabularies(long companyId, long groupId, String title, int start, int end, com.liferay.portal.kernel.search.Sort sort)
           
protected  com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.asset.kernel.model.AssetVocabulary> searchVocabularies(com.liferay.portal.kernel.search.SearchContext searchContext)
           
 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)
           
protected  void validate(long groupId, String name)
           
 
Methods inherited from class com.liferay.portlet.asset.service.base.AssetVocabularyLocalServiceBaseImpl
addAssetVocabulary, afterPropertiesSet, createAssetVocabulary, deleteAssetVocabulary, deleteAssetVocabulary, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchAssetVocabulary, fetchAssetVocabularyByUuidAndGroupId, getActionableDynamicQuery, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetVocabularies, getAssetVocabulariesByUuidAndCompanyId, getAssetVocabulariesByUuidAndCompanyId, getAssetVocabulariesCount, getAssetVocabulary, getAssetVocabularyByUuidAndGroupId, getAssetVocabularyFinder, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getClassNameLocalService, getClassNamePersistence, getCounterLocalService, getExportActionableDynamicQuery, getGroupFinder, getGroupLocalService, getGroupPersistence, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetVocabularyFinder, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setClassNameLocalService, setClassNamePersistence, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, updateAssetVocabulary
 
Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
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 com.liferay.asset.kernel.model.AssetVocabulary addDefaultVocabulary(long groupId)
                                                                    throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

addVocabulary

@Indexable(type=REINDEX)
public com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long userId,
                                                                              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 userId,
                                                                    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

addVocabularyResources

public void addVocabularyResources(com.liferay.asset.kernel.model.AssetVocabulary vocabulary,
                                   boolean addGroupPermissions,
                                   boolean addGuestPermissions)
                            throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

addVocabularyResources

public void addVocabularyResources(com.liferay.asset.kernel.model.AssetVocabulary vocabulary,
                                   com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions)
                            throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

deleteVocabularies

public void deleteVocabularies(long groupId)
                        throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

deleteVocabulary

@Indexable(type=DELETE)
@SystemEvent(action=1,
             type=1)
public com.liferay.asset.kernel.model.AssetVocabulary deleteVocabulary(com.liferay.asset.kernel.model.AssetVocabulary vocabulary)
                                                                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

getCompanyVocabularies

public List<com.liferay.asset.kernel.model.AssetVocabulary> getCompanyVocabularies(long companyId)

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 addDefaultVocabulary)
                                                                          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,
                                                                                 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[] groupIds)

getGroupVocabulary

public com.liferay.asset.kernel.model.AssetVocabulary getGroupVocabulary(long groupId,
                                                                         String name)
                                                                  throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getVocabularies

public List<com.liferay.asset.kernel.model.AssetVocabulary> getVocabularies(com.liferay.portal.kernel.search.Hits hits)
                                                                     throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getVocabularies

public List<com.liferay.asset.kernel.model.AssetVocabulary> getVocabularies(long[] vocabularyIds)
                                                                     throws com.liferay.portal.kernel.exception.PortalException
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

searchVocabularies

public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.asset.kernel.model.AssetVocabulary> searchVocabularies(long companyId,
                                                                                                                                 long groupId,
                                                                                                                                 String title,
                                                                                                                                 int start,
                                                                                                                                 int end)
                                                                                                                          throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

searchVocabularies

public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.asset.kernel.model.AssetVocabulary> searchVocabularies(long companyId,
                                                                                                                                 long groupId,
                                                                                                                                 String title,
                                                                                                                                 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

@Indexable(type=REINDEX)
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

buildSearchContext

protected com.liferay.portal.kernel.search.SearchContext buildSearchContext(long companyId,
                                                                            long groupId,
                                                                            String title,
                                                                            int start,
                                                                            int end,
                                                                            com.liferay.portal.kernel.search.Sort sort)

hasVocabulary

protected boolean hasVocabulary(long groupId,
                                String name)

searchVocabularies

protected com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.asset.kernel.model.AssetVocabulary> searchVocabularies(com.liferay.portal.kernel.search.SearchContext searchContext)
                                                                                                                             throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

validate

protected void validate(long groupId,
                        String name)
                 throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

Liferay 7.0-ce-b8 portal-impl