@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(java.lang.String name,
java.lang.String[] tagProperties,
ServiceContext serviceContext) |
static void |
deleteTag(long tagId) |
static void |
deleteTags(long[] tagIds) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
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 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 AssetTagService |
getService() |
static AssetTag |
getTag(long tagId) |
static java.util.List<AssetTag> |
getTags(long[] groupIds,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end) |
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 obc) |
static java.util.List<AssetTag> |
getTags(long groupId,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end) |
static java.util.List<AssetTag> |
getTags(java.lang.String className,
long classPK) |
static int |
getTagsCount(long groupId,
long classNameId,
java.lang.String name) |
static int |
getTagsCount(long groupId,
java.lang.String name) |
static int |
getTagsCount(long groupId,
java.lang.String name,
java.lang.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,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end) |
static JSONArray |
search(long groupId,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end) |
static void |
setBeanIdentifier(java.lang.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,
java.lang.String name,
java.lang.String[] tagProperties,
ServiceContext serviceContext) |
public static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static AssetTag addTag(java.lang.String name, java.lang.String[] tagProperties, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void deleteTag(long tagId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void deleteTags(long[] tagIds)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static java.util.List<AssetTag> getGroupsTags(long[] groupIds) throws SystemException
SystemExceptionpublic static java.util.List<AssetTag> getGroupTags(long groupId) throws SystemException
SystemExceptionpublic static java.util.List<AssetTag> getGroupTags(long groupId, int start, int end, OrderByComparator obc) throws SystemException
SystemExceptionpublic static int getGroupTagsCount(long groupId)
throws SystemException
SystemExceptionpublic static AssetTagDisplay getGroupTagsDisplay(long groupId, java.lang.String name, int start, int end) throws SystemException
SystemExceptionpublic static JSONObject getJSONGroupTags(long groupId, java.lang.String name, int start, int end) throws PortalException, SystemException
getGroupTagsDisplay(long,
String, int, int)PortalExceptionSystemExceptionpublic static AssetTag getTag(long tagId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<AssetTag> getTags(long groupId, long classNameId, java.lang.String name) throws SystemException
SystemExceptionpublic static java.util.List<AssetTag> getTags(long groupId, long classNameId, java.lang.String name, int start, int end, OrderByComparator obc) throws SystemException
SystemExceptionpublic static java.util.List<AssetTag> getTags(long groupId, java.lang.String name, java.lang.String[] tagProperties, int start, int end) throws SystemException
SystemExceptionpublic static java.util.List<AssetTag> getTags(long[] groupIds, java.lang.String name, java.lang.String[] tagProperties, int start, int end) throws SystemException
SystemExceptionpublic static java.util.List<AssetTag> getTags(java.lang.String className, long classPK) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static int getTagsCount(long groupId,
long classNameId,
java.lang.String name)
throws SystemException
SystemExceptionpublic static int getTagsCount(long groupId,
java.lang.String name)
throws SystemException
SystemExceptionpublic static int getTagsCount(long groupId,
java.lang.String name,
java.lang.String[] tagProperties)
throws SystemException
SystemExceptionpublic static void mergeTags(long fromTagId,
long toTagId,
boolean overrideProperties)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void mergeTags(long[] fromTagIds,
long toTagId,
boolean overrideProperties)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static JSONArray search(long groupId, java.lang.String name, java.lang.String[] tagProperties, int start, int end) throws SystemException
SystemExceptionpublic static JSONArray search(long[] groupIds, java.lang.String name, java.lang.String[] tagProperties, int start, int end) throws SystemException
SystemExceptionpublic static AssetTag updateTag(long tagId, java.lang.String name, java.lang.String[] tagProperties, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static AssetTagService getService()
public void setService(AssetTagService service)