|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portlet.asset.service.http.AssetTagPropertyServiceSoap
public class AssetTagPropertyServiceSoap
This class provides a SOAP utility for the
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/secure/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 Summary | |
---|---|
AssetTagPropertyServiceSoap()
|
Method Summary | |
---|---|
static AssetTagPropertySoap |
addTagProperty(long tagId,
String key,
String value)
Adds an asset tag property. |
static void |
deleteTagProperty(long tagPropertyId)
Deletes the asset tag property with the specified ID. |
static AssetTagPropertySoap[] |
getTagProperties(long tagId)
Returns all the asset tag property instances with the specified tag ID. |
static AssetTagPropertySoap[] |
getTagPropertyValues(long companyId,
String key)
Returns asset tag properties with the specified group and key. |
static AssetTagPropertySoap |
updateTagProperty(long tagPropertyId,
String key,
String value)
Updates the asset tag property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssetTagPropertyServiceSoap()
Method Detail |
---|
public static AssetTagPropertySoap addTagProperty(long tagId, String key, String value) throws RemoteException
tagId
- the primary key of the tagkey
- the key to be associated to the valuevalue
- the value to which the key will refer
PortalException
- if the user did not have permission to update the
asset tag, or if the key or value were invalid
SystemException
- if a system exception occurred
RemoteException
public static void deleteTagProperty(long tagPropertyId) throws RemoteException
tagPropertyId
- the primary key of the asset tag property instance
PortalException
- 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 property
SystemException
- if a system exception occurred
RemoteException
public static AssetTagPropertySoap[] getTagProperties(long tagId) throws RemoteException
tagId
- the primary key of the tag
SystemException
- if a system exception occurred
RemoteException
public static AssetTagPropertySoap[] getTagPropertyValues(long companyId, String key) throws RemoteException
companyId
- the primary key of the companykey
- the key that refers to some value
SystemException
- if a system exception occurred
RemoteException
public static AssetTagPropertySoap updateTagProperty(long tagPropertyId, String key, String value) throws 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 refer
PortalException
- 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 invalid
SystemException
- if a system exception occurred
RemoteException
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |