Platform SDK Java 8.5 API Reference

com.genesyslab.platform.reporting.protocol.runtime
Class ActionsMaskCodec

java.lang.Object
  extended by com.genesyslab.platform.commons.log.AbstractLogEnabled
      extended by com.genesyslab.platform.reporting.protocol.runtime.ActionsMaskCodec
All Implemented Interfaces:
ILogEnabled, com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec

public class ActionsMaskCodec
extends AbstractLogEnabled
implements com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec


Constructor Summary
ActionsMaskCodec()
           
 
Method Summary
 void appendLogValue(java.lang.StringBuffer buf, java.lang.Object customTypeObject, boolean truncate, boolean hide)
           
static ActionsMask create(java.lang.String type)
          Creates actions mask instance by type name.
 java.lang.Object decodeFromXml(javax.xml.transform.Source attributeElement, com.genesyslab.platform.commons.protocol.runtime.AttributeDescription ai)
           
 java.lang.Object encodeForConnection(java.lang.Object customTypeObject, java.lang.String id, MessageTransport transport, java.lang.Object transportState)
           
 void encodeToXml(java.lang.Object customTypeObject, javax.xml.transform.Result attributeElement)
           
 java.lang.String getLogType()
           
 java.lang.String getNS()
           
static java.lang.String getType(java.lang.Class<? extends ActionsMask> typeClass)
          Gets type name for a specified actions mask class.
 void setMessage(Message message)
           
 void setProtocolData(java.lang.Object protocolData)
           
 
Methods inherited from class com.genesyslab.platform.commons.log.AbstractLogEnabled
enableLogging, getLogger, onEnableLogging
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionsMaskCodec

public ActionsMaskCodec()
Method Detail

getNS

public java.lang.String getNS()
Specified by:
getNS in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec

setProtocolData

public void setProtocolData(java.lang.Object protocolData)
Specified by:
setProtocolData in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec

setMessage

public void setMessage(Message message)
Specified by:
setMessage in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec

encodeForConnection

public java.lang.Object encodeForConnection(java.lang.Object customTypeObject,
                                            java.lang.String id,
                                            MessageTransport transport,
                                            java.lang.Object transportState)
                                     throws PlatformException
Specified by:
encodeForConnection in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
Throws:
PlatformException

encodeToXml

public void encodeToXml(java.lang.Object customTypeObject,
                        javax.xml.transform.Result attributeElement)
                 throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
encodeToXml in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

decodeFromXml

public java.lang.Object decodeFromXml(javax.xml.transform.Source attributeElement,
                                      com.genesyslab.platform.commons.protocol.runtime.AttributeDescription ai)
                               throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
decodeFromXml in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

getLogType

public java.lang.String getLogType()
Specified by:
getLogType in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec

appendLogValue

public void appendLogValue(java.lang.StringBuffer buf,
                           java.lang.Object customTypeObject,
                           boolean truncate,
                           boolean hide)
Specified by:
appendLogValue in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec

create

public static ActionsMask create(java.lang.String type)
Creates actions mask instance by type name.

Parameters:
type - actions mask class name.
Returns:
actions mask instance by type name.

getType

public static java.lang.String getType(java.lang.Class<? extends ActionsMask> typeClass)
Gets type name for a specified actions mask class.

Parameters:
typeClass - actions mask class.
Returns:
type name for a specified actions mask class.

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.