public class AssetCategoryService
extends BaseService
| Constructor and Description |
|---|
AssetCategoryService(Session session) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
addCategory(long groupId,
long parentCategoryId,
org.json.JSONObject titleMap,
org.json.JSONObject descriptionMap,
long vocabularyId,
org.json.JSONArray categoryProperties,
JSONObjectWrapper serviceContext) |
org.json.JSONObject |
addCategory(long groupId,
java.lang.String title,
long vocabularyId,
JSONObjectWrapper serviceContext) |
void |
deleteCategories(org.json.JSONArray categoryIds) |
org.json.JSONArray |
deleteCategories(org.json.JSONArray categoryIds,
JSONObjectWrapper serviceContext) |
void |
deleteCategory(long categoryId) |
org.json.JSONObject |
fetchCategory(long categoryId) |
org.json.JSONArray |
getCategories(java.lang.String className,
long classPK) |
org.json.JSONObject |
getCategory(long categoryId) |
java.lang.String |
getCategoryPath(long categoryId) |
org.json.JSONArray |
getChildCategories(long parentCategoryId) |
org.json.JSONArray |
getChildCategories(long parentCategoryId,
int start,
int end,
JSONObjectWrapper obc) |
org.json.JSONArray |
getVocabularyCategories(long vocabularyId,
int start,
int end,
JSONObjectWrapper obc) |
org.json.JSONArray |
getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
JSONObjectWrapper obc) |
org.json.JSONArray |
getVocabularyCategories(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
JSONObjectWrapper obc) |
org.json.JSONArray |
getVocabularyCategories(long groupId,
java.lang.String name,
long vocabularyId,
int start,
int end,
JSONObjectWrapper obc) |
java.lang.Integer |
getVocabularyCategoriesCount(long groupId,
long vocabularyId) |
java.lang.Integer |
getVocabularyCategoriesCount(long groupId,
long parentCategory,
long vocabularyId) |
java.lang.Integer |
getVocabularyCategoriesCount(long groupId,
java.lang.String name,
long vocabularyId) |
org.json.JSONObject |
getVocabularyCategoriesDisplay(long vocabularyId,
int start,
int end,
JSONObjectWrapper obc) |
org.json.JSONObject |
getVocabularyCategoriesDisplay(long groupId,
java.lang.String name,
long vocabularyId,
int start,
int end,
JSONObjectWrapper obc) |
org.json.JSONArray |
getVocabularyRootCategories(long groupId,
long vocabularyId,
int start,
int end,
JSONObjectWrapper obc) |
java.lang.Integer |
getVocabularyRootCategoriesCount(long groupId,
long vocabularyId) |
org.json.JSONObject |
moveCategory(long categoryId,
long parentCategoryId,
long vocabularyId,
JSONObjectWrapper serviceContext) |
org.json.JSONArray |
search(org.json.JSONArray groupIds,
java.lang.String name,
org.json.JSONArray vocabularyIds,
int start,
int end) |
org.json.JSONArray |
search(long groupId,
java.lang.String name,
org.json.JSONArray categoryProperties,
int start,
int end) |
org.json.JSONArray |
search(long groupId,
java.lang.String keywords,
long vocabularyId,
int start,
int end,
JSONObjectWrapper obc) |
org.json.JSONObject |
searchCategoriesDisplay(org.json.JSONArray groupIds,
java.lang.String title,
org.json.JSONArray vocabularyIds,
int start,
int end) |
org.json.JSONObject |
searchCategoriesDisplay(org.json.JSONArray groupIds,
java.lang.String title,
org.json.JSONArray parentCategoryIds,
org.json.JSONArray vocabularyIds,
int start,
int end) |
org.json.JSONObject |
searchCategoriesDisplay(org.json.JSONArray groupIds,
java.lang.String title,
org.json.JSONArray vocabularyIds,
org.json.JSONArray parentCategoryIds,
int start,
int end,
JSONObjectWrapper sort) |
org.json.JSONObject |
searchCategoriesDisplay(long groupId,
java.lang.String title,
long vocabularyId,
int start,
int end) |
org.json.JSONObject |
searchCategoriesDisplay(long groupId,
java.lang.String title,
long parentCategoryId,
long vocabularyId,
int start,
int end) |
org.json.JSONObject |
searchCategoriesDisplay(long groupId,
java.lang.String title,
long vocabularyId,
long parentCategoryId,
int start,
int end,
JSONObjectWrapper sort) |
org.json.JSONObject |
updateCategory(long categoryId,
long parentCategoryId,
org.json.JSONObject titleMap,
org.json.JSONObject descriptionMap,
long vocabularyId,
org.json.JSONArray categoryProperties,
JSONObjectWrapper serviceContext) |
public org.json.JSONObject addCategory(long groupId,
long parentCategoryId,
org.json.JSONObject titleMap,
org.json.JSONObject descriptionMap,
long vocabularyId,
org.json.JSONArray categoryProperties,
JSONObjectWrapper serviceContext)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject addCategory(long groupId,
java.lang.String title,
long vocabularyId,
JSONObjectWrapper serviceContext)
throws java.lang.Exception
java.lang.Exceptionpublic void deleteCategories(org.json.JSONArray categoryIds)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray deleteCategories(org.json.JSONArray categoryIds,
JSONObjectWrapper serviceContext)
throws java.lang.Exception
java.lang.Exceptionpublic void deleteCategory(long categoryId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject fetchCategory(long categoryId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getCategories(java.lang.String className,
long classPK)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject getCategory(long categoryId)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getCategoryPath(long categoryId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getChildCategories(long parentCategoryId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getChildCategories(long parentCategoryId,
int start,
int end,
JSONObjectWrapper obc)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getVocabularyCategories(long vocabularyId,
int start,
int end,
JSONObjectWrapper obc)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
JSONObjectWrapper obc)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getVocabularyCategories(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
JSONObjectWrapper obc)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getVocabularyCategories(long groupId,
java.lang.String name,
long vocabularyId,
int start,
int end,
JSONObjectWrapper obc)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Integer getVocabularyCategoriesCount(long groupId,
long vocabularyId)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Integer getVocabularyCategoriesCount(long groupId,
long parentCategory,
long vocabularyId)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Integer getVocabularyCategoriesCount(long groupId,
java.lang.String name,
long vocabularyId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject getVocabularyCategoriesDisplay(long vocabularyId,
int start,
int end,
JSONObjectWrapper obc)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject getVocabularyCategoriesDisplay(long groupId,
java.lang.String name,
long vocabularyId,
int start,
int end,
JSONObjectWrapper obc)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getVocabularyRootCategories(long groupId,
long vocabularyId,
int start,
int end,
JSONObjectWrapper obc)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Integer getVocabularyRootCategoriesCount(long groupId,
long vocabularyId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject moveCategory(long categoryId,
long parentCategoryId,
long vocabularyId,
JSONObjectWrapper serviceContext)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray search(org.json.JSONArray groupIds,
java.lang.String name,
org.json.JSONArray vocabularyIds,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray search(long groupId,
java.lang.String name,
org.json.JSONArray categoryProperties,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray search(long groupId,
java.lang.String keywords,
long vocabularyId,
int start,
int end,
JSONObjectWrapper obc)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject searchCategoriesDisplay(org.json.JSONArray groupIds,
java.lang.String title,
org.json.JSONArray vocabularyIds,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject searchCategoriesDisplay(org.json.JSONArray groupIds,
java.lang.String title,
org.json.JSONArray parentCategoryIds,
org.json.JSONArray vocabularyIds,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject searchCategoriesDisplay(org.json.JSONArray groupIds,
java.lang.String title,
org.json.JSONArray vocabularyIds,
org.json.JSONArray parentCategoryIds,
int start,
int end,
JSONObjectWrapper sort)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject searchCategoriesDisplay(long groupId,
java.lang.String title,
long vocabularyId,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject searchCategoriesDisplay(long groupId,
java.lang.String title,
long parentCategoryId,
long vocabularyId,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject searchCategoriesDisplay(long groupId,
java.lang.String title,
long vocabularyId,
long parentCategoryId,
int start,
int end,
JSONObjectWrapper sort)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject updateCategory(long categoryId,
long parentCategoryId,
org.json.JSONObject titleMap,
org.json.JSONObject descriptionMap,
long vocabularyId,
org.json.JSONArray categoryProperties,
JSONObjectWrapper serviceContext)
throws java.lang.Exception
java.lang.Exception