com.liferay.portlet.asset.service
Interface AssetVocabularyLocalService

All Known Implementing Classes:
AssetVocabularyLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface AssetVocabularyLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.asset.service.impl.AssetVocabularyLocalServiceImpl}. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
AssetVocabularyLocalServiceUtil
Generated:

Method Summary
 AssetVocabulary addAssetVocabulary(AssetVocabulary assetVocabulary)
           
 AssetVocabulary addVocabulary(java.lang.String uuid, 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, ServiceContext serviceContext)
           
 void addVocabularyResources(AssetVocabulary vocabulary, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addVocabularyResources(AssetVocabulary vocabulary, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 AssetVocabulary createAssetVocabulary(long vocabularyId)
           
 void deleteAssetVocabulary(AssetVocabulary assetVocabulary)
           
 void deleteAssetVocabulary(long vocabularyId)
           
 void deleteVocabulary(AssetVocabulary vocabulary)
           
 void deleteVocabulary(long vocabularyId)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List<AssetVocabulary> getAssetVocabularies(int start, int end)
           
 int getAssetVocabulariesCount()
           
 AssetVocabulary getAssetVocabulary(long vocabularyId)
           
 java.util.List<AssetVocabulary> getCompanyVocabularies(long companyId)
           
 java.util.List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
           
 java.util.List<AssetVocabulary> getGroupVocabularies(long groupId)
           
 AssetVocabulary getGroupVocabulary(long groupId, java.lang.String name)
           
 AssetVocabulary getVocabulary(long vocabularyId)
           
 AssetVocabulary updateAssetVocabulary(AssetVocabulary assetVocabulary)
           
 AssetVocabulary updateAssetVocabulary(AssetVocabulary assetVocabulary, boolean merge)
           
 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, ServiceContext serviceContext)
           
 

Method Detail

addAssetVocabulary

AssetVocabulary addAssetVocabulary(AssetVocabulary assetVocabulary)
                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

createAssetVocabulary

AssetVocabulary createAssetVocabulary(long vocabularyId)

deleteAssetVocabulary

void deleteAssetVocabulary(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

deleteAssetVocabulary

void deleteAssetVocabulary(AssetVocabulary assetVocabulary)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetVocabulary

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetVocabulary getAssetVocabulary(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

getAssetVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<AssetVocabulary> getAssetVocabularies(int start,
                                                                   int end)
                                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetVocabulariesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getAssetVocabulariesCount()
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateAssetVocabulary

AssetVocabulary updateAssetVocabulary(AssetVocabulary assetVocabulary)
                                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateAssetVocabulary

AssetVocabulary updateAssetVocabulary(AssetVocabulary assetVocabulary,
                                      boolean merge)
                                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addVocabulary

AssetVocabulary addVocabulary(java.lang.String uuid,
                              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,
                              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

void addVocabularyResources(AssetVocabulary vocabulary,
                            boolean addCommunityPermissions,
                            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

void addVocabularyResources(AssetVocabulary vocabulary,
                            java.lang.String[] communityPermissions,
                            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

deleteVocabulary

void deleteVocabulary(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

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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<AssetVocabulary> getCompanyVocabularies(long companyId)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getGroupsVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<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

getGroupVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<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

getGroupVocabulary

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

getVocabulary

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

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,
                                 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