@ProviderType
public class AssetCategoryServiceSoap
extends Object
AssetCategoryServiceUtil
service utility. The
static methods of this class calls the same methods of the service utility.
However, the signatures are different because it is difficult for SOAP to
support certain types.
ServiceBuilder follows certain rules in translating the methods. For example,
if the method in the service utility returns a List
, that
is translated to an array of AssetCategorySoap
.
If the method in the service utility returns a
AssetCategory
, that is translated to a
AssetCategorySoap
. Methods that SOAP cannot
safely wire are skipped.
The benefits of using the SOAP utility is that it is cross platform compatible. SOAP allows different languages like Java, .NET, C++, PHP, and even Perl, to call the generated services. One drawback of SOAP is that it is slow because it needs to serialize all calls into a text format (XML).
You can see a list of services at http://localhost:8080/api/axis. Set the property axis.servlet.hosts.allowed in portal.properties to configure security.
The SOAP utility is only generated for remote services.
AssetCategoryServiceHttp
,
AssetCategorySoap
,
AssetCategoryServiceUtil
Constructor and Description |
---|
AssetCategoryServiceSoap() |
Modifier and Type | Method and Description |
---|---|
static com.liferay.asset.kernel.model.AssetCategorySoap |
addCategory(long groupId,
long parentCategoryId,
String[] titleMapLanguageIds,
String[] titleMapValues,
String[] descriptionMapLanguageIds,
String[] descriptionMapValues,
long vocabularyId,
String[] categoryProperties,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.asset.kernel.model.AssetCategorySoap |
addCategory(long groupId,
String title,
long vocabularyId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteCategories(long[] categoryIds) |
static com.liferay.asset.kernel.model.AssetCategorySoap[] |
deleteCategories(long[] categoryIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), Replaced by
deleteCategories(long[]) |
static void |
deleteCategory(long categoryId) |
static com.liferay.asset.kernel.model.AssetCategorySoap |
fetchCategory(long categoryId) |
static com.liferay.asset.kernel.model.AssetCategorySoap[] |
getCategories(long classNameId,
long classPK,
int start,
int end)
Returns a range of assetCategories related to an AssetEntry with the
given "classNameId-classPK".
|
static com.liferay.asset.kernel.model.AssetCategorySoap[] |
getCategories(String className,
long classPK) |
static int |
getCategoriesCount(long classNameId,
long classPK)
Returns the number of assetCategories related to an AssetEntry with the
given "classNameId-classPK".
|
static com.liferay.asset.kernel.model.AssetCategorySoap |
getCategory(long categoryId) |
static String |
getCategoryPath(long categoryId) |
static com.liferay.asset.kernel.model.AssetCategorySoap[] |
getChildCategories(long parentCategoryId) |
static com.liferay.asset.kernel.model.AssetCategorySoap[] |
getChildCategories(long parentCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
eturns a range of child assetCategories.
|
static int |
getChildCategoriesCount(long parentCategoryId)
Returns the number of child categories
|
static com.liferay.asset.kernel.model.AssetCategorySoap[] |
getVocabularyCategories(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) |
static com.liferay.asset.kernel.model.AssetCategorySoap[] |
getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) |
static com.liferay.asset.kernel.model.AssetCategorySoap[] |
getVocabularyCategories(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) |
static com.liferay.asset.kernel.model.AssetCategorySoap[] |
getVocabularyCategories(long groupId,
String name,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) |
static int |
getVocabularyCategoriesCount(long groupId,
long vocabularyId) |
static int |
getVocabularyCategoriesCount(long groupId,
long parentCategory,
long vocabularyId) |
static int |
getVocabularyCategoriesCount(long groupId,
String name,
long vocabularyId) |
static com.liferay.asset.kernel.model.AssetCategoryDisplay |
getVocabularyCategoriesDisplay(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) |
static com.liferay.asset.kernel.model.AssetCategoryDisplay |
getVocabularyCategoriesDisplay(long groupId,
String name,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) |
static com.liferay.asset.kernel.model.AssetCategorySoap[] |
getVocabularyRootCategories(long groupId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) |
static int |
getVocabularyRootCategoriesCount(long groupId,
long vocabularyId) |
static com.liferay.asset.kernel.model.AssetCategorySoap |
moveCategory(long categoryId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static String |
search(long[] groupIds,
String name,
long[] vocabularyIds,
int start,
int end) |
static com.liferay.asset.kernel.model.AssetCategorySoap[] |
search(long groupId,
String keywords,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) |
static String |
search(long groupId,
String name,
String[] categoryProperties,
int start,
int end) |
static com.liferay.asset.kernel.model.AssetCategoryDisplay |
searchCategoriesDisplay(long[] groupIds,
String title,
long[] vocabularyIds,
int start,
int end) |
static com.liferay.asset.kernel.model.AssetCategoryDisplay |
searchCategoriesDisplay(long[] groupIds,
String title,
long[] parentCategoryIds,
long[] vocabularyIds,
int start,
int end) |
static com.liferay.asset.kernel.model.AssetCategoryDisplay |
searchCategoriesDisplay(long[] groupIds,
String title,
long[] vocabularyIds,
long[] parentCategoryIds,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
static com.liferay.asset.kernel.model.AssetCategoryDisplay |
searchCategoriesDisplay(long groupId,
String title,
long vocabularyId,
int start,
int end) |
static com.liferay.asset.kernel.model.AssetCategoryDisplay |
searchCategoriesDisplay(long groupId,
String title,
long parentCategoryId,
long vocabularyId,
int start,
int end) |
static com.liferay.asset.kernel.model.AssetCategoryDisplay |
searchCategoriesDisplay(long groupId,
String title,
long vocabularyId,
long parentCategoryId,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
static com.liferay.asset.kernel.model.AssetCategorySoap |
updateCategory(long categoryId,
long parentCategoryId,
String[] titleMapLanguageIds,
String[] titleMapValues,
String[] descriptionMapLanguageIds,
String[] descriptionMapValues,
long vocabularyId,
String[] categoryProperties,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static com.liferay.asset.kernel.model.AssetCategorySoap addCategory(long groupId, long parentCategoryId, String[] titleMapLanguageIds, String[] titleMapValues, String[] descriptionMapLanguageIds, String[] descriptionMapValues, long vocabularyId, String[] categoryProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategorySoap addCategory(long groupId, String title, long vocabularyId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws RemoteException
RemoteException
public static void deleteCategories(long[] categoryIds) throws RemoteException
RemoteException
@Deprecated public static com.liferay.asset.kernel.model.AssetCategorySoap[] deleteCategories(long[] categoryIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws RemoteException
deleteCategories(long[])
RemoteException
public static void deleteCategory(long categoryId) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategorySoap fetchCategory(long categoryId) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategorySoap[] getCategories(long classNameId, long classPK, int start, int end) throws RemoteException
classNameId
- the className of the assetclassPK
- the classPK of the assetstart
- the lower bound of the range of resultsend
- the upper bound of the range of results (not inclusive)RemoteException
public static com.liferay.asset.kernel.model.AssetCategorySoap[] getCategories(String className, long classPK) throws RemoteException
RemoteException
public static int getCategoriesCount(long classNameId, long classPK) throws RemoteException
classNameId
- the className of the assetclassPK
- the classPK of the assetRemoteException
public static com.liferay.asset.kernel.model.AssetCategorySoap getCategory(long categoryId) throws RemoteException
RemoteException
public static String getCategoryPath(long categoryId) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategorySoap[] getChildCategories(long parentCategoryId) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategorySoap[] getChildCategories(long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) throws RemoteException
parentCategoryId
- the parent category IDstart
- the lower bound of the range of resultsend
- the upper bound of the range of results (not inclusive)obc
- the comparatorPortalException
RemoteException
public static int getChildCategoriesCount(long parentCategoryId) throws RemoteException
parentCategoryId
- the parent category IDPortalException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategorySoap[] getVocabularyCategories(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategorySoap[] getVocabularyCategories(long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategorySoap[] getVocabularyCategories(long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategorySoap[] getVocabularyCategories(long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) throws RemoteException
RemoteException
public static int getVocabularyCategoriesCount(long groupId, long vocabularyId) throws RemoteException
RemoteException
public static int getVocabularyCategoriesCount(long groupId, long parentCategory, long vocabularyId) throws RemoteException
RemoteException
public static int getVocabularyCategoriesCount(long groupId, String name, long vocabularyId) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategorySoap[] getVocabularyRootCategories(long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) throws RemoteException
RemoteException
public static int getVocabularyRootCategoriesCount(long groupId, long vocabularyId) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategorySoap moveCategory(long categoryId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategorySoap[] search(long groupId, String keywords, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) throws RemoteException
RemoteException
public static String search(long groupId, String name, String[] categoryProperties, int start, int end) throws RemoteException
RemoteException
public static String search(long[] groupIds, String name, long[] vocabularyIds, int start, int end) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(long groupId, String title, long vocabularyId, int start, int end) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(long groupId, String title, long parentCategoryId, long vocabularyId, int start, int end) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(long groupId, String title, long vocabularyId, long parentCategoryId, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(long[] groupIds, String title, long[] vocabularyIds, int start, int end) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(long[] groupIds, String title, long[] parentCategoryIds, long[] vocabularyIds, int start, int end) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(long[] groupIds, String title, long[] vocabularyIds, long[] parentCategoryIds, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws RemoteException
RemoteException
public static com.liferay.asset.kernel.model.AssetCategorySoap updateCategory(long categoryId, long parentCategoryId, String[] titleMapLanguageIds, String[] titleMapValues, String[] descriptionMapLanguageIds, String[] descriptionMapValues, long vocabularyId, String[] categoryProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws RemoteException
RemoteException