|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
java.util.Dictionary
java.util.Hashtable
oracle.panama.messaging.common.SyncOTASetting
This class can be used to create a syncML OTA Settings.
| Field Summary | |
static java.lang.String |
ADDRKey for address value of connection reference. |
static java.lang.String |
ADDRTYPEKey for address type value of the connection reference. |
static java.lang.String |
ADDRTYPE_ALPHADefines generic alphanumeric Address Type. |
static java.lang.String |
ADDRTYPE_APNDefines Access Point Name Address Type. |
static java.lang.String |
ADDRTYPE_E164Defines Address Type as phone number according to E164 scheme. |
static java.lang.String |
ADDRTYPE_IPV4Defines IPv4 Address Type. |
static java.lang.String |
ADDRTYPE_IPV6Defines IPv6 Address Type. |
static java.lang.String |
AUTHKey for authentication procedures and credentials used in SyncML session. |
static java.lang.String |
AUTHLEVELKey for authentication level. |
static java.lang.String |
AUTHLEVEL_HTTPWSPDefines HTTP level Authentication level. |
static java.lang.String |
AUTHLEVEL_OBEXDefines OBEX Authentication level. |
static java.lang.String |
AUTHLEVEL_SYNCMLSERVERDefines Authentication level used in the credentials in SyncHdr. |
static java.lang.String |
AUTHSCHEMEKey for authentication scheme. |
static java.lang.String |
AUTHSCHEME_BASICDefines basic authentication level. |
static java.lang.String |
AUTHSCHEME_DIGESTDefines MD5 authentication level. |
static java.lang.String |
BEARERKey for bearer type of the connection reference. |
static java.lang.String |
BEARER_AMPS_CDPDDefines AMPS CDPD bearer. |
static java.lang.String |
BEARER_ANSI_136CSDDefines ANSI 136 CSD bearer. |
static java.lang.String |
BEARER_ANSI_136GHOSTDefines ANSI 136 GHOST bearer. |
static java.lang.String |
BEARER_ANSI_136GUTSDefines ANSI 136GUTS bearer. |
static java.lang.String |
BEARER_ANSI_136PACKETDefines ANSI 136 PACKET bearer. |
static java.lang.String |
BEARER_FLEXDefines FLEX bearer. |
static java.lang.String |
BEARER_GSM_CSDDefines GSM CSD bearer. |
static java.lang.String |
BEARER_GSM_GPRSDefines GSM GPRS bearer. |
static java.lang.String |
BEARER_GSM_SMSDefines GSM SMS bearer. |
static java.lang.String |
BEARER_GSM_USSDDefines GSM USSD bearer. |
static java.lang.String |
BEARER_IDEN_CSDDefines IDEN CSDbearer. |
static java.lang.String |
BEARER_IDEN_PACKETDefines IDEN PACKET bearer. |
static java.lang.String |
BEARER_IDEN_SMSDefines IDEN SMS bearer. |
static java.lang.String |
BEARER_IS95_CDMACSDDefines IS95 CDMA CSD bearer |
static java.lang.String |
BEARER_IS95_CDMAPACKETDefines IS95 CDMA PACKET bearer. |
static java.lang.String |
BEARER_IS95_CDMASMSDefines IS95 CMDA SMS bearer |
static java.lang.String |
BEARER_MOBITEX_MPAKDefines MOBITEX MPAK bearer. |
static java.lang.String |
BEARER_OBEXDefines OBEX bearer. |
static java.lang.String |
BEARER_PDC_CSDDefines PDC CSD bearer. |
static java.lang.String |
BEARER_PDC_PACKETDefines PDC PACKET bearer. |
static java.lang.String |
BEARER_PHS_CSDDefines PHS CSD bearer. |
static java.lang.String |
BEARER_PHS_SMSDefines PHS SMS bearer. |
static java.lang.String |
BEARER_TETRA_PACKETDefines TETRA PACKET bearer. |
static java.lang.String |
BEARER_TETRA_SDSDefines TETRA SDS bearer. |
static java.lang.String |
CONREFKey for reference to physical or logical access point used by SyncML settings. |
static java.lang.String |
CONTENTDESCKey for CONREF + CONTYPE. |
static java.lang.String |
CONTYPEKey for type of connection. |
static java.lang.String |
CONTYPE_HTTPWAP2Defines HTTP/WAP 2.x proxy |
static java.lang.String |
CONTYPE_LOGICALAPDefines Logical AP(Name by which access point have been grouped in the configuration) connection type. |
static java.lang.String |
CONTYPE_PHYSICALAPDefines Physical AP(Refers to real address: bearer, address type, address value) connection type. |
static java.lang.String |
CONTYPE_WAP1Defines WAP 1.x proxy connection type. |
static java.lang.String |
CREDKey for credential for authentication. |
static java.lang.String |
CTTYPEKey for supported media content type of the remote db. |
static java.lang.String |
CTVERKey for version of supported content type. |
static java.lang.String |
HOSTADDRKey for host address of the SyncML service. |
static java.lang.String |
MIMESyncML OTA Settins MIME type. |
static java.lang.String |
NAMEKey for displayable name of the SyncML setting or remote db |
static java.lang.String |
PHONE_MODELKey for phone model. |
static java.lang.String |
PORTKey for transport port of origin server. |
static java.lang.String |
REFIDKey for logical reference value of the connection reference. |
static java.lang.String |
REMOTEDBKey for remote db and authentication information of the db. |
static java.lang.String |
SYNCSETTINGSKey for root element. |
static java.lang.String |
URIKey for relation or absolute URI of the remote db. |
static java.lang.String |
USERNAMEKey for username |
static java.lang.String |
VERSIONKey for version. |
static java.lang.String |
VERSION_10Defines WBXML verison 1.0 |
static java.lang.String |
VERSION_11Defines WBXML version 1.1 |
static java.lang.String |
WBXML_VERSIONKey for wbxml verion. |
| Constructor Summary | |
SyncOTASetting()Constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object other)Checks equality of two SyncOTASetting objects. |
int |
hashCode()Generates are return hashcode for the instance. |
void |
setAuth(java.lang.String[][] auth)This method sets the authentication procedure and credentials used in the SyncML session. |
void |
setConRef(java.lang.String[][] conRef)This method sets the reference to a physical or logical access point used by these SyncML settings. |
void |
setHostAddr(java.lang.String address)Sets hostaddress of the SyncML service(origin server). |
void |
setName(java.lang.String name) |
void |
setPhoneModel(java.lang.String model)Set the phone model. |
void |
setPort(java.lang.String port)Sets the tranport port of the origin server(SyncML service). |
void |
setRemoteDB(java.util.Vector contentDesc, java.lang.String uri, java.lang.String name, java.lang.String[][] auth)Sets the remote database to be synchronised and the authentication information of the data base. This method can be called multiple times with different set of parmaters to set more than one RemoteDB. Content model ((CTTYPE, CTVER*)+, URI, NAME?, AUTH?) |
void |
setVersion(java.lang.String version)This method is used to set the version of the WBXML to be used while sending the syncml setting. |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, get, isEmpty, keys, keySet, put, putAll, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String ADDR
public static final java.lang.String ADDRTYPE
public static final java.lang.String ADDRTYPE_ALPHA
public static final java.lang.String ADDRTYPE_APN
public static final java.lang.String ADDRTYPE_E164
public static final java.lang.String ADDRTYPE_IPV4
public static final java.lang.String ADDRTYPE_IPV6
public static final java.lang.String AUTH
public static final java.lang.String AUTHLEVEL
public static final java.lang.String AUTHLEVEL_HTTPWSP
public static final java.lang.String AUTHLEVEL_OBEX
public static final java.lang.String AUTHLEVEL_SYNCMLSERVER
public static final java.lang.String AUTHSCHEME
public static final java.lang.String AUTHSCHEME_BASIC
public static final java.lang.String AUTHSCHEME_DIGEST
public static final java.lang.String BEARER
public static final java.lang.String BEARER_AMPS_CDPD
public static final java.lang.String BEARER_ANSI_136CSD
public static final java.lang.String BEARER_ANSI_136GHOST
public static final java.lang.String BEARER_ANSI_136GUTS
public static final java.lang.String BEARER_ANSI_136PACKET
public static final java.lang.String BEARER_FLEX
public static final java.lang.String BEARER_GSM_CSD
public static final java.lang.String BEARER_GSM_GPRS
public static final java.lang.String BEARER_GSM_SMS
public static final java.lang.String BEARER_GSM_USSD
public static final java.lang.String BEARER_IDEN_CSD
public static final java.lang.String BEARER_IDEN_PACKET
public static final java.lang.String BEARER_IDEN_SMS
public static final java.lang.String BEARER_IS95_CDMACSD
public static final java.lang.String BEARER_IS95_CDMAPACKET
public static final java.lang.String BEARER_IS95_CDMASMS
public static final java.lang.String BEARER_MOBITEX_MPAK
public static final java.lang.String BEARER_OBEX
public static final java.lang.String BEARER_PDC_CSD
public static final java.lang.String BEARER_PDC_PACKET
public static final java.lang.String BEARER_PHS_CSD
public static final java.lang.String BEARER_PHS_SMS
public static final java.lang.String BEARER_TETRA_PACKET
public static final java.lang.String BEARER_TETRA_SDS
public static final java.lang.String CONREF
public static final java.lang.String CONTENTDESC
public static final java.lang.String CONTYPE
public static final java.lang.String CONTYPE_HTTPWAP2
public static final java.lang.String CONTYPE_LOGICALAP
public static final java.lang.String CONTYPE_PHYSICALAP
public static final java.lang.String CONTYPE_WAP1
public static final java.lang.String CRED
public static final java.lang.String CTTYPE
public static final java.lang.String CTVER
public static final java.lang.String HOSTADDR
public static final java.lang.String MIME
public static final java.lang.String NAME
public static final java.lang.String PHONE_MODEL
public static final java.lang.String PORT
public static final java.lang.String REFID
public static final java.lang.String REMOTEDB
public static final java.lang.String SYNCSETTINGS
public static final java.lang.String URI
public static final java.lang.String USERNAME
public static final java.lang.String VERSION
public static final java.lang.String VERSION_10
public static final java.lang.String VERSION_11
public static final java.lang.String WBXML_VERSION
| Constructor Detail |
public SyncOTASetting()
| Method Detail |
public boolean equals(java.lang.Object other)
other - SyncOTASetting object to be tested for equality with this instance.public int hashCode()
public void setAuth(java.lang.String[][] auth)
public void setConRef(java.lang.String[][] conRef)
conRef - is a two dimentional string array and each of its row contains a name value pair. Then names could be ConType, Bearer, AddrType, Addr, RefId.public void setHostAddr(java.lang.String address)
public void setName(java.lang.String name)
name - should contain the displayable name of the syncML settings. The maximum length of this paramter is 50 bytes.public void setPhoneModel(java.lang.String model)
public void setPort(java.lang.String port)
public void setRemoteDB(java.util.Vector contentDesc,
java.lang.String uri,
java.lang.String name,
java.lang.String[][] auth)
Eg: String[][] conDesc1 = {{syncSetting.CTTYPE,"text/x-vcard"},
{syncSetting.CTVER, "2.1"}};
Vector cons1 = new Vector();
cons1.add(conDesc1);
String[][] rdauth = {{syncSetting.AUTHSCHEME, syncSetting.AUTHSCHEME_BASIC},
{syncSetting.USERNAME, "james"},
{syncSetting.CRED, "cHdk"}
};
syncSetting.setRemoteDB(cons1, "./Contacts?CLASS&EQ;PRIVATE",
"Private Contact DB", rdauth);
String[][] conDesc2 = {{syncSetting.CTTYPE,"text/x-vcalendar"},
{syncSetting.CTVER, "1.0"}};
Vector cons2 = new Vector();
cons2.add(conDesc2);
syncSetting.setRemoteDB(cons2, "./Calendar","Calendar DB", null);
contentDesc - vector should contain a list of double dimension String array.Each row of this double dimentation array is a name value pair.Name should be "CTType" and "CTVer" and value field should specify a value corrosponding to these names. CTVER value string can contain "/" to specify more than one version. CTType should specify the supported media content type of the remote db. CTVER should specify the version of the supported content type.uri - should contain the relative or absolute URI of the databse. The maximum length of this parameter is 100 bytes.name - should contain the displayable name of the remote database. The maximum length of this paramter is 50 bytes.auth - is a double dimension string array and each row of this double dimentation array is a name value pair. The names could be AuthLevel, AuthScheme, Username and Cred.public void setVersion(java.lang.String version)
version - can be VERSION_10 (WBXML 1.0) or VERSION_11(WBXML 1.1)
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||