|
Liferay 7.0-ce-b4 | |||||||||
| 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
@ProviderType public class AssetCategoryServiceHttp
Provides the 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 groupId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
|
static AssetCategory |
addCategory(HttpPrincipal httpPrincipal,
long groupId,
String title,
long vocabularyId,
ServiceContext serviceContext)
|
static void |
deleteCategories(HttpPrincipal httpPrincipal,
long[] categoryIds)
|
static List<AssetCategory> |
deleteCategories(HttpPrincipal httpPrincipal,
long[] categoryIds,
ServiceContext serviceContext)
|
static void |
deleteCategory(HttpPrincipal httpPrincipal,
long categoryId)
|
static AssetCategory |
fetchCategory(HttpPrincipal httpPrincipal,
long categoryId)
|
static List<AssetCategory> |
getCategories(HttpPrincipal httpPrincipal,
String className,
long classPK)
|
static AssetCategory |
getCategory(HttpPrincipal httpPrincipal,
long categoryId)
|
static String |
getCategoryPath(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<AssetCategory> 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<AssetCategory> obc)
|
static JSONObject |
getJSONVocabularyCategories(HttpPrincipal httpPrincipal,
long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
|
static List<AssetCategory> |
getVocabularyCategories(HttpPrincipal httpPrincipal,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
|
static List<AssetCategory> |
getVocabularyCategories(HttpPrincipal httpPrincipal,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
|
static List<AssetCategory> |
getVocabularyCategories(HttpPrincipal httpPrincipal,
long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
|
static List<AssetCategory> |
getVocabularyCategories(HttpPrincipal httpPrincipal,
long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
|
static int |
getVocabularyCategoriesCount(HttpPrincipal httpPrincipal,
long groupId,
long vocabularyId)
|
static int |
getVocabularyCategoriesCount(HttpPrincipal httpPrincipal,
long groupId,
long parentCategory,
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<AssetCategory> obc)
|
static AssetCategoryDisplay |
getVocabularyCategoriesDisplay(HttpPrincipal httpPrincipal,
long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
|
static List<AssetCategory> |
getVocabularyRootCategories(HttpPrincipal httpPrincipal,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
|
static List<AssetCategory> |
getVocabularyRootCategories(HttpPrincipal httpPrincipal,
long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> 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<AssetCategory> obc)
|
static JSONArray |
search(HttpPrincipal httpPrincipal,
long groupId,
String name,
String[] categoryProperties,
int start,
int end)
|
static AssetCategoryDisplay |
searchCategoriesDisplay(HttpPrincipal httpPrincipal,
long[] groupIds,
String title,
long[] vocabularyIds,
int start,
int end)
|
static AssetCategoryDisplay |
searchCategoriesDisplay(HttpPrincipal httpPrincipal,
long[] groupIds,
String title,
long[] parentCategoryIds,
long[] vocabularyIds,
int start,
int end)
|
static AssetCategoryDisplay |
searchCategoriesDisplay(HttpPrincipal httpPrincipal,
long[] groupIds,
String title,
long[] vocabularyIds,
long[] parentCategoryIds,
int start,
int end,
Sort sort)
|
static AssetCategoryDisplay |
searchCategoriesDisplay(HttpPrincipal httpPrincipal,
long groupId,
String title,
long vocabularyId,
int start,
int end)
|
static AssetCategoryDisplay |
searchCategoriesDisplay(HttpPrincipal httpPrincipal,
long groupId,
String title,
long parentCategoryId,
long vocabularyId,
int start,
int end)
|
static AssetCategoryDisplay |
searchCategoriesDisplay(HttpPrincipal httpPrincipal,
long groupId,
String title,
long vocabularyId,
long parentCategoryId,
int start,
int end,
Sort sort)
|
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 groupId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
throws PortalException
PortalException
public static AssetCategory addCategory(HttpPrincipal httpPrincipal,
long groupId,
String title,
long vocabularyId,
ServiceContext serviceContext)
throws PortalException
PortalException
public static void deleteCategories(HttpPrincipal httpPrincipal,
long[] categoryIds)
throws PortalException
PortalException
public static List<AssetCategory> deleteCategories(HttpPrincipal httpPrincipal,
long[] categoryIds,
ServiceContext serviceContext)
throws PortalException
PortalException
public static void deleteCategory(HttpPrincipal httpPrincipal,
long categoryId)
throws PortalException
PortalException
public static AssetCategory fetchCategory(HttpPrincipal httpPrincipal,
long categoryId)
throws PortalException
PortalException
public static List<AssetCategory> getCategories(HttpPrincipal httpPrincipal,
String className,
long classPK)
throws PortalException
PortalException
public static AssetCategory getCategory(HttpPrincipal httpPrincipal,
long categoryId)
throws PortalException
PortalException
public static String getCategoryPath(HttpPrincipal httpPrincipal,
long categoryId)
throws PortalException
PortalException
public static List<AssetCategory> getChildCategories(HttpPrincipal httpPrincipal,
long parentCategoryId)
throws PortalException
PortalException
public static List<AssetCategory> getChildCategories(HttpPrincipal httpPrincipal,
long parentCategoryId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
throws PortalException
PortalException
public static JSONArray getJSONSearch(HttpPrincipal httpPrincipal,
long groupId,
String name,
long[] vocabularyIds,
int start,
int end)
throws PortalException
PortalException
public static JSONObject getJSONVocabularyCategories(HttpPrincipal httpPrincipal,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
throws PortalException
PortalException
public static JSONObject getJSONVocabularyCategories(HttpPrincipal httpPrincipal,
long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
throws PortalException
PortalException
public static List<AssetCategory> getVocabularyCategories(HttpPrincipal httpPrincipal,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
throws PortalException
PortalException
public static List<AssetCategory> getVocabularyCategories(HttpPrincipal httpPrincipal,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
throws PortalException
PortalException
public static List<AssetCategory> getVocabularyCategories(HttpPrincipal httpPrincipal,
long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
public static List<AssetCategory> getVocabularyCategories(HttpPrincipal httpPrincipal,
long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
public static int getVocabularyCategoriesCount(HttpPrincipal httpPrincipal,
long groupId,
long vocabularyId)
public static int getVocabularyCategoriesCount(HttpPrincipal httpPrincipal,
long groupId,
long parentCategory,
long vocabularyId)
public static int getVocabularyCategoriesCount(HttpPrincipal httpPrincipal,
long groupId,
String name,
long vocabularyId)
public static AssetCategoryDisplay getVocabularyCategoriesDisplay(HttpPrincipal httpPrincipal,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
throws PortalException
PortalException
public static AssetCategoryDisplay getVocabularyCategoriesDisplay(HttpPrincipal httpPrincipal,
long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
throws PortalException
PortalException
public static List<AssetCategory> getVocabularyRootCategories(HttpPrincipal httpPrincipal,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
throws PortalException
PortalException
public static List<AssetCategory> getVocabularyRootCategories(HttpPrincipal httpPrincipal,
long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
public static int getVocabularyRootCategoriesCount(HttpPrincipal httpPrincipal,
long groupId,
long vocabularyId)
public static AssetCategory moveCategory(HttpPrincipal httpPrincipal,
long categoryId,
long parentCategoryId,
long vocabularyId,
ServiceContext serviceContext)
throws PortalException
PortalException
public static List<AssetCategory> search(HttpPrincipal httpPrincipal,
long groupId,
String keywords,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
public static JSONArray search(HttpPrincipal httpPrincipal,
long groupId,
String name,
String[] categoryProperties,
int start,
int end)
throws PortalException
PortalException
public static JSONArray search(HttpPrincipal httpPrincipal,
long[] groupIds,
String name,
long[] vocabularyIds,
int start,
int end)
throws PortalException
PortalException
public static AssetCategoryDisplay searchCategoriesDisplay(HttpPrincipal httpPrincipal,
long groupId,
String title,
long vocabularyId,
int start,
int end)
throws PortalException
PortalException
public static AssetCategoryDisplay searchCategoriesDisplay(HttpPrincipal httpPrincipal,
long groupId,
String title,
long parentCategoryId,
long vocabularyId,
int start,
int end)
throws PortalException
PortalException
public static AssetCategoryDisplay searchCategoriesDisplay(HttpPrincipal httpPrincipal,
long groupId,
String title,
long vocabularyId,
long parentCategoryId,
int start,
int end,
Sort sort)
throws PortalException
PortalException
public static AssetCategoryDisplay searchCategoriesDisplay(HttpPrincipal httpPrincipal,
long[] groupIds,
String title,
long[] vocabularyIds,
int start,
int end)
throws PortalException
PortalException
public static AssetCategoryDisplay searchCategoriesDisplay(HttpPrincipal httpPrincipal,
long[] groupIds,
String title,
long[] parentCategoryIds,
long[] vocabularyIds,
int start,
int end)
throws PortalException
PortalException
public static AssetCategoryDisplay searchCategoriesDisplay(HttpPrincipal httpPrincipal,
long[] groupIds,
String title,
long[] vocabularyIds,
long[] parentCategoryIds,
int start,
int end,
Sort sort)
throws PortalException
PortalException
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
PortalException
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||