Liferay 6.2-ce-ga5

com.liferay.portlet.asset.service
Class AssetTagServiceUtil

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

@ProviderType
public class AssetTagServiceUtil
extends Object

Provides the remote service utility for AssetTag. This utility wraps AssetTagServiceImpl 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:
AssetTagService, AssetTagServiceBaseImpl, AssetTagServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
AssetTagServiceUtil()
           
 
Method Summary
static AssetTag addTag(String name, String[] tagProperties, ServiceContext serviceContext)
           
static void deleteTag(long tagId)
           
static void deleteTags(long[] tagIds)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static List<AssetTag> getGroupsTags(long[] groupIds)
           
static List<AssetTag> getGroupTags(long groupId)
           
static List<AssetTag> getGroupTags(long groupId, int start, int end, OrderByComparator obc)
           
static int getGroupTagsCount(long groupId)
           
static AssetTagDisplay getGroupTagsDisplay(long groupId, String name, int start, int end)
           
static JSONObject getJSONGroupTags(long groupId, String name, int start, int end)
          Deprecated. As of 6.2.0, replaced by getGroupTagsDisplay(long, String, int, int)
static AssetTagService getService()
           
static AssetTag getTag(long tagId)
           
static List<AssetTag> getTags(long[] groupIds, String name, String[] tagProperties, int start, int end)
           
static List<AssetTag> getTags(long groupId, long classNameId, String name)
           
static List<AssetTag> getTags(long groupId, long classNameId, String name, int start, int end, OrderByComparator obc)
           
static List<AssetTag> getTags(long groupId, String name, String[] tagProperties, int start, int end)
           
static List<AssetTag> getTags(String className, long classPK)
           
static int getTagsCount(long groupId, long classNameId, String name)
           
static int getTagsCount(long groupId, String name)
           
static int getTagsCount(long groupId, String name, String[] tagProperties)
           
static void mergeTags(long[] fromTagIds, long toTagId, boolean overrideProperties)
           
static void mergeTags(long fromTagId, long toTagId, boolean overrideProperties)
           
static JSONArray search(long[] groupIds, String name, String[] tagProperties, int start, int end)
           
static JSONArray search(long groupId, String name, String[] tagProperties, int start, int end)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(AssetTagService service)
          Deprecated. As of 6.2.0
static AssetTag updateTag(long tagId, String name, String[] tagProperties, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetTagServiceUtil

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

addTag

public static AssetTag addTag(String name,
                              String[] tagProperties,
                              ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

deleteTag

public static void deleteTag(long tagId)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

deleteTags

public static void deleteTags(long[] tagIds)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getGroupsTags

public static List<AssetTag> getGroupsTags(long[] groupIds)
                                    throws SystemException
Throws:
SystemException

getGroupTags

public static List<AssetTag> getGroupTags(long groupId)
                                   throws SystemException
Throws:
SystemException

getGroupTags

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

getGroupTagsCount

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

getGroupTagsDisplay

public static AssetTagDisplay getGroupTagsDisplay(long groupId,
                                                  String name,
                                                  int start,
                                                  int end)
                                           throws SystemException
Throws:
SystemException

getJSONGroupTags

public static JSONObject getJSONGroupTags(long groupId,
                                          String name,
                                          int start,
                                          int end)
                                   throws PortalException,
                                          SystemException
Deprecated. As of 6.2.0, replaced by getGroupTagsDisplay(long, String, int, int)

Throws:
PortalException
SystemException

getTag

public static AssetTag getTag(long tagId)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getTags

public static List<AssetTag> getTags(long groupId,
                                     long classNameId,
                                     String name)
                              throws SystemException
Throws:
SystemException

getTags

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

getTags

public static List<AssetTag> getTags(long groupId,
                                     String name,
                                     String[] tagProperties,
                                     int start,
                                     int end)
                              throws SystemException
Throws:
SystemException

getTags

public static List<AssetTag> getTags(long[] groupIds,
                                     String name,
                                     String[] tagProperties,
                                     int start,
                                     int end)
                              throws SystemException
Throws:
SystemException

getTags

public static List<AssetTag> getTags(String className,
                                     long classPK)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

getTagsCount

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

getTagsCount

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

getTagsCount

public static int getTagsCount(long groupId,
                               String name,
                               String[] tagProperties)
                        throws SystemException
Throws:
SystemException

mergeTags

public static void mergeTags(long fromTagId,
                             long toTagId,
                             boolean overrideProperties)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

mergeTags

public static void mergeTags(long[] fromTagIds,
                             long toTagId,
                             boolean overrideProperties)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

search

public static JSONArray search(long groupId,
                               String name,
                               String[] tagProperties,
                               int start,
                               int end)
                        throws SystemException
Throws:
SystemException

search

public static JSONArray search(long[] groupIds,
                               String name,
                               String[] tagProperties,
                               int start,
                               int end)
                        throws SystemException
Throws:
SystemException

updateTag

public static AssetTag updateTag(long tagId,
                                 String name,
                                 String[] tagProperties,
                                 ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getService

public static AssetTagService getService()

setService

public void setService(AssetTagService service)
Deprecated. As of 6.2.0


Liferay 6.2-ce-ga5