com.liferay.portlet.asset.service
Class AssetTagServiceUtil

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

public class AssetTagServiceUtil
extends java.lang.Object

The utility for the asset tag remote service. This utility wraps com.liferay.portlet.asset.service.impl.AssetTagServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

Never modify this class directly. Add custom service methods to com.liferay.portlet.asset.service.impl.AssetTagServiceImpl and rerun ServiceBuilder to regenerate this class.

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.

Author:
Brian Wing Shun Chan
See Also:
AssetTagService, com.liferay.portlet.asset.service.base.AssetTagServiceBaseImpl, com.liferay.portlet.asset.service.impl.AssetTagServiceImpl
Generated:

Constructor Summary
AssetTagServiceUtil()
           
 
Method Summary
static AssetTag addTag(java.lang.String name, java.lang.String[] tagProperties, ServiceContext serviceContext)
           
static void deleteTag(long tagId)
           
static java.util.List<AssetTag> getGroupTags(long groupId)
           
static AssetTagService getService()
           
static AssetTag getTag(long tagId)
           
static java.util.List<AssetTag> getTags(long groupId, long classNameId, java.lang.String name)
           
static java.util.List<AssetTag> getTags(java.lang.String className, long classPK)
           
static void mergeTags(long fromTagId, long toTagId)
           
static JSONArray search(long groupId, java.lang.String name, java.lang.String[] tagProperties, int start, int end)
           
 void setService(AssetTagService service)
           
static AssetTag updateTag(long tagId, java.lang.String name, java.lang.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

addTag

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

deleteTag

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

getGroupTags

public static java.util.List<AssetTag> getGroupTags(long groupId)
                                             throws PortalException,
                                                    SystemException
Throws:
PortalException
SystemException

getTag

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

getTags

public static java.util.List<AssetTag> getTags(long groupId,
                                               long classNameId,
                                               java.lang.String name)
                                        throws PortalException,
                                               SystemException
Throws:
PortalException
SystemException

getTags

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

mergeTags

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

search

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

updateTag

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

getService

public static AssetTagService getService()

setService

public void setService(AssetTagService service)