Liferay 7.0-ce-b4

com.liferay.portlet.asset.service
Class AssetVocabularyServiceUtil

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

@ProviderType
public class AssetVocabularyServiceUtil
extends Object

Provides the remote service utility for AssetVocabulary. This utility wraps AssetVocabularyServiceImpl and is the primary access point for service operations in application layer code running on a remote server. 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(long groupId, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
           
static AssetVocabulary addVocabulary(long groupId, String title, 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 AssetVocabulary fetchVocabulary(long vocabularyId)
           
static List<AssetVocabulary> getCompanyVocabularies(long companyId)
          Deprecated. As of 7.0.0, with no direct replacement
static List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
           
static List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className)
           
static List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className, long classTypePK)
           
static List<AssetVocabulary> getGroupVocabularies(long groupId)
           
static List<AssetVocabulary> getGroupVocabularies(long[] groupIds)
           
static List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary)
           
static List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary, int start, int end, OrderByComparator<AssetVocabulary> obc)
           
static List<AssetVocabulary> getGroupVocabularies(long groupId, int start, int end, OrderByComparator<AssetVocabulary> obc)
           
static List<AssetVocabulary> getGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> obc)
           
static int getGroupVocabulariesCount(long groupId)
           
static int getGroupVocabulariesCount(long[] groupIds)
           
static int getGroupVocabulariesCount(long groupId, String name)
           
static AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, boolean addDefaultVocabulary, OrderByComparator<AssetVocabulary> obc)
           
static AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> obc)
           
static JSONObject getJSONGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> obc)
          Deprecated. As of 6.2.0, with no direct replacement
static String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
static AssetVocabularyService getService()
           
static List<AssetVocabulary> getVocabularies(long[] vocabularyIds)
          Deprecated. As of 7.0.0, replaced by AssetUtil#filterVocabularyIds(PermissionChecker, long[])
static AssetVocabulary getVocabulary(long vocabularyId)
           
static AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end)
           
static AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end, Sort sort)
           
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

addVocabulary

public static AssetVocabulary addVocabulary(long groupId,
                                            String title,
                                            ServiceContext serviceContext)
                                     throws PortalException
Throws:
PortalException

addVocabulary

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

deleteVocabularies

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

Throws:
PortalException

deleteVocabularies

public static List<AssetVocabulary> deleteVocabularies(long[] vocabularyIds,
                                                       ServiceContext serviceContext)
                                                throws PortalException
Throws:
PortalException

deleteVocabulary

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

fetchVocabulary

public static AssetVocabulary fetchVocabulary(long vocabularyId)
                                       throws PortalException
Throws:
PortalException

getCompanyVocabularies

@Deprecated
public static List<AssetVocabulary> getCompanyVocabularies(long companyId)
                                                    throws PortalException
Deprecated. As of 7.0.0, with no direct replacement

Throws:
PortalException

getGroupVocabularies

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

getGroupVocabularies

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

getGroupVocabularies

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

getGroupVocabularies

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

getGroupVocabularies

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

getGroupVocabularies

public static List<AssetVocabulary> getGroupVocabularies(long[] groupIds)

getGroupVocabulariesCount

public static int getGroupVocabulariesCount(long groupId)

getGroupVocabulariesCount

public static int getGroupVocabulariesCount(long groupId,
                                            String name)

getGroupVocabulariesCount

public static int getGroupVocabulariesCount(long[] groupIds)

getGroupVocabulariesDisplay

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

getGroupVocabulariesDisplay

public static AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId,
                                                                 String name,
                                                                 int start,
                                                                 int end,
                                                                 OrderByComparator<AssetVocabulary> obc)
                                                          throws PortalException
Throws:
PortalException

getGroupsVocabularies

public static List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)

getGroupsVocabularies

public static List<AssetVocabulary> getGroupsVocabularies(long[] groupIds,
                                                          String className)

getGroupsVocabularies

public static List<AssetVocabulary> getGroupsVocabularies(long[] groupIds,
                                                          String className,
                                                          long classTypePK)

getJSONGroupVocabularies

@Deprecated
public static JSONObject getJSONGroupVocabularies(long groupId,
                                                             String name,
                                                             int start,
                                                             int end,
                                                             OrderByComparator<AssetVocabulary> obc)
                                           throws PortalException
Deprecated. As of 6.2.0, with no direct replacement

Throws:
PortalException

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

getVocabularies

@Deprecated
public static List<AssetVocabulary> getVocabularies(long[] vocabularyIds)
                                             throws PortalException
Deprecated. As of 7.0.0, replaced by AssetUtil#filterVocabularyIds(PermissionChecker, long[])

Throws:
PortalException

getVocabulary

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

searchVocabulariesDisplay

public static AssetVocabularyDisplay searchVocabulariesDisplay(long groupId,
                                                               String title,
                                                               boolean addDefaultVocabulary,
                                                               int start,
                                                               int end)
                                                        throws PortalException
Throws:
PortalException

searchVocabulariesDisplay

public static AssetVocabularyDisplay searchVocabulariesDisplay(long groupId,
                                                               String title,
                                                               boolean addDefaultVocabulary,
                                                               int start,
                                                               int end,
                                                               Sort sort)
                                                        throws PortalException
Throws:
PortalException

updateVocabulary

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

getService

public static AssetVocabularyService getService()

Liferay 7.0-ce-b4