Platform SDK Java 8.5 API Reference

com.genesyslab.platform.applicationblocks.com
Class CfgDelta

java.lang.Object
  extended by com.genesyslab.platform.applicationblocks.com.CfgBase
      extended by com.genesyslab.platform.applicationblocks.com.CfgObject
          extended by com.genesyslab.platform.applicationblocks.com.CfgDelta
All Implemented Interfaces:
ICfgBase, ICfgDelta, ICfgObject, java.lang.Cloneable
Direct Known Subclasses:
CfgDeltaAccessGroup, CfgDeltaActionCode, CfgDeltaAgentGroup, CfgDeltaAgentInfo, CfgDeltaAgentLogin, CfgDeltaAlarmCondition, CfgDeltaApplication, CfgDeltaAppPrototype, CfgDeltaCallingList, CfgDeltaCampaign, CfgDeltaCampaignGroup, CfgDeltaDN, CfgDeltaDNGroup, CfgDeltaEnumerator, CfgDeltaEnumeratorValue, CfgDeltaField, CfgDeltaFilter, CfgDeltaFolder, CfgDeltaFormat, CfgDeltaGroup, CfgDeltaGVPCustomer, CfgDeltaGVPIVRProfile, CfgDeltaGVPReseller, CfgDeltaHost, CfgDeltaIVR, CfgDeltaIVRPort, CfgDeltaObjectiveTable, CfgDeltaPerson, CfgDeltaPersonLastLogin, CfgDeltaPhysicalSwitch, CfgDeltaPlace, CfgDeltaPlaceGroup, CfgDeltaRole, CfgDeltaScheduledTask, CfgDeltaScript, CfgDeltaService, CfgDeltaSkill, CfgDeltaStatDay, CfgDeltaStatTable, CfgDeltaSwitch, CfgDeltaTableAccess, CfgDeltaTenant, CfgDeltaTimeZone, CfgDeltaTransaction, CfgDeltaTreatment, CfgDeltaVoicePrompt

public abstract class CfgDelta
extends CfgObject
implements ICfgDelta

This is a base class for all Configuration Server delta objects.

Author:
Petr Makagon, Vladislav Baranovsky, Alexander Filatov, Anton Brazhnyk, Sergii Volokh

Constructor Summary
protected CfgDelta(IConfService srvc, ConfObjectBase objData, java.lang.Object[] additionalParameters)
           
protected CfgDelta(IConfService srvc, org.w3c.dom.Node xmlData, java.lang.Object[] additionalParameters)
           
protected CfgDelta(IConfService confService, java.lang.String className)
          This is a constructor of an object with no external data.
 
Method Summary
protected  void ensureDataBackup()
          This internal method is designed for "lazy initialization" of DOM data backup.
 ICfgObject retrieveObject()
          Read configuration object from server.
 void save()
          Synchronizes changes in a class with Configuration Server.
protected  java.lang.StringBuilder toStringProperties()
           
 void update(ICfgDelta deltaObject)
          Updates the current object from the passed delta object.
 
Methods inherited from class com.genesyslab.platform.applicationblocks.com.CfgObject
clone, delete, doSetFolderId, getFolderId, getObjectDbid, getObjectPath, getObjectType, refresh, reloadObjectWithNewData, reloadObjectWithNewData, removeAccount, resetDataBackup, retrieveAccountPermissions, retrieveACL, retrievePermissions, setAccountPermissions, setAccountPermissions, setFolderId, updateACL
 
Methods inherited from class com.genesyslab.platform.applicationblocks.com.CfgBase
equals, flushChildrenContent, getConfigurationService, getData, getEndpoint, getLinkListCollection, getLinkValue, getLogger, getMetaData, getParent, getProperty, getProperty, getProperty, getRawObjectData, hashCode, initStruct, isSaved, lockObject, resolveLink, setProperty, toString, toXml, updateChildrenSavedState
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.genesyslab.platform.applicationblocks.com.ICfgBase
getEndpoint, getProperty, getRawObjectData, setProperty, toXml
 

Constructor Detail

CfgDelta

protected CfgDelta(IConfService confService,
                   java.lang.String className)
This is a constructor of an object with no external data.

Parameters:
confService - A reference to Configuration Service
className - The name of a class

CfgDelta

protected CfgDelta(IConfService srvc,
                   ConfObjectBase objData,
                   java.lang.Object[] additionalParameters)

CfgDelta

protected CfgDelta(IConfService srvc,
                   org.w3c.dom.Node xmlData,
                   java.lang.Object[] additionalParameters)
Method Detail

ensureDataBackup

protected void ensureDataBackup()
Description copied from class: CfgObject
This internal method is designed for "lazy initialization" of DOM data backup. It is automatically called before any object property change and it has to create backup copy of object DOM data if it has not been created before.

Overrides:
ensureDataBackup in class CfgObject

retrieveObject

public final ICfgObject retrieveObject()
                                throws ConfigException
Read configuration object from server.

Returns:
configuration object
Throws:
ConfigException - in case of problem while object reading

save

public void save()
          throws ConfigException
Description copied from class: CfgObject
Synchronizes changes in a class with Configuration Server. Internally generates the correct delta object and sends it to Configuration Server.

Specified by:
save in interface ICfgObject
Overrides:
save in class CfgObject
Throws:
ConfigException - exception while requesting configuration information update

update

public void update(ICfgDelta deltaObject)
Description copied from class: CfgObject
Updates the current object from the passed delta object.

Specified by:
update in interface ICfgObject
Overrides:
update in class CfgObject
Parameters:
deltaObject - the delta object received from configuration server

toStringProperties

protected java.lang.StringBuilder toStringProperties()
Overrides:
toStringProperties in class CfgBase

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.