|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITarantellaUser
Defines the web services for managing user data.
Method Summary | |
---|---|
java.lang.String |
lookupPrefs(java.lang.String sessionCookie,
java.lang.String[] desiredPreferences)
Looks-up the preferences of the user who owns the user session. |
java.lang.String |
lookupUser(java.lang.String sessionCookie,
java.lang.String[] desiredAttributes)
Looks-up the attributes of the user who owns the user session. |
java.lang.String |
modifyPrefs(java.lang.String sessionCookie,
Item[] data)
Modifies the preferences of the user who owns the user session. |
Method Detail |
---|
java.lang.String lookupPrefs(java.lang.String sessionCookie, java.lang.String[] desiredPreferences) throws java.rmi.RemoteException
sessionCookie
- Identifies the user session owning the preferences.desiredPreferences
- Array of preferences wanted. Reserved for
future use.
Sample response:
<?xml version="1.0" encoding="UTF-8"?>
<tta:response xmlns:tta="http://xml.tarantella.com/2001/soapreply.xsd">
<attr name="dg">Name Ungrouped Content Collapsed true Shown true</attr>
<attr name="webtopprefs">eNqVzbEKwjAQgOH53iKjDm0HnQIdpBSnqhB3SZsrRpK7cEkR397S2cUH+P7/YiPCyUVP0HEINmV0MNuQEcyT3wRFFoQB44gCdV03D6TccHu3YqngKpT55IJRXccXTiU3E7Vbz+citngm1TFlDn9XbsKzD6h65wvLD21TCn7aHhswQ6d266k6VMc9aN2TOwsvSesvTJdPZw==</attr>
<attr name="inflationbuffer">230</attr>
<attr name="objectclass">container</attr>
</tta:response>
java.rmi.RemoteException
- On receipt of a SOAP fault.java.lang.String lookupUser(java.lang.String sessionCookie, java.lang.String[] desiredAttributes) throws java.rmi.RemoteException
sessionCookie
- Identifies the user session owned by the user.desiredAttributes
- Array of attributes wanted in the response.
IConstants.LOCAL_ATTRS
is a shortcut to get those attributes
that can be retrieved cheaply (see sample response).
Sample response:
<?xml version="1.0" encoding="UTF-8"?>
<tta:response xmlns:tta="http://xml.tarantella.com/2001/soapreply.xsd">
<attr name="sn">root</attr>
<attr name="scottawebtopcontents">o=applications/cn=Applications</attr>
<attr name="scottainheritwebtop">0</attr>
<attr name="scottasharedlogin">0</attr>
<attr name="scottaaipbandwidth">0</attr>
<attr name="uid">root</attr>
<attr name="objectclass">inetorgperson</attr>
<attr name="objectclass">scottaauxperson</attr>
<attr name="objectclass">organizationalperson</attr>
<attr name="objectclass">person</attr>
<attr name="objectclass">top</attr>
<attr name="scottaaccountenabled">1</attr>
<attr name="cn">Administrator</attr>
<attr name="sunsgdeditprofile">2</attr>
<attr name="sunsgdclipboardenabled">2</attr>
<attr name="scottatheme">..</attr>
<attr name="sunsgdserialportenabled">2</attr>
</tta:response>
java.rmi.RemoteException
- On receipt of a SOAP fault.java.lang.String modifyPrefs(java.lang.String sessionCookie, Item[] data) throws java.rmi.RemoteException
sessionCookie
- Identifies the user session owning the preferences.data
- Array of preferences to be changed.
java.rmi.RemoteException
- On receipt of a SOAP fault.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |