Liferay 7.0-ce-m6

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 com.liferay.portlet.asset.service.impl.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, com.liferay.portlet.asset.service.base.AssetVocabularyServiceBaseImpl, com.liferay.portlet.asset.service.impl.AssetVocabularyServiceImpl

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 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
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 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, int start, int end, boolean addDefaultVocabulary)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(AssetVocabularyService service)
          Deprecated. As of 6.2.0
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

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

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

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,
                                                               int start,
                                                               int end,
                                                               boolean addDefaultVocabulary)
                                                        throws PortalException
Throws:
PortalException

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

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

setService

@Deprecated
public void setService(AssetVocabularyService service)
Deprecated. As of 6.2.0


Liferay 7.0-ce-m6