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- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
|
Method Summary |
static AssetTag |
addTag(HttpPrincipal httpPrincipal,
long groupId,
String name,
ServiceContext serviceContext)
|
static void |
deleteTag(HttpPrincipal httpPrincipal,
long tagId)
|
static void |
deleteTags(HttpPrincipal httpPrincipal,
long[] tagIds)
|
static List<AssetTag> |
getGroupsTags(HttpPrincipal httpPrincipal,
long[] groupIds)
|
static List<AssetTag> |
getGroupTags(HttpPrincipal httpPrincipal,
long groupId)
|
static List<AssetTag> |
getGroupTags(HttpPrincipal httpPrincipal,
long groupId,
int start,
int end,
OrderByComparator<AssetTag> obc)
|
static int |
getGroupTagsCount(HttpPrincipal httpPrincipal,
long groupId)
|
static AssetTagDisplay |
getGroupTagsDisplay(HttpPrincipal httpPrincipal,
long groupId,
String name,
int start,
int end)
|
static JSONObject |
getJSONGroupTags(HttpPrincipal httpPrincipal,
long groupId,
String name,
int start,
int end)
|
static AssetTag |
getTag(HttpPrincipal httpPrincipal,
long tagId)
|
static List<AssetTag> |
getTags(HttpPrincipal httpPrincipal,
long[] groupIds,
String name,
int start,
int end)
|
static List<AssetTag> |
getTags(HttpPrincipal httpPrincipal,
long[] groupIds,
String name,
int start,
int end,
OrderByComparator<AssetTag> obc)
|
static List<AssetTag> |
getTags(HttpPrincipal httpPrincipal,
long groupId,
long classNameId,
String name)
|
static List<AssetTag> |
getTags(HttpPrincipal httpPrincipal,
long groupId,
long classNameId,
String name,
int start,
int end,
OrderByComparator<AssetTag> obc)
|
static List<AssetTag> |
getTags(HttpPrincipal httpPrincipal,
long groupId,
String name,
int start,
int end)
|
static List<AssetTag> |
getTags(HttpPrincipal httpPrincipal,
long groupId,
String name,
int start,
int end,
OrderByComparator<AssetTag> obc)
|
static List<AssetTag> |
getTags(HttpPrincipal httpPrincipal,
String className,
long classPK)
|
static int |
getTagsCount(HttpPrincipal httpPrincipal,
long groupId,
String name)
|
static int |
getVisibleAssetsTagsCount(HttpPrincipal httpPrincipal,
long groupId,
long classNameId,
String name)
|
static int |
getVisibleAssetsTagsCount(HttpPrincipal httpPrincipal,
long groupId,
String name)
|
static void |
mergeTags(HttpPrincipal httpPrincipal,
long[] fromTagIds,
long toTagId)
|
static void |
mergeTags(HttpPrincipal httpPrincipal,
long fromTagId,
long toTagId)
|
static JSONArray |
search(HttpPrincipal httpPrincipal,
long[] groupIds,
String name,
int start,
int end)
|
static JSONArray |
search(HttpPrincipal httpPrincipal,
long groupId,
String name,
int start,
int end)
|
static AssetTag |
updateTag(HttpPrincipal httpPrincipal,
long tagId,
String name,
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 AssetTag addTag(HttpPrincipal httpPrincipal,
long groupId,
String name,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deleteTag
public static void deleteTag(HttpPrincipal httpPrincipal,
long tagId)
throws PortalException
- Throws:
PortalException
deleteTags
public static void deleteTags(HttpPrincipal httpPrincipal,
long[] tagIds)
throws PortalException
- Throws:
PortalException
getGroupsTags
public static List<AssetTag> getGroupsTags(HttpPrincipal httpPrincipal,
long[] groupIds)
getGroupTags
public static List<AssetTag> getGroupTags(HttpPrincipal httpPrincipal,
long groupId)
getGroupTags
public static List<AssetTag> getGroupTags(HttpPrincipal httpPrincipal,
long groupId,
int start,
int end,
OrderByComparator<AssetTag> obc)
getGroupTagsCount
public static int getGroupTagsCount(HttpPrincipal httpPrincipal,
long groupId)
getGroupTagsDisplay
public static AssetTagDisplay getGroupTagsDisplay(HttpPrincipal httpPrincipal,
long groupId,
String name,
int start,
int end)
getJSONGroupTags
public static JSONObject getJSONGroupTags(HttpPrincipal httpPrincipal,
long groupId,
String name,
int start,
int end)
throws PortalException
- Throws:
PortalException
getTag
public static AssetTag getTag(HttpPrincipal httpPrincipal,
long tagId)
throws PortalException
- Throws:
PortalException
getTags
public static List<AssetTag> getTags(HttpPrincipal httpPrincipal,
long groupId,
long classNameId,
String name)
getTags
public static List<AssetTag> getTags(HttpPrincipal httpPrincipal,
long groupId,
long classNameId,
String name,
int start,
int end,
OrderByComparator<AssetTag> obc)
getTags
public static List<AssetTag> getTags(HttpPrincipal httpPrincipal,
long groupId,
String name,
int start,
int end)
getTags
public static List<AssetTag> getTags(HttpPrincipal httpPrincipal,
long groupId,
String name,
int start,
int end,
OrderByComparator<AssetTag> obc)
getTags
public static List<AssetTag> getTags(HttpPrincipal httpPrincipal,
long[] groupIds,
String name,
int start,
int end)
getTags
public static List<AssetTag> getTags(HttpPrincipal httpPrincipal,
long[] groupIds,
String name,
int start,
int end,
OrderByComparator<AssetTag> obc)
getTags
public static List<AssetTag> getTags(HttpPrincipal httpPrincipal,
String className,
long classPK)
getTagsCount
public static int getTagsCount(HttpPrincipal httpPrincipal,
long groupId,
String name)
getVisibleAssetsTagsCount
public static int getVisibleAssetsTagsCount(HttpPrincipal httpPrincipal,
long groupId,
long classNameId,
String name)
getVisibleAssetsTagsCount
public static int getVisibleAssetsTagsCount(HttpPrincipal httpPrincipal,
long groupId,
String name)
mergeTags
public static void mergeTags(HttpPrincipal httpPrincipal,
long fromTagId,
long toTagId)
throws PortalException
- Throws:
PortalException
mergeTags
public static void mergeTags(HttpPrincipal httpPrincipal,
long[] fromTagIds,
long toTagId)
throws PortalException
- Throws:
PortalException
search
public static JSONArray search(HttpPrincipal httpPrincipal,
long groupId,
String name,
int start,
int end)
search
public static JSONArray search(HttpPrincipal httpPrincipal,
long[] groupIds,
String name,
int start,
int end)
updateTag
public static AssetTag updateTag(HttpPrincipal httpPrincipal,
long tagId,
String name,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException