@ProviderType
public class AssetTagServiceHttp
extends Object
AssetTagServiceUtil
service utility. The
static methods of this class calls the same methods of the service utility.
However, the signatures are different because it requires an additional
HttpPrincipal
parameter.
The benefits of using the HTTP utility is that it is fast and allows for tunneling without the cost of serializing to text. The drawback is that it only works with Java.
Set the property tunnel.servlet.hosts.allowed in portal.properties to configure security.
The HTTP utility is only generated for remote services.
AssetTagServiceSoap
,
HttpPrincipal
,
AssetTagServiceUtil
Constructor and Description |
---|
AssetTagServiceHttp() |
Modifier and Type | Method and Description |
---|---|
static com.liferay.asset.kernel.model.AssetTag |
addTag(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String name,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteTag(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long tagId) |
static void |
deleteTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] tagIds) |
static List<com.liferay.asset.kernel.model.AssetTag> |
getGroupsTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] groupIds) |
static List<com.liferay.asset.kernel.model.AssetTag> |
getGroupTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId) |
static List<com.liferay.asset.kernel.model.AssetTag> |
getGroupTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> obc) |
static int |
getGroupTagsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId) |
static com.liferay.asset.kernel.model.AssetTagDisplay |
getGroupTagsDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String name,
int start,
int end) |
static com.liferay.asset.kernel.model.AssetTag |
getTag(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long tagId) |
static List<com.liferay.asset.kernel.model.AssetTag> |
getTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] groupIds,
String name,
int start,
int end) |
static List<com.liferay.asset.kernel.model.AssetTag> |
getTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] groupIds,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> obc) |
static List<com.liferay.asset.kernel.model.AssetTag> |
getTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long classNameId,
String name) |
static List<com.liferay.asset.kernel.model.AssetTag> |
getTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long classNameId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> obc) |
static List<com.liferay.asset.kernel.model.AssetTag> |
getTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String name,
int start,
int end) |
static List<com.liferay.asset.kernel.model.AssetTag> |
getTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> obc) |
static List<com.liferay.asset.kernel.model.AssetTag> |
getTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String className,
long classPK) |
static int |
getTagsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String name) |
static int |
getVisibleAssetsTagsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long classNameId,
String name) |
static int |
getVisibleAssetsTagsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String name) |
static void |
mergeTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] fromTagIds,
long toTagId) |
static void |
mergeTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fromTagId,
long toTagId) |
static com.liferay.portal.kernel.json.JSONArray |
search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] groupIds,
String name,
int start,
int end) |
static com.liferay.portal.kernel.json.JSONArray |
search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String name,
int start,
int end) |
static com.liferay.asset.kernel.model.AssetTag |
updateTag(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long tagId,
String name,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static com.liferay.asset.kernel.model.AssetTag addTag(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteTag(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long tagId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] tagIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.asset.kernel.model.AssetTag> getGroupsTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds)
public static List<com.liferay.asset.kernel.model.AssetTag> getGroupTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId)
public static List<com.liferay.asset.kernel.model.AssetTag> getGroupTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> obc)
public static int getGroupTagsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId)
public static com.liferay.asset.kernel.model.AssetTagDisplay getGroupTagsDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, int start, int end)
public static com.liferay.asset.kernel.model.AssetTag getTag(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long tagId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.asset.kernel.model.AssetTag> getTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long classNameId, String name)
public static List<com.liferay.asset.kernel.model.AssetTag> getTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long classNameId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> obc)
public static List<com.liferay.asset.kernel.model.AssetTag> getTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, int start, int end)
public static List<com.liferay.asset.kernel.model.AssetTag> getTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> obc)
public static List<com.liferay.asset.kernel.model.AssetTag> getTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds, String name, int start, int end)
public static List<com.liferay.asset.kernel.model.AssetTag> getTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> obc)
public static List<com.liferay.asset.kernel.model.AssetTag> getTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String className, long classPK)
public static int getTagsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name)
public static int getVisibleAssetsTagsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long classNameId, String name)
public static int getVisibleAssetsTagsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name)
public static void mergeTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fromTagId, long toTagId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void mergeTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] fromTagIds, long toTagId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.json.JSONArray search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, int start, int end)
public static com.liferay.portal.kernel.json.JSONArray search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds, String name, int start, int end)
public static com.liferay.asset.kernel.model.AssetTag updateTag(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long tagId, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException