@ProviderType
public class AssetTagServiceUtil
extends Object
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
,
AssetTagServiceBaseImpl
,
AssetTagServiceImpl
Constructor and Description |
---|
AssetTagServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static AssetTag |
addTag(long groupId,
String name,
ServiceContext serviceContext) |
static void |
deleteTag(long tagId) |
static void |
deleteTags(long[] tagIds) |
static List<AssetTag> |
getGroupsTags(long[] groupIds) |
static List<AssetTag> |
getGroupTags(long groupId) |
static List<AssetTag> |
getGroupTags(long groupId,
int start,
int end,
OrderByComparator<AssetTag> obc) |
static int |
getGroupTagsCount(long groupId) |
static AssetTagDisplay |
getGroupTagsDisplay(long groupId,
String name,
int start,
int end) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static AssetTagService |
getService() |
static AssetTag |
getTag(long tagId) |
static List<AssetTag> |
getTags(long[] groupIds,
String name,
int start,
int end) |
static List<AssetTag> |
getTags(long[] groupIds,
String name,
int start,
int end,
OrderByComparator<AssetTag> obc) |
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<AssetTag> obc) |
static List<AssetTag> |
getTags(long groupId,
String name,
int start,
int end) |
static List<AssetTag> |
getTags(long groupId,
String name,
int start,
int end,
OrderByComparator<AssetTag> obc) |
static List<AssetTag> |
getTags(String className,
long classPK) |
static int |
getTagsCount(long groupId,
String name) |
static int |
getVisibleAssetsTagsCount(long groupId,
long classNameId,
String name) |
static int |
getVisibleAssetsTagsCount(long groupId,
String name) |
static void |
mergeTags(long[] fromTagIds,
long toTagId) |
static void |
mergeTags(long fromTagId,
long toTagId) |
static JSONArray |
search(long[] groupIds,
String name,
int start,
int end) |
static JSONArray |
search(long groupId,
String name,
int start,
int end) |
static AssetTag |
updateTag(long tagId,
String name,
ServiceContext serviceContext) |
public static AssetTag addTag(long groupId, String name, ServiceContext serviceContext) throws PortalException
PortalException
public static void deleteTag(long tagId) throws PortalException
PortalException
public static void deleteTags(long[] tagIds) throws PortalException
PortalException
public static List<AssetTag> getGroupsTags(long[] groupIds)
public static List<AssetTag> getGroupTags(long groupId)
public static List<AssetTag> getGroupTags(long groupId, int start, int end, OrderByComparator<AssetTag> obc)
public static int getGroupTagsCount(long groupId)
public static AssetTagDisplay getGroupTagsDisplay(long groupId, String name, int start, int end)
public static String getOSGiServiceIdentifier()
public static AssetTag getTag(long tagId) throws PortalException
PortalException
public static List<AssetTag> getTags(long groupId, long classNameId, String name)
public static List<AssetTag> getTags(long groupId, long classNameId, String name, int start, int end, OrderByComparator<AssetTag> obc)
public static List<AssetTag> getTags(long groupId, String name, int start, int end)
public static List<AssetTag> getTags(long groupId, String name, int start, int end, OrderByComparator<AssetTag> obc)
public static List<AssetTag> getTags(long[] groupIds, String name, int start, int end)
public static List<AssetTag> getTags(long[] groupIds, String name, int start, int end, OrderByComparator<AssetTag> obc)
public static List<AssetTag> getTags(String className, long classPK)
public static int getTagsCount(long groupId, String name)
public static int getVisibleAssetsTagsCount(long groupId, long classNameId, String name)
public static int getVisibleAssetsTagsCount(long groupId, String name)
public static void mergeTags(long fromTagId, long toTagId) throws PortalException
PortalException
public static void mergeTags(long[] fromTagIds, long toTagId) throws PortalException
PortalException
public static JSONArray search(long groupId, String name, int start, int end)
public static JSONArray search(long[] groupIds, String name, int start, int end)
public static AssetTag updateTag(long tagId, String name, ServiceContext serviceContext) throws PortalException
PortalException
public static AssetTagService getService()