Additional Inherited Members | |
![]() | |
_.Library.Status | OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount) |
This callback method is invoked when the current object is added to the SaveSet,. More... | |
_.Library.Status | OnClose () |
This callback method is invoked by the <METHOD>Close</METHOD> method to. More... | |
_.Library.Status | OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned) |
This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More... | |
_.Library.Status | OnNew () |
This callback method is invoked by the <METHOD>New</METHOD> method to. More... | |
_.Library.Status | OnValidateObject () |
This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More... | |
![]() | |
CAPTION = None | |
Optional name used by the Form Wizard for a class when generating forms. More... | |
JAVATYPE = None | |
The Java type to be used when exported. | |
PROPERTYVALIDATION = None | |
This parameter controls the default validation behavior for the object. More... | |
This utility class groups a few methods to easily copy the contents of a domain into another one (which doens't necessarily have to be empty).
Please note any domain elements copied will be created using the version of the target domain, regardless of the source domain's version number.
|
static |
Copies any dictionaries and matching profiles (if pCopyProfiles is true)
from the domain identified by ID pFromDomainId into domain pToDomainId. If a dictionary, item or profile with the same name already exists, pIgnoreDuplicates=0 will cause an error to be thrown, whereas pIgnoreDuplicates=1 will mean the element in the target domain will be left as is, but extended with the items and terms of the element in the source domain.
|
static |
Copies a single dictionary (identified by pDictionaryId
from the domain identified by ID pFromDomainId into domain pToDomainId. If a dictionary or item with the same name already exists, pIgnoreDuplicates=0 will cause an error to be thrown, whereas pIgnoreDuplicates=1 will mean the element in the target domain will be left as is, but extended (in the case of a dictionary or item) with the items and terms of the element in the source domain.
An array of matching profile IDs can be passed in through pProfileMap to map any default matching profiles from the source domain to IDs of the corresponding profiles in the target domain.
|
static |
Copies all contents from the domain named pFromDomain into the domain
pToDomain. If pToDomain does not yet exist, it will be created automatically. The copy flags represent the following domain elements:
This method relies on the other class methods in this class and uses a value of 1 for pIgnoreDuplciates when calling these methods.
If required, a specific iKnow Configuration name (cf <class>iKnow.Configuration</class>) can be supplied through pUseConfiguration to use while re-indexing the data. If this parameter is left blank (default), the default configuration of the original domain (configured using the $$$IKPDEFAULTCONFIG domain parameter) or $$$DEFAULTCONFIG will be used.
Note: if pCopySettings is true, only domain parameters a user is allowed to modify will be copied!!
|
static |
Copies a single Matching Profile (identified by pProfileId) from the
domain identified by ID pFromDomainId into domain pToDomainId. If a profile with the same name already exists in the target domain, pIgnoreDuplicates=0 will cause an error to be thrown, whereas pIgnoreDuplicates=1 will mean the metadata field in the target domain will be left as is.
|
static |
Copies any metadata field definitions and List of Values from the domain identified by ID
pFromDomainId into domain pToDomainId. If a field with the same name already exists in the target domain, pIgnoreDuplicates=0 will cause an error to be thrown, whereas pIgnoreDuplicates=1 will mean the metadata field in the target domain will be left as is.
|
static |
Copies a Metric Definition from one domain to another.
No values are copied.
WARNING: only use pPreserveOffsets when copying metrics into a domain that didn't have any metric targets registered.
|
static |
Copies all metric definitions from one domain to another, optionally including their
values.
WARNING: only Entity-, CRC-, CC- and source-based metric data can be copied from one domain to another. Use the metrics' builder class to (re-)generate metric values for path- or sentence-based metrics.
|
static |
Copies any SkipList definitions and their contents from the domain identified by ID
pFromDomainId into domain pToDomainId. If a SkipList with the same name already exists in the target domain, pIgnoreDuplicates=0 will cause an error to be thrown, whereas pIgnoreDuplicates=1 will mean the SkipList in the target domain will be extended with the strings in the SkipList from the source domain.