@ProviderType
public class AssetTagServiceUtil
extends java.lang.Object
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. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.AssetTagService,
com.liferay.portlet.asset.service.base.AssetTagServiceBaseImpl,
com.liferay.portlet.asset.service.impl.AssetTagServiceImpl| Constructor and Description |
|---|
AssetTagServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static AssetTag |
addTag(long groupId,
java.lang.String name,
ServiceContext serviceContext) |
static void |
deleteTag(long tagId) |
static void |
deleteTags(long[] tagIds) |
static java.util.List<AssetTag> |
getGroupsTags(long[] groupIds) |
static java.util.List<AssetTag> |
getGroupTags(long groupId) |
static java.util.List<AssetTag> |
getGroupTags(long groupId,
int start,
int end,
OrderByComparator<AssetTag> obc) |
static int |
getGroupTagsCount(long groupId) |
static AssetTagDisplay |
getGroupTagsDisplay(long groupId,
java.lang.String name,
int start,
int end) |
static JSONObject |
getJSONGroupTags(long groupId,
java.lang.String name,
int start,
int end)
Deprecated.
As of 6.2.0, replaced by
getGroupTagsDisplay(long,
String, int, int) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static AssetTagService |
getService() |
static AssetTag |
getTag(long tagId) |
static java.util.List<AssetTag> |
getTags(long[] groupIds,
java.lang.String name,
int start,
int end) |
static java.util.List<AssetTag> |
getTags(long[] groupIds,
java.lang.String name,
int start,
int end,
OrderByComparator<AssetTag> obc) |
static java.util.List<AssetTag> |
getTags(long groupId,
long classNameId,
java.lang.String name) |
static java.util.List<AssetTag> |
getTags(long groupId,
long classNameId,
java.lang.String name,
int start,
int end,
OrderByComparator<AssetTag> obc) |
static java.util.List<AssetTag> |
getTags(long groupId,
java.lang.String name,
int start,
int end) |
static java.util.List<AssetTag> |
getTags(long groupId,
java.lang.String name,
int start,
int end,
OrderByComparator<AssetTag> obc) |
static java.util.List<AssetTag> |
getTags(java.lang.String className,
long classPK) |
static int |
getTagsCount(long groupId,
java.lang.String name) |
static int |
getVisibleAssetsTagsCount(long groupId,
long classNameId,
java.lang.String name) |
static int |
getVisibleAssetsTagsCount(long groupId,
java.lang.String name) |
static void |
mergeTags(long[] fromTagIds,
long toTagId) |
static void |
mergeTags(long fromTagId,
long toTagId) |
static JSONArray |
search(long[] groupIds,
java.lang.String name,
int start,
int end) |
static JSONArray |
search(long groupId,
java.lang.String name,
int start,
int end) |
static AssetTag |
updateTag(long tagId,
java.lang.String name,
ServiceContext serviceContext) |
public static AssetTag addTag(long groupId, java.lang.String name, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static void deleteTag(long tagId)
throws PortalException
PortalExceptionpublic static void deleteTags(long[] tagIds)
throws PortalException
PortalExceptionpublic static java.util.List<AssetTag> getGroupTags(long groupId)
public static java.util.List<AssetTag> getGroupTags(long groupId, int start, int end, OrderByComparator<AssetTag> obc)
public static int getGroupTagsCount(long groupId)
public static AssetTagDisplay getGroupTagsDisplay(long groupId, java.lang.String name, int start, int end)
public static java.util.List<AssetTag> getGroupsTags(long[] groupIds)
@Deprecated public static JSONObject getJSONGroupTags(long groupId, java.lang.String name, int start, int end) throws PortalException
getGroupTagsDisplay(long,
String, int, int)PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static AssetTag getTag(long tagId) throws PortalException
PortalExceptionpublic static java.util.List<AssetTag> getTags(java.lang.String className, long classPK)
public static java.util.List<AssetTag> getTags(long groupId, long classNameId, java.lang.String name)
public static java.util.List<AssetTag> getTags(long groupId, long classNameId, java.lang.String name, int start, int end, OrderByComparator<AssetTag> obc)
public static java.util.List<AssetTag> getTags(long groupId, java.lang.String name, int start, int end)
public static java.util.List<AssetTag> getTags(long groupId, java.lang.String name, int start, int end, OrderByComparator<AssetTag> obc)
public static java.util.List<AssetTag> getTags(long[] groupIds, java.lang.String name, int start, int end)
public static java.util.List<AssetTag> getTags(long[] groupIds, java.lang.String name, int start, int end, OrderByComparator<AssetTag> obc)
public static int getTagsCount(long groupId,
java.lang.String name)
public static int getVisibleAssetsTagsCount(long groupId,
long classNameId,
java.lang.String name)
public static int getVisibleAssetsTagsCount(long groupId,
java.lang.String name)
public static void mergeTags(long fromTagId,
long toTagId)
throws PortalException
PortalExceptionpublic static void mergeTags(long[] fromTagIds,
long toTagId)
throws PortalException
PortalExceptionpublic static JSONArray search(long groupId, java.lang.String name, int start, int end)
public static JSONArray search(long[] groupIds, java.lang.String name, int start, int end)
public static AssetTag updateTag(long tagId, java.lang.String name, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static AssetTagService getService()