|
String
GetSearchString
()
throw Exception
|
|
Search String value |
|
| Personalizer pers = null; |
| Session sess = null; |
| try{ |
| //Create personalizer object and Session object |
| pers = new Personalizer(); |
| sess = pers.CreateSession("LogonName", "Password"); |
| //Create Phone notification object |
| Phone objPhone = sess.CreatePhoneNotification(); |
| int NotificationSequenceNumber; |
| NotificationSequenceNumber=GetNotificationSequenceNumber()+1
;
// using some user function |
| objPhone.SetSearchString(NotificationSequenceNumber) ; |
| ...; |
| SaveNotificationSequenceNumber(objPhone.GetSearchString())
;
// retrieve and save search string |
| objPhone.Release(); |
| sess.Release(); |
| } |
| catch(Exception e){ |
| //Print exception message e.Message |
| System.out.println(e.Message); |
| sess.Release(); |
| } |