com.liferay.portlet.asset.service.http
Class AssetTagServiceHttp
java.lang.Object
com.liferay.portlet.asset.service.http.AssetTagServiceHttp
@ProviderType
public class AssetTagServiceHttp
- extends Object
Provides the HTTP utility for the
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.
- See Also:
AssetTagServiceSoap,
HttpPrincipal,
AssetTagServiceUtil- {$generated.description}
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetTagServiceHttp
public AssetTagServiceHttp()
addTag
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
- Throws:
com.liferay.portal.kernel.exception.PortalException
deleteTag
public static void deleteTag(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long tagId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
deleteTags
public static void deleteTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] tagIds)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getGroupsTags
public static List<com.liferay.asset.kernel.model.AssetTag> getGroupsTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] groupIds)
getGroupTags
public static List<com.liferay.asset.kernel.model.AssetTag> getGroupTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId)
getGroupTags
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)
getGroupTagsCount
public static int getGroupTagsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId)
getGroupTagsDisplay
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)
getTag
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
- Throws:
com.liferay.portal.kernel.exception.PortalException
getTags
public static List<com.liferay.asset.kernel.model.AssetTag> getTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long classNameId,
String name)
getTags
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)
getTags
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)
getTags
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)
getTags
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)
getTags
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)
getTags
public static List<com.liferay.asset.kernel.model.AssetTag> getTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String className,
long classPK)
getTagsCount
public static int getTagsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String name)
getVisibleAssetsTagsCount
public static int getVisibleAssetsTagsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long classNameId,
String name)
getVisibleAssetsTagsCount
public static int getVisibleAssetsTagsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String name)
mergeTags
public static void mergeTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fromTagId,
long toTagId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
mergeTags
public static void mergeTags(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] fromTagIds,
long toTagId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
search
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)
search
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)
updateTag
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
- Throws:
com.liferay.portal.kernel.exception.PortalException