@ProviderType
public class AssetTagPropertyServiceSoap
extends java.lang.Object
AssetTagPropertyServiceUtil 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 AssetTagPropertySoap.
If the method in the service utility returns a
AssetTagProperty, that is translated to a
AssetTagPropertySoap. 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.
AssetTagPropertyServiceHttp,
AssetTagPropertySoap,
AssetTagPropertyServiceUtil| Constructor and Description |
|---|
AssetTagPropertyServiceSoap() |
| Modifier and Type | Method and Description |
|---|---|
static com.liferay.portlet.asset.model.AssetTagPropertySoap |
addTagProperty(long tagId,
java.lang.String key,
java.lang.String value)
Adds an asset tag property.
|
static void |
deleteTagProperty(long tagPropertyId)
Deletes the asset tag property with the specified ID.
|
static com.liferay.portlet.asset.model.AssetTagPropertySoap[] |
getTagProperties(long tagId)
Returns all the asset tag property instances with the specified tag ID.
|
static com.liferay.portlet.asset.model.AssetTagPropertySoap[] |
getTagPropertyValues(long companyId,
java.lang.String key)
Returns asset tag properties with the specified group and key.
|
static com.liferay.portlet.asset.model.AssetTagPropertySoap |
updateTagProperty(long tagPropertyId,
java.lang.String key,
java.lang.String value)
Updates the asset tag property.
|
public static com.liferay.portlet.asset.model.AssetTagPropertySoap addTagProperty(long tagId,
java.lang.String key,
java.lang.String value)
throws java.rmi.RemoteException
tagId - the primary key of the tagkey - the key to be associated to the valuevalue - the value to which the key will referPortalException - if the user did not have permission to update the
asset tag, or if the key or value were invalidSystemException - if a system exception occurredjava.rmi.RemoteExceptionpublic static void deleteTagProperty(long tagPropertyId)
throws java.rmi.RemoteException
tagPropertyId - the primary key of the asset tag property instancePortalException - if an asset tag property with the primary key
could not be found or if the user did not have permission to
update the asset tag propertySystemException - if a system exception occurredjava.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetTagPropertySoap[] getTagProperties(long tagId)
throws java.rmi.RemoteException
tagId - the primary key of the tagSystemException - if a system exception occurredjava.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetTagPropertySoap[] getTagPropertyValues(long companyId,
java.lang.String key)
throws java.rmi.RemoteException
companyId - the primary key of the companykey - the key that refers to some valueSystemException - if a system exception occurredjava.rmi.RemoteExceptionpublic static com.liferay.portlet.asset.model.AssetTagPropertySoap updateTagProperty(long tagPropertyId,
java.lang.String key,
java.lang.String value)
throws java.rmi.RemoteException
tagPropertyId - the primary key of the asset tag propertykey - the new key to be associated to the valuevalue - the new value to which the key will referPortalException - if an asset tag property with the primary key
could not be found, if the user did not have permission to update
the asset tag, or if the key or value were invalidSystemException - if a system exception occurredjava.rmi.RemoteException