Platform SDK Java 8.5 API Reference

com.genesyslab.platform.outbound.protocol.outbounddesktop
Class OutboundDesktopBinding

java.lang.Object
  extended by com.genesyslab.platform.outbound.protocol.outbounddesktop.OutboundDesktopBinding

public final class OutboundDesktopBinding
extends java.lang.Object

Class contains functionality for marshaling/unmarshaling data between key value collection and appropriate object of predefined class. Predefined classes are generating according to protocol description.


Nested Class Summary
static class OutboundDesktopBinding.KVBindingException
           
 
Method Summary
static KeyValueCollection marshal(AddRecord obj)
           
static KeyValueCollection marshal(AddRecordAcknowledge obj)
           
static KeyValueCollection marshal(CampaignGroupAssigned obj)
           
static KeyValueCollection marshal(CampaignLoaded obj)
           
static KeyValueCollection marshal(CampaignModeChanged obj)
           
static KeyValueCollection marshal(CampaignStarted obj)
           
static KeyValueCollection marshal(CampaignStopped obj)
           
static KeyValueCollection marshal(CampaignUnloaded obj)
           
static KeyValueCollection marshal(ChainedRecord obj)
           
static KeyValueCollection marshal(ChainedRecordRequest obj)
           
static KeyValueCollection marshal(ChainedRecordsDataEnd obj)
           
static KeyValueCollection marshal(DoNotCall obj)
           
static KeyValueCollection marshal(DoNotCallAcknowledge obj)
           
static KeyValueCollection marshal(ErrorMessage obj)
           
static KeyValueCollection marshal(LogOut obj)
           
static KeyValueCollection marshal(LogOutAcknowledge obj)
           
static KeyValueCollection marshal(LogOutTime obj)
           
static KeyValueCollection marshal(java.lang.Object obj)
          Marshal data from object of predefined class to key value collection.
static KeyValueCollection marshal(PreviewDialingModeOver obj)
           
static KeyValueCollection marshal(PreviewDialingModeOverAcknowledge obj)
           
static KeyValueCollection marshal(PreviewDialingModeStart obj)
           
static KeyValueCollection marshal(PreviewDialingModeStartAcknowledge obj)
           
static KeyValueCollection marshal(PreviewRecord obj)
           
static KeyValueCollection marshal(PreviewRecordEmpty obj)
           
static KeyValueCollection marshal(PreviewRecordRequest obj)
           
static KeyValueCollection marshal(RecordCancel obj)
           
static KeyValueCollection marshal(RecordCancelAcknowledge obj)
           
static KeyValueCollection marshal(RecordProcessed obj)
           
static KeyValueCollection marshal(RecordProcessedAcknowledge obj)
           
static KeyValueCollection marshal(RecordReject obj)
           
static KeyValueCollection marshal(RecordRejectAcknowledge obj)
           
static KeyValueCollection marshal(RecordReschedule obj)
           
static KeyValueCollection marshal(RecordRescheduleAcknowledge obj)
           
static KeyValueCollection marshal(RequestRecordCancel obj)
           
static KeyValueCollection marshal(ScheduledCall obj)
           
static KeyValueCollection marshal(ScheduledRecordReschedule obj)
           
static KeyValueCollection marshal(ScheduledRecordRescheduleAcknowledge obj)
           
static KeyValueCollection marshal(UpdateCallCompletionStats obj)
           
static KeyValueCollection marshal(UpdateCallCompletionStatsAcknowledge obj)
           
static java.lang.String resolve(KeyValueCollection list)
          Resolve predefined class name according to key value collection Predefined classes are generating according to protocol description.
static boolean setProperty(AddRecordAcknowledge obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(AddRecord obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(CampaignGroupAssigned obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(CampaignLoaded obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(CampaignModeChanged obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(CampaignStarted obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(CampaignStopped obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(CampaignUnloaded obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(ChainedRecordRequest obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(ChainedRecordsDataEnd obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(ChainedRecord obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(DoNotCallAcknowledge obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(DoNotCall obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(ErrorMessage obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(LogOutAcknowledge obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(LogOut obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(LogOutTime obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(PreviewDialingModeOverAcknowledge obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(PreviewDialingModeOver obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(PreviewDialingModeStartAcknowledge obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(PreviewDialingModeStart obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(PreviewRecordEmpty obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(PreviewRecordRequest obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(PreviewRecord obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(RecordCancelAcknowledge obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(RecordCancel obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(RecordProcessedAcknowledge obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(RecordProcessed obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(RecordRejectAcknowledge obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(RecordReject obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(RecordRescheduleAcknowledge obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(RecordReschedule obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(RequestRecordCancel obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(ScheduledCall obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(ScheduledRecordRescheduleAcknowledge obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(ScheduledRecordReschedule obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(UpdateCallCompletionStatsAcknowledge obj, java.lang.String name, java.lang.Object value)
          Set property by name
static boolean setProperty(UpdateCallCompletionStats obj, java.lang.String name, java.lang.Object value)
          Set property by name
static java.lang.Object unmarshal(KeyValueCollection kvlist)
          Actually will be called unmarshal(resolve(kvlist), kvlist).
static java.lang.Object unmarshal(java.lang.String className, KeyValueCollection kvlist)
          Unmarshal data from key value collection to appropriate object of predefined class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

marshal

public static KeyValueCollection marshal(java.lang.Object obj)
                                  throws OutboundDesktopBinding.KVBindingException
Marshal data from object of predefined class to key value collection. This method simply route to class specific marshal. Predefined classes are generating according to protocol description.

Parameters:
obj - object for which must be generated according key value collection that will be represent it data
Returns:
key value collection that represent passed object or null (if object not supported)
Throws:
OutboundDesktopBinding.KVBindingException

unmarshal

public static java.lang.Object unmarshal(KeyValueCollection kvlist)
                                  throws OutboundDesktopBinding.KVBindingException
Actually will be called unmarshal(resolve(kvlist), kvlist). Unmarshal data from key value collection to appropriate object of predefined class. Predefined classes are generating according to protocol description.

Parameters:
kvlist - key value collection for which must be generated appropriate object of predefined class
Returns:
object of predefined class that represent value collection passed as argument or null (if unknown class name or fail resolve class name)
Throws:
OutboundDesktopBinding.KVBindingException

unmarshal

public static java.lang.Object unmarshal(java.lang.String className,
                                         KeyValueCollection kvlist)
                                  throws OutboundDesktopBinding.KVBindingException
Unmarshal data from key value collection to appropriate object of predefined class. Predefined classes are generating according to protocol description.

Parameters:
className - name of predefined class used as tergat for binding.
kvlist - key value collection for which must be generated appropriate object of predefined class
Returns:
object of predefined class that represent value collection passed as argument or null (if unknown class name or fail resolve class name)
Throws:
OutboundDesktopBinding.KVBindingException

resolve

public static java.lang.String resolve(KeyValueCollection list)
Resolve predefined class name according to key value collection Predefined classes are generating according to protocol description. This function generated according to protocol description.

Parameters:
KeyValueCollection - key value collection for which must be resolved predefined class name
Returns:
predefined class name or null

marshal

public static KeyValueCollection marshal(ErrorMessage obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(ErrorMessage obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(CampaignLoaded obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(CampaignLoaded obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(CampaignUnloaded obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(CampaignUnloaded obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(CampaignStarted obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(CampaignStarted obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(CampaignStopped obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(CampaignStopped obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(CampaignModeChanged obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(CampaignModeChanged obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(PreviewDialingModeStartAcknowledge obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(PreviewDialingModeStartAcknowledge obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(PreviewDialingModeOverAcknowledge obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(PreviewDialingModeOverAcknowledge obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(PreviewRecord obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(PreviewRecord obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(PreviewRecordEmpty obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(PreviewRecordEmpty obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(UpdateCallCompletionStatsAcknowledge obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(UpdateCallCompletionStatsAcknowledge obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(RecordProcessedAcknowledge obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(RecordProcessedAcknowledge obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(RecordRejectAcknowledge obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(RecordRejectAcknowledge obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(RecordCancelAcknowledge obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(RecordCancelAcknowledge obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(RecordRescheduleAcknowledge obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(RecordRescheduleAcknowledge obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(ScheduledRecordRescheduleAcknowledge obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(ScheduledRecordRescheduleAcknowledge obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(ScheduledCall obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(ScheduledCall obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(DoNotCallAcknowledge obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(DoNotCallAcknowledge obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(ChainedRecord obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(ChainedRecord obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(ChainedRecordsDataEnd obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(ChainedRecordsDataEnd obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(RecordCancel obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(RecordCancel obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(AddRecordAcknowledge obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(AddRecordAcknowledge obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(LogOutTime obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(LogOutTime obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(LogOutAcknowledge obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(LogOutAcknowledge obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(PreviewDialingModeStart obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(PreviewDialingModeStart obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(PreviewDialingModeOver obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(PreviewDialingModeOver obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(PreviewRecordRequest obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(PreviewRecordRequest obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(UpdateCallCompletionStats obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(UpdateCallCompletionStats obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(RecordProcessed obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(RecordProcessed obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(RecordReject obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(RecordReject obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(RequestRecordCancel obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(RequestRecordCancel obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(RecordReschedule obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(RecordReschedule obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(ScheduledRecordReschedule obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(ScheduledRecordReschedule obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(DoNotCall obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(DoNotCall obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(ChainedRecordRequest obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(ChainedRecordRequest obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(AddRecord obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(AddRecord obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(LogOut obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(LogOut obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

marshal

public static KeyValueCollection marshal(CampaignGroupAssigned obj)
                                  throws OutboundDesktopBinding.KVBindingException
Throws:
OutboundDesktopBinding.KVBindingException

setProperty

public static boolean setProperty(CampaignGroupAssigned obj,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.ClassCastException
Set property by name

Parameters:
obj - object in which will be set property
name - property name to set
value - new property value
Returns:
true if success, false if property with assigned name doesn't exit
Throws:
java.lang.ClassCastException

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.