Liferay 6.0.4

com.liferay.portlet.asset.service
Class AssetVocabularyServiceUtil

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

public class AssetVocabularyServiceUtil
extends Object

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.

See Also:
AssetVocabularyService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
AssetVocabularyServiceUtil()
           
 
Method Summary
static AssetVocabulary addVocabulary(Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
           
static void deleteVocabulary(long vocabularyId)
           
static List<AssetVocabulary> getCompanyVocabularies(long companyId)
           
static List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
           
static List<AssetVocabulary> getGroupVocabularies(long groupId)
           
static AssetVocabularyService getService()
           
static AssetVocabulary getVocabulary(long vocabularyId)
           
 void setService(AssetVocabularyService service)
           
static AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, 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(Map<Locale,String> titleMap,
                                            Map<Locale,String> descriptionMap,
                                            String settings,
                                            ServiceContext serviceContext)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

deleteVocabulary

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

getCompanyVocabularies

public static List<AssetVocabulary> getCompanyVocabularies(long companyId)
                                                    throws PortalException,
                                                           SystemException
Throws:
PortalException
SystemException

getGroupsVocabularies

public static List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
                                                   throws PortalException,
                                                          SystemException
Throws:
PortalException
SystemException

getGroupVocabularies

public static List<AssetVocabulary> getGroupVocabularies(long groupId)
                                                  throws PortalException,
                                                         SystemException
Throws:
PortalException
SystemException

getVocabulary

public static AssetVocabulary getVocabulary(long vocabularyId)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

updateVocabulary

public static AssetVocabulary updateVocabulary(long vocabularyId,
                                               Map<Locale,String> titleMap,
                                               Map<Locale,String> descriptionMap,
                                               String settings,
                                               ServiceContext serviceContext)
                                        throws PortalException,
                                               SystemException
Throws:
PortalException
SystemException

getService

public static AssetVocabularyService getService()

setService

public void setService(AssetVocabularyService service)

Liferay 6.0.4