@ProviderType
public class AssetVocabularyServiceSoap
extends java.lang.Object
AssetVocabularyServiceUtil 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 AssetVocabularySoap.
If the method in the service utility returns a
AssetVocabulary, that is translated to a
AssetVocabularySoap. 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.
AssetVocabularyServiceHttp,
AssetVocabularySoap,
AssetVocabularyServiceUtil| Constructor and Description |
|---|
AssetVocabularyServiceSoap() |
| Modifier and Type | Method and Description |
|---|---|
static com.liferay.portlet.asset.model.AssetVocabularySoap |
addVocabulary(java.lang.String[] titleMapLanguageIds,
java.lang.String[] titleMapValues,
java.lang.String[] descriptionMapLanguageIds,
java.lang.String[] descriptionMapValues,
java.lang.String settings,
com.liferay.portal.service.ServiceContext serviceContext)
Deprecated.
As of 6.1.0
#addVocabulary(String, Map, Map, String,
ServiceContext) |
static com.liferay.portlet.asset.model.AssetVocabularySoap |
addVocabulary(java.lang.String title,
com.liferay.portal.service.ServiceContext serviceContext) |
static com.liferay.portlet.asset.model.AssetVocabularySoap |
addVocabulary(java.lang.String title,
java.lang.String[] titleMapLanguageIds,
java.lang.String[] titleMapValues,
java.lang.String[] descriptionMapLanguageIds,
java.lang.String[] descriptionMapValues,
java.lang.String settings,
com.liferay.portal.service.ServiceContext serviceContext) |
static void |
deleteVocabularies(long[] vocabularyIds)
Deprecated.
As of 6.2.0, Replaced by
deleteVocabularies(long[],
ServiceContext) |
static com.liferay.portlet.asset.model.AssetVocabularySoap[] |
deleteVocabularies(long[] vocabularyIds,
com.liferay.portal.service.ServiceContext serviceContext) |
static void |
deleteVocabulary(long vocabularyId) |
static com.liferay.portlet.asset.model.AssetVocabularySoap[] |
getCompanyVocabularies(long companyId) |
static com.liferay.portlet.asset.model.AssetVocabularySoap[] |
getGroupsVocabularies(long[] groupIds) |
static com.liferay.portlet.asset.model.AssetVocabularySoap[] |
getGroupsVocabularies(long[] groupIds,
java.lang.String className) |
static com.liferay.portlet.asset.model.AssetVocabularySoap[] |
getGroupVocabularies(long groupId) |
static com.liferay.portlet.asset.model.AssetVocabularySoap[] |
getGroupVocabularies(long groupId,
boolean createDefaultVocabulary) |
static com.liferay.portlet.asset.model.AssetVocabularySoap[] |
getGroupVocabularies(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
static com.liferay.portlet.asset.model.AssetVocabularySoap[] |
getGroupVocabularies(long groupId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
static int |
getGroupVocabulariesCount(long groupId) |
static int |
getGroupVocabulariesCount(long groupId,
java.lang.String name) |
static com.liferay.portlet.asset.model.AssetVocabularyDisplay |
getGroupVocabulariesDisplay(long groupId,
java.lang.String title,
int start,
int end,
boolean addDefaultVocabulary,
com.liferay.portal.kernel.util.OrderByComparator obc) |
static com.liferay.portlet.asset.model.AssetVocabularyDisplay |
getGroupVocabulariesDisplay(long groupId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
static java.lang.String |
getJSONGroupVocabularies(long groupId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
Deprecated.
As of 6.2.0, with no direct replacement
|
static com.liferay.portlet.asset.model.AssetVocabularySoap[] |
getVocabularies(long[] vocabularyIds) |
static com.liferay.portlet.asset.model.AssetVocabularySoap |
getVocabulary(long vocabularyId) |
static com.liferay.portlet.asset.model.AssetVocabularySoap |
updateVocabulary(long vocabularyId,
java.lang.String[] titleMapLanguageIds,
java.lang.String[] titleMapValues,
java.lang.String[] descriptionMapLanguageIds,
java.lang.String[] descriptionMapValues,
java.lang.String settings,
com.liferay.portal.service.ServiceContext serviceContext)
Deprecated.
As of 6.1.0,
#updateVocabulary(long, String, Map, Map,
String, ServiceContext) |
static com.liferay.portlet.asset.model.AssetVocabularySoap |
updateVocabulary(long vocabularyId,
java.lang.String title,
java.lang.String[] titleMapLanguageIds,
java.lang.String[] titleMapValues,
java.lang.String[] descriptionMapLanguageIds,
java.lang.String[] descriptionMapValues,
java.lang.String settings,
com.liferay.portal.service.ServiceContext serviceContext) |
public static com.liferay.portlet.asset.model.AssetVocabularySoap addVocabulary(java.lang.String[] titleMapLanguageIds,
java.lang.String[] titleMapValues,
java.lang.String[] descriptionMapLanguageIds,
java.lang.String[] descriptionMapValues,
java.lang.String settings,
com.liferay.portal.service.ServiceContext serviceContext)
throws java.rmi.RemoteException
#addVocabulary(String, Map, Map, String,
ServiceContext)java.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetVocabularySoap addVocabulary(java.lang.String title,
java.lang.String[] titleMapLanguageIds,
java.lang.String[] titleMapValues,
java.lang.String[] descriptionMapLanguageIds,
java.lang.String[] descriptionMapValues,
java.lang.String settings,
com.liferay.portal.service.ServiceContext serviceContext)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetVocabularySoap addVocabulary(java.lang.String title,
com.liferay.portal.service.ServiceContext serviceContext)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void deleteVocabularies(long[] vocabularyIds)
throws java.rmi.RemoteException
deleteVocabularies(long[],
ServiceContext)java.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetVocabularySoap[] deleteVocabularies(long[] vocabularyIds,
com.liferay.portal.service.ServiceContext serviceContext)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void deleteVocabulary(long vocabularyId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetVocabularySoap[] getCompanyVocabularies(long companyId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetVocabularySoap[] getGroupsVocabularies(long[] groupIds)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetVocabularySoap[] getGroupsVocabularies(long[] groupIds,
java.lang.String className)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetVocabularySoap[] getGroupVocabularies(long groupId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetVocabularySoap[] getGroupVocabularies(long groupId,
boolean createDefaultVocabulary)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetVocabularySoap[] getGroupVocabularies(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetVocabularySoap[] getGroupVocabularies(long groupId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static int getGroupVocabulariesCount(long groupId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static int getGroupVocabulariesCount(long groupId,
java.lang.String name)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId,
java.lang.String title,
int start,
int end,
boolean addDefaultVocabulary,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static java.lang.String getJSONGroupVocabularies(long groupId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetVocabularySoap[] getVocabularies(long[] vocabularyIds)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetVocabularySoap getVocabulary(long vocabularyId)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetVocabularySoap updateVocabulary(long vocabularyId,
java.lang.String[] titleMapLanguageIds,
java.lang.String[] titleMapValues,
java.lang.String[] descriptionMapLanguageIds,
java.lang.String[] descriptionMapValues,
java.lang.String settings,
com.liferay.portal.service.ServiceContext serviceContext)
throws java.rmi.RemoteException
#updateVocabulary(long, String, Map, Map,
String, ServiceContext)java.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetVocabularySoap updateVocabulary(long vocabularyId,
java.lang.String title,
java.lang.String[] titleMapLanguageIds,
java.lang.String[] titleMapValues,
java.lang.String[] descriptionMapLanguageIds,
java.lang.String[] descriptionMapValues,
java.lang.String settings,
com.liferay.portal.service.ServiceContext serviceContext)
throws java.rmi.RemoteException
java.rmi.RemoteException