Liferay 6.1.2-ce-ga3

com.liferay.portlet.asset.service
Class AssetVocabularyServiceUtil

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

public class AssetVocabularyServiceUtil
extends Object

The utility for the asset vocabulary remote service. This utility wraps AssetVocabularyServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

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

Constructor Summary
AssetVocabularyServiceUtil()
           
 
Method Summary
static AssetVocabulary addVocabulary(Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
          Deprecated. As of 6.1.0 addVocabulary(String, Map, Map, String, ServiceContext)
static AssetVocabulary addVocabulary(String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
           
static void deleteVocabularies(long[] vocabularyIds)
          Deprecated. As of 6.2.0, Replaced by deleteVocabularies(long[], ServiceContext)
static List<AssetVocabulary> deleteVocabularies(long[] vocabularyIds, ServiceContext serviceContext)
           
static void deleteVocabulary(long vocabularyId)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static List<AssetVocabulary> getCompanyVocabularies(long companyId)
           
static List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
           
static List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className)
           
static List<AssetVocabulary> getGroupVocabularies(long groupId)
           
static List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary)
           
static List<AssetVocabulary> getGroupVocabularies(long groupId, int start, int end, OrderByComparator obc)
           
static List<AssetVocabulary> getGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator obc)
           
static int getGroupVocabulariesCount(long groupId)
           
static int getGroupVocabulariesCount(long groupId, String name)
           
static AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, boolean addDefaultVocabulary, OrderByComparator obc)
           
static JSONObject getJSONGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator obc)
           
static JSONObject getJSONGroupVocabulariesDisplay(long groupId, String name, int start, int end, boolean addDefaultVocabulary, OrderByComparator obc)
           
static AssetVocabularyService getService()
           
static List<AssetVocabulary> getVocabularies(long[] vocabularyIds)
           
static AssetVocabulary getVocabulary(long vocabularyId)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(AssetVocabularyService service)
          Deprecated.  
static AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
          Deprecated. As of 6.1.0, updateVocabulary(long, String, Map, Map, String, ServiceContext)
static AssetVocabulary updateVocabulary(long vocabularyId, String title, 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

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addVocabulary

public static AssetVocabulary addVocabulary(Map<Locale,String> titleMap,
                                            Map<Locale,String> descriptionMap,
                                            String settings,
                                            ServiceContext serviceContext)
                                     throws PortalException,
                                            SystemException
Deprecated. As of 6.1.0 addVocabulary(String, Map, Map, String, ServiceContext)

Throws:
PortalException
SystemException

addVocabulary

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

deleteVocabularies

public static void deleteVocabularies(long[] vocabularyIds)
                               throws PortalException,
                                      SystemException
Deprecated. As of 6.2.0, Replaced by deleteVocabularies(long[], ServiceContext)

Throws:
PortalException
SystemException

deleteVocabularies

public static List<AssetVocabulary> deleteVocabularies(long[] vocabularyIds,
                                                       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

getGroupsVocabularies

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

getGroupVocabularies

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

getGroupVocabularies

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

getGroupVocabularies

public static List<AssetVocabulary> getGroupVocabularies(long groupId,
                                                         int start,
                                                         int end,
                                                         OrderByComparator obc)
                                                  throws SystemException
Throws:
SystemException

getGroupVocabularies

public static List<AssetVocabulary> getGroupVocabularies(long groupId,
                                                         String name,
                                                         int start,
                                                         int end,
                                                         OrderByComparator obc)
                                                  throws SystemException
Throws:
SystemException

getGroupVocabulariesCount

public static int getGroupVocabulariesCount(long groupId)
                                     throws SystemException
Throws:
SystemException

getGroupVocabulariesCount

public static int getGroupVocabulariesCount(long groupId,
                                            String name)
                                     throws SystemException
Throws:
SystemException

getGroupVocabulariesDisplay

public static AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId,
                                                                 String name,
                                                                 int start,
                                                                 int end,
                                                                 boolean addDefaultVocabulary,
                                                                 OrderByComparator obc)
                                                          throws PortalException,
                                                                 SystemException
Throws:
PortalException
SystemException

getJSONGroupVocabularies

public static JSONObject getJSONGroupVocabularies(long groupId,
                                                  String name,
                                                  int start,
                                                  int end,
                                                  OrderByComparator obc)
                                           throws PortalException,
                                                  SystemException
Throws:
PortalException
SystemException

getJSONGroupVocabulariesDisplay

public static JSONObject getJSONGroupVocabulariesDisplay(long groupId,
                                                         String name,
                                                         int start,
                                                         int end,
                                                         boolean addDefaultVocabulary,
                                                         OrderByComparator obc)
                                                  throws PortalException,
                                                         SystemException
Throws:
PortalException
SystemException

getVocabularies

public static List<AssetVocabulary> getVocabularies(long[] vocabularyIds)
                                             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
Deprecated. As of 6.1.0, updateVocabulary(long, String, Map, Map, String, ServiceContext)

Throws:
PortalException
SystemException

updateVocabulary

public static AssetVocabulary updateVocabulary(long vocabularyId,
                                               String title,
                                               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)
Deprecated. 


Liferay 6.1.2-ce-ga3