|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.asset.service.http.AssetCategoryServiceHttp
public class AssetCategoryServiceHttp
This class provides a HTTP utility for the
AssetCategoryServiceUtil 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.
AssetCategoryServiceSoap,
HttpPrincipal,
AssetCategoryServiceUtil| Constructor Summary | |
|---|---|
AssetCategoryServiceHttp()
|
|
| Method Summary | |
|---|---|
static AssetCategory |
addCategory(HttpPrincipal httpPrincipal,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
|
static AssetCategory |
addCategory(HttpPrincipal httpPrincipal,
String title,
long vocabularyId,
ServiceContext serviceContext)
|
static List<AssetCategory> |
deleteCategories(HttpPrincipal httpPrincipal,
long[] categoryIds,
ServiceContext serviceContext)
|
static void |
deleteCategory(HttpPrincipal httpPrincipal,
long categoryId)
|
static List<AssetCategory> |
getCategories(HttpPrincipal httpPrincipal,
String className,
long classPK)
|
static AssetCategory |
getCategory(HttpPrincipal httpPrincipal,
long categoryId)
|
static List<AssetCategory> |
getChildCategories(HttpPrincipal httpPrincipal,
long parentCategoryId)
|
static List<AssetCategory> |
getChildCategories(HttpPrincipal httpPrincipal,
long parentCategoryId,
int start,
int end,
OrderByComparator obc)
|
static JSONArray |
getJSONSearch(HttpPrincipal httpPrincipal,
long groupId,
String name,
long[] vocabularyIds,
int start,
int end)
|
static JSONObject |
getJSONVocabularyCategories(HttpPrincipal httpPrincipal,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
static JSONObject |
getJSONVocabularyCategories(HttpPrincipal httpPrincipal,
long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
static List<AssetCategory> |
getVocabularyCategories(HttpPrincipal httpPrincipal,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
static List<AssetCategory> |
getVocabularyCategories(HttpPrincipal httpPrincipal,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
static List<AssetCategory> |
getVocabularyCategories(HttpPrincipal httpPrincipal,
long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
static int |
getVocabularyCategoriesCount(HttpPrincipal httpPrincipal,
long groupId,
long vocabularyId)
|
static int |
getVocabularyCategoriesCount(HttpPrincipal httpPrincipal,
long groupId,
String name,
long vocabularyId)
|
static AssetCategoryDisplay |
getVocabularyCategoriesDisplay(HttpPrincipal httpPrincipal,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
static AssetCategoryDisplay |
getVocabularyCategoriesDisplay(HttpPrincipal httpPrincipal,
long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
static List<AssetCategory> |
getVocabularyRootCategories(HttpPrincipal httpPrincipal,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
static List<AssetCategory> |
getVocabularyRootCategories(HttpPrincipal httpPrincipal,
long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
static int |
getVocabularyRootCategoriesCount(HttpPrincipal httpPrincipal,
long groupId,
long vocabularyId)
|
static AssetCategory |
moveCategory(HttpPrincipal httpPrincipal,
long categoryId,
long parentCategoryId,
long vocabularyId,
ServiceContext serviceContext)
|
static JSONArray |
search(HttpPrincipal httpPrincipal,
long[] groupIds,
String name,
long[] vocabularyIds,
int start,
int end)
|
static List<AssetCategory> |
search(HttpPrincipal httpPrincipal,
long groupId,
String keywords,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
static JSONArray |
search(HttpPrincipal httpPrincipal,
long groupId,
String name,
String[] categoryProperties,
int start,
int end)
|
static AssetCategory |
updateCategory(HttpPrincipal httpPrincipal,
long categoryId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssetCategoryServiceHttp()
| Method Detail |
|---|
public static AssetCategory addCategory(HttpPrincipal httpPrincipal,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static AssetCategory addCategory(HttpPrincipal httpPrincipal,
String title,
long vocabularyId,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static List<AssetCategory> deleteCategories(HttpPrincipal httpPrincipal,
long[] categoryIds,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static void deleteCategory(HttpPrincipal httpPrincipal,
long categoryId)
throws PortalException,
SystemException
PortalException
SystemException
public static List<AssetCategory> getCategories(HttpPrincipal httpPrincipal,
String className,
long classPK)
throws PortalException,
SystemException
PortalException
SystemException
public static AssetCategory getCategory(HttpPrincipal httpPrincipal,
long categoryId)
throws PortalException,
SystemException
PortalException
SystemException
public static List<AssetCategory> getChildCategories(HttpPrincipal httpPrincipal,
long parentCategoryId)
throws PortalException,
SystemException
PortalException
SystemException
public static List<AssetCategory> getChildCategories(HttpPrincipal httpPrincipal,
long parentCategoryId,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static JSONArray getJSONSearch(HttpPrincipal httpPrincipal,
long groupId,
String name,
long[] vocabularyIds,
int start,
int end)
throws PortalException,
SystemException
PortalException
SystemException
public static JSONObject getJSONVocabularyCategories(HttpPrincipal httpPrincipal,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static JSONObject getJSONVocabularyCategories(HttpPrincipal httpPrincipal,
long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static List<AssetCategory> getVocabularyCategories(HttpPrincipal httpPrincipal,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static List<AssetCategory> getVocabularyCategories(HttpPrincipal httpPrincipal,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static List<AssetCategory> getVocabularyCategories(HttpPrincipal httpPrincipal,
long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws SystemException
SystemException
public static int getVocabularyCategoriesCount(HttpPrincipal httpPrincipal,
long groupId,
long vocabularyId)
throws SystemException
SystemException
public static int getVocabularyCategoriesCount(HttpPrincipal httpPrincipal,
long groupId,
String name,
long vocabularyId)
throws SystemException
SystemException
public static AssetCategoryDisplay getVocabularyCategoriesDisplay(HttpPrincipal httpPrincipal,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static AssetCategoryDisplay getVocabularyCategoriesDisplay(HttpPrincipal httpPrincipal,
long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static List<AssetCategory> getVocabularyRootCategories(HttpPrincipal httpPrincipal,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static List<AssetCategory> getVocabularyRootCategories(HttpPrincipal httpPrincipal,
long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws SystemException
SystemException
public static int getVocabularyRootCategoriesCount(HttpPrincipal httpPrincipal,
long groupId,
long vocabularyId)
throws SystemException
SystemException
public static AssetCategory moveCategory(HttpPrincipal httpPrincipal,
long categoryId,
long parentCategoryId,
long vocabularyId,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static List<AssetCategory> search(HttpPrincipal httpPrincipal,
long groupId,
String keywords,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws SystemException
SystemException
public static JSONArray search(HttpPrincipal httpPrincipal,
long groupId,
String name,
String[] categoryProperties,
int start,
int end)
throws PortalException,
SystemException
PortalException
SystemException
public static JSONArray search(HttpPrincipal httpPrincipal,
long[] groupIds,
String name,
long[] vocabularyIds,
int start,
int end)
throws PortalException,
SystemException
PortalException
SystemException
public static AssetCategory updateCategory(HttpPrincipal httpPrincipal,
long categoryId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||