com.liferay.portlet.asset.service
Class AssetVocabularyLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.asset.service.AssetVocabularyLocalServiceUtil

public class AssetVocabularyLocalServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the AssetVocabularyLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

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

Constructor Summary
AssetVocabularyLocalServiceUtil()
           
 
Method Summary
static AssetVocabulary addAssetVocabulary(AssetVocabulary assetVocabulary)
           
static 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)
           
static void addVocabularyResources(AssetVocabulary vocabulary, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static void addVocabularyResources(AssetVocabulary vocabulary, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
static AssetVocabulary createAssetVocabulary(long vocabularyId)
           
static void deleteAssetVocabulary(AssetVocabulary assetVocabulary)
           
static void deleteAssetVocabulary(long vocabularyId)
           
static void deleteVocabulary(AssetVocabulary vocabulary)
           
static void deleteVocabulary(long vocabularyId)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static java.util.List<AssetVocabulary> getAssetVocabularies(int start, int end)
           
static int getAssetVocabulariesCount()
           
static AssetVocabulary getAssetVocabulary(long vocabularyId)
           
static java.util.List<AssetVocabulary> getCompanyVocabularies(long companyId)
           
static java.util.List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
           
static java.util.List<AssetVocabulary> getGroupVocabularies(long groupId)
           
static AssetVocabulary getGroupVocabulary(long groupId, java.lang.String name)
           
static AssetVocabularyLocalService getService()
           
static AssetVocabulary getVocabulary(long vocabularyId)
           
 void setService(AssetVocabularyLocalService service)
           
static AssetVocabulary updateAssetVocabulary(AssetVocabulary assetVocabulary)
           
static AssetVocabulary updateAssetVocabulary(AssetVocabulary assetVocabulary, boolean merge)
           
static 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetVocabularyLocalServiceUtil

public AssetVocabularyLocalServiceUtil()
Method Detail

addAssetVocabulary

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

createAssetVocabulary

public static AssetVocabulary createAssetVocabulary(long vocabularyId)

deleteAssetVocabulary

public static 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

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

dynamicQuery

public static 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

public static 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

public static 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

public static java.util.List<AssetVocabulary> getAssetVocabularies(int start,
                                                                   int end)
                                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetVocabulariesCount

public static int getAssetVocabulariesCount()
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateAssetVocabulary

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

updateAssetVocabulary

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

addVocabulary

public static 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

public static 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

public static 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

public static 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

public static 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 static java.util.List<AssetVocabulary> getCompanyVocabularies(long companyId)
                                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getGroupsVocabularies

public static 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

public static 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

public static 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

public static 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 static 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

getService

public static AssetVocabularyLocalService getService()

setService

public void setService(AssetVocabularyLocalService service)