Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

ICS.Mirror

Copies the rows specified in one or more resultsets to a target Content Server repository.

This method is commonly used to copy data from a staging system to a production system.There are two variants of the Mirror method:

To use this tag, you need to have Admin rights. See the CS Administrator's Guide for complete details.


ICS.Mirror

Copies the rows specified in one or more resultsets to a target Content Server repository.

Syntax

Parameters

vILists
Vector of IList objects to mirror. The resultsets should contain all columns in the designated tables. Columns that exists in the target repository table that are not specified in the resultset are cleared. Columns that exist in the resultset, but not in the target repository table are dropped and no error occurs. You must mirror tree nodes using the vTreeLists parameter; mirroring tree nodes using the vILists parameter will fail.

sTarget
Target server name.

sUsername
User name to use on the remote server. May be null.

sPassword
Password to use on remote server. May be null.

sCGIPrefix
CGI prefix string. May be null to indicate that the remote server is the same type as the source.

sTargetIniFile
Semicolon-separated list of string property files to push to target server. May be null to use the default property file.

nPort
Port to use for communication. Zero (0) is interpreted as the default HTTP port (80).

bUseProxy
true to use proxy server for connection. false otherwise.

bUseHTTPS
true to use secure communication. false otherwise.

nHTTPVersion
Version of HTTP protocol to be used to connect to remote server. Valid values are HTTPVERSION10 and HTTPVERSION11.

sbOutput
Output for return values; may contain error information. May be null.

Description

The Mirror method copies the rows specified in one or more resultsets to a target Content Server repository. This method is commonly used to copy data from a staging system to a production system.

errno

Use GetErrno () to view the error.

Possible values of errno:

Value
Description
-618
Mirror bad response.
-619
Temporary table cannot be generated.

 


ICS.Mirror

Copies the rows specified in one or more resultsets to a target Content Server repository.

Syntax

Parameters

vILists
Vector of IList objects to mirror.

The resultsets should contain all columns in the designated catalogs. Columns that exists in the target repository table that are not specified in the resultset are cleared. Columns that exist in the resultset, but not in the target repository table are dropped and no error occurs. You must mirror tree nodes using the vTreeLists parameter; mirroring tree nodes using the vILists parameter will fail.

vTreeNodes
Vector of FTTreeNode objects that describe root nodes of trees to be mirrored. You must mirror tree nodes using this parameter; mirroring tree nodes using the vILists parameter will fail. The mirror method will only mirror the hierarchy; it will not mirror the objects that the nodes point at in the object table.

sTarget
Target server name.

sUsername
User name to use on the remote server. May be null.

sPassword
Password to use on remote server. May be null.

sCGIPrefix
CGI prefix string. May be null to indicate that the remote server is the same type as the source.

sTargetIniFile
Semicolon-separated list of string property files to push to target server. May be null to use the default property file.

nPort
Port to use for communication. Zero (0) is interpreted as the default HTTP port (80).

bUseProxy
true to use proxy server for connection. false otherwise.

bUseHTTPS
true to use secure communication; false otherwise.

nHTTPVersion
Version of HTTP protocol to be used to connect to remote server. Valid values are HTTPVERSION10 and HTTPVERSION11.

sbOutput
Output for return values; may contain error information. May be null.

Description

The Mirror method copies the rows specified in one or more resultsets to a target Content Server repository. This method is commonly used to copy data from a staging system to a production system.

errno

Use GetErrno () to view the error. Possible values of errno:

Value
Description
-618
Mirror bad response.
-619
Temporary table cannot be generated.

 

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.