com.liferay.portlet.asset.service
Interface AssetVocabularyLocalService

All Known Implementing Classes:
AssetVocabularyLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,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 dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 java.util.List<AssetVocabulary> getAssetVocabularies(int start, int end)
           
 int getAssetVocabulariesCount()
           
 AssetVocabulary getAssetVocabulary(long vocabularyId)
           
 AssetVocabulary getAssetVocabularyByUuidAndGroupId(java.lang.String uuid, long groupId)
           
 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 SystemException
Throws:
SystemException

createAssetVocabulary

AssetVocabulary createAssetVocabulary(long vocabularyId)

deleteAssetVocabulary

void deleteAssetVocabulary(long vocabularyId)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

deleteAssetVocabulary

void deleteAssetVocabulary(AssetVocabulary assetVocabulary)
                           throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Throws:
SystemException

getAssetVocabulary

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetVocabulary getAssetVocabulary(long vocabularyId)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getAssetVocabularyByUuidAndGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetVocabulary getAssetVocabularyByUuidAndGroupId(java.lang.String uuid,
                                                                                            long groupId)
                                                   throws PortalException,
                                                          SystemException
Throws:
PortalException
SystemException

getAssetVocabularies

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

getAssetVocabulariesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getAssetVocabulariesCount()
                              throws SystemException
Throws:
SystemException

updateAssetVocabulary

AssetVocabulary updateAssetVocabulary(AssetVocabulary assetVocabulary)
                                      throws SystemException
Throws:
SystemException

updateAssetVocabulary

AssetVocabulary updateAssetVocabulary(AssetVocabulary assetVocabulary,
                                      boolean merge)
                                      throws SystemException
Throws:
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 PortalException,
                                     SystemException
Throws:
PortalException
SystemException

addVocabularyResources

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

addVocabularyResources

void addVocabularyResources(AssetVocabulary vocabulary,
                            java.lang.String[] communityPermissions,
                            java.lang.String[] guestPermissions)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

deleteVocabulary

void deleteVocabulary(AssetVocabulary vocabulary)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

deleteVocabulary

void deleteVocabulary(long vocabularyId)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getCompanyVocabularies

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

getGroupsVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
                                                      throws PortalException,
                                                             SystemException
Throws:
PortalException
SystemException

getGroupVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<AssetVocabulary> getGroupVocabularies(long groupId)
                                                     throws PortalException,
                                                            SystemException
Throws:
PortalException
SystemException

getGroupVocabulary

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetVocabulary getGroupVocabulary(long groupId,
                                                                            java.lang.String name)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getVocabulary

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetVocabulary getVocabulary(long vocabularyId)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
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 PortalException,
                                        SystemException
Throws:
PortalException
SystemException