public class SysDataElementMAXVARTYPE extends SysDataElement implements UpgConstants
psdi.configure.SysDataElement
.
SysDataElementMAXVARTYPE is instanciated by the following:
ConfigXMLFactory
, via
Upgrade
.
The SysDataElementMAXVARTYPE method getSql
returns sql statements for populating the MAXVARS table appropriately, after having run ConfigDB.
Multisite functionality is handled by the presence or absence of siteid/orgid in the primary unique index.
The default processing in SysDataElementMAXVARTYPE presumes that the columns in the primary unique
index have not changed from the old to the new database. If the index has changed, this class
will have to be extended, with the new instance residing in the subdirectory with the old
database name. For example, if the key to the table changed after 5.2, you will need a
class psdi.configure.V520.SysDataElementMAXVARTYPE
. The extension can then
perform the processing needed to support the key structure conversion between specific releases.
SysDataElement
,
psdi.upgrade.BuildUpgMetadata
,
psdi.upgrade.Upgrade
,
Serialized FormcodeElements, con, doNotUpdateCols, keyCols, newCol, newData, newDataOldKeys, oldCol, oldData, orgidKey, orgs, siteidKey, sites, sNo, status, sYes, tbname, util
DB2, doNotUpdateACTION, doNotUpdateALNDOMAIN, doNotUpdateAPPLICATIONAUTH, doNotUpdateAUTOKEY, doNotUpdateCONDITION, doNotUpdateCONTRACTPROPERTY, doNotUpdateCONTRACTTYPE, doNotUpdateCROSSOVERDOMAIN, doNotUpdateDOCTYPES, doNotUpdateLANGUAGE, doNotUpdateMAXAPPS, doNotUpdateMAXCONDDETAIL, doNotUpdateMAXCONTROLVALUE, doNotUpdateMAXDOMAIN, doNotUpdateMAXLOGAPPENDER, doNotUpdateMAXLOGGER, doNotUpdateMAXMENU, doNotUpdateMAXMESSAGES, doNotUpdateMAXMODULES, doNotUpdateMAXPROP, doNotUpdateMAXPROPVALUE, doNotUpdateMAXROLE, doNotUpdateMAXSEQUENCE, doNotUpdateMAXSERSECURITY, doNotUpdateMAXSERVICE, doNotUpdateMAXTABLEDOMAIN, doNotUpdateMAXVARS, doNotUpdateMAXVARTYPE, doNotUpdateMXCOLLAB, doNotUpdateMXCOLLABREF, doNotUpdateNUMERICDOMAIN, doNotUpdateNUMRANGEDOMAIN, doNotUpdatePORTLET, doNotUpdatePRICALC, doNotUpdateSECURITYRESTRICT, doNotUpdateSIGOPTION, doNotUpdateSYNONYMDOMAIN, doNotUpdateTAXTYPE, doNotUpdateWORKPRIORITY, doNotUpdateWORKTYPE, doNotUpdateWPEDITSETTING, messageCache, NEWONLY, OLDANDNEW, OLDONLY, ORACLE, SQLINET, SQLMICROSOFT, SQLSERVER, SYSDATATABLES, SYSTEMTABLES, UNKNOWN
Constructor and Description |
---|
SysDataElementMAXVARTYPE() |
SysDataElementMAXVARTYPE(java.lang.String name) |
SysDataElementMAXVARTYPE(java.lang.String name,
org.jdom.Namespace namespace) |
SysDataElementMAXVARTYPE(java.lang.String name,
java.lang.String uri) |
SysDataElementMAXVARTYPE(java.lang.String name,
java.lang.String prefix,
java.lang.String uri) |
SysDataElementMAXVARTYPE(java.lang.String tbname,
java.util.TreeMap newCol,
java.util.TreeMap oldCol,
java.util.TreeMap newData,
java.util.TreeMap oldData,
java.util.TreeMap newDataOldKeys,
java.util.TreeMap keyCols,
java.io.File codefile)
This constructor is used when creating a new Element for the purpose
of writing out XML.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList |
deleteRowExtension(org.jdom.Element row,
java.util.ArrayList list)
This class is called from
deleteRow when reading XML. |
java.util.ArrayList |
insertRowExtension(org.jdom.Element row,
java.lang.String siteid,
java.lang.String orgid,
java.util.ArrayList list)
This class is called from
insertRow when reading XML. |
java.util.ArrayList |
updateRowExtension(org.jdom.Element row,
java.util.HashMap currentData,
java.lang.String siteid,
java.lang.String orgid,
java.util.ArrayList list)
This class is called from
updateRow when reading XML. |
addCodes, addCodesExtension, addOneRow, buildFromHashMaps, canUpdateColumn, compareRows, compareRows, deleteRow, domainInUse, executeQuery, getAttribute, getChunkUpdates, getDeleteSql, getKeys, getMaxReserved, getNextVal, getSequenceName, getSql, getStatus, getTableName, getUpgCodesElement, getWhereClause, haveDup, initSequence, insertRow, isUniqueColumnID, loadDoNotUpdateCols, removeOneRow, scanKeyCols, setKeyAttributes, setStatus, setTableName, setUpgCodes, updateRow
addContent, addContent, addContent, addContent, addContent, addNamespaceDeclaration, clone, cloneContent, getAdditionalNamespaces, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValue, getChild, getChild, getChildren, getChildren, getChildren, getChildText, getChildText, getChildTextNormalize, getChildTextNormalize, getChildTextTrim, getChildTextTrim, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getName, getNamespace, getNamespace, getNamespacePrefix, getNamespaceURI, getQualifiedName, getText, getTextNormalize, getTextTrim, getValue, indexOf, isAncestor, isRootElement, removeAttribute, removeAttribute, removeAttribute, removeChild, removeChild, removeChildren, removeChildren, removeContent, removeContent, removeContent, removeContent, removeNamespaceDeclaration, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setContent, setContent, setContent, setContent, setName, setNamespace, setText, toString
public SysDataElementMAXVARTYPE()
public SysDataElementMAXVARTYPE(java.lang.String name)
public SysDataElementMAXVARTYPE(java.lang.String name, org.jdom.Namespace namespace)
public SysDataElementMAXVARTYPE(java.lang.String name, java.lang.String uri)
public SysDataElementMAXVARTYPE(java.lang.String name, java.lang.String prefix, java.lang.String uri)
public SysDataElementMAXVARTYPE(java.lang.String tbname, java.util.TreeMap newCol, java.util.TreeMap oldCol, java.util.TreeMap newData, java.util.TreeMap oldData, java.util.TreeMap newDataOldKeys, java.util.TreeMap keyCols, java.io.File codefile) throws java.lang.Exception
buildFromHashMaps
.tbname
- The name of the table.
See tbname
.newCol
- The column metadata on this table, from the new database.
See newCol
.oldCol
- The column metadata on this table, from the old database.
See oldCol
.newData
- The data from the new database.
See newData
.oldData
- The data from the old database.
See oldData
.keyCols
- Key columns for this table.
See keyCols
.codeFile
- The file UpgCodes.xml that may contain special codes for rows in the table.
For SysDataElementSYNONYMDOMAIN this is null.java.lang.Exception
SysDataElement.scanKeyCols()
,
SysDataElement.buildFromHashMaps()
public java.util.ArrayList insertRowExtension(org.jdom.Element row, java.lang.String siteid, java.lang.String orgid, java.util.ArrayList list) throws java.lang.Exception
insertRow
when reading XML.insertRowExtension
in class SysDataElement
row
- The XML element representing the insert.siteid
- Site ID.orgid
- Org ID.list
- The array of Sql statements which may already contain entries from
insertRow
, and which may be modified here.java.lang.Exception
public java.util.ArrayList deleteRowExtension(org.jdom.Element row, java.util.ArrayList list)
deleteRow
when reading XML.deleteRowExtension
in class SysDataElement
row
- The XML element representing the deletion.list
- The array of Sql statements which may already contain entries from
deleteRow
.java.lang.Exception
public java.util.ArrayList updateRowExtension(org.jdom.Element row, java.util.HashMap currentData, java.lang.String siteid, java.lang.String orgid, java.util.ArrayList list) throws java.lang.Exception
updateRow
when reading XML.updateRowExtension
in class SysDataElement
row
- The XML element representing the update.currentData
- Current data for the row.siteid
- Site ID.orgid
- Org ID.list
- The array of Sql statements which may already contain entries from
updateRow
, and which may be modified here.java.lang.Exception