com.liferay.portlet.asset.service
Class AssetTagServiceUtil
java.lang.Object
com.liferay.portlet.asset.service.AssetTagServiceUtil
public class AssetTagServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
AssetTagService
bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
AssetTagService
- Generated:
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 com.liferay.portal.kernel.json.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 |
AssetTagServiceUtil
public AssetTagServiceUtil()
addTag
public static AssetTag addTag(java.lang.String name,
java.lang.String[] tagProperties,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteTag
public static void deleteTag(long tagId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getGroupTags
public static java.util.List<AssetTag> getGroupTags(long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getTag
public static AssetTag getTag(long tagId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getTags
public static java.util.List<AssetTag> getTags(long groupId,
long classNameId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getTags
public static java.util.List<AssetTag> getTags(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
mergeTags
public static void mergeTags(long fromTagId,
long toTagId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
search
public static com.liferay.portal.kernel.json.JSONArray search(long groupId,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateTag
public static AssetTag updateTag(long tagId,
java.lang.String name,
java.lang.String[] tagProperties,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getService
public static AssetTagService getService()
setService
public void setService(AssetTagService service)