com.liferay.portlet.asset.service
Class AssetVocabularyServiceUtil

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

public class AssetVocabularyServiceUtil
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 AssetVocabularyService 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:
AssetVocabularyService
Generated:

Constructor Summary
AssetVocabularyServiceUtil()
           
 
Method Summary
static AssetVocabulary addVocabulary(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 deleteVocabulary(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 AssetVocabularyService getService()
           
static AssetVocabulary getVocabulary(long vocabularyId)
           
 void setService(AssetVocabularyService service)
           
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

AssetVocabularyServiceUtil

public AssetVocabularyServiceUtil()
Method Detail

addVocabulary

public static AssetVocabulary addVocabulary(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

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.PortalException,
                                                                     com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
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

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 AssetVocabularyService getService()

setService

public void setService(AssetVocabularyService service)