Micro Focus Content Manager SDK 10.1
|
A helper class that encapsulates the settings to use when copying a record. More...
Public Member Functions | |
CopyRecordOptions (Database fromDB, bool forNewVersion) | |
Construct a default set of copy options for either the Record.CreateNewCopy() or Record.CreateNewVersion() methods. More... | |
CopyRecordOptions (Database fromDB, CopyType typeOfCopy) | |
Construct a default set of copy options for either the Record.CreateNewCopy(), Record.CreateNewPart() or Record.CreateNewVersion() methods. More... | |
void | setSuggestedNumbers (string compressedNumber, string uncompressedNumber) |
Sets a suggested number pattern to be used when creating the copy or new version More... | |
void | setNewVersionDocument (InputDocument usingDocument) |
Sets an alternative document to use when creating a new version of a record. If not specified the latest revision of the document attached to the source record will be used. More... | |
void | setNewVersionDocument (string documentFileName) |
Sets an alternative document to use when creating a new version of a record. If not specified the latest revision of the document attached to the source record will be used. More... | |
Public Member Functions inherited from TRIM.SDK.TrimSDKObject | |
TrimSDKObject () | |
Properties | |
bool | CopySecurity [get, set] |
Gets or sets a boolean value indicating whether the security profile should be copied to the new record. More... | |
bool | CopyNotes [get, set] |
Gets or sets a boolean value indicating whether the notes should be copied to the new record. More... | |
bool | CopyRelatedTo [get, set] |
Gets or sets a boolean value indicating whether the 'related to' relationships should be copied to the new record. More... | |
bool | CopyDisposition [get, set] |
Gets or sets a boolean value indicating whether the archival disposition should be copied to the new record. More... | |
bool | CopySchedule [get, set] |
Gets or sets a boolean value indicating whether the retention schedule should be copied to the new record. More... | |
bool | CopyActions [get, set] |
Gets or sets a boolean value indicating whether assigned record actions should be copied to the new record. More... | |
bool | CopyContacts [get, set] |
Gets or sets a boolean value indicating whether contacts should be copied to the new record. More... | |
bool | CopyCustomFieldValues [get, set] |
Gets or sets a boolean value indicating whether custom field definition field values profile should be copied to the new record. More... | |
bool | CopyDates [get, set] |
Gets or sets a boolean value indicating whether key record dates (registered, created) should be copied to the new record. More... | |
bool | CopyUserLabels [get, set] |
Gets or sets a boolean value indicating whether user labels should be copied to the new record. More... | |
bool | CopyKeywords [get, set] |
Gets or sets a boolean value indicating whether keywords should be copied to the new record. More... | |
bool | CopyClassification [get, set] |
Gets or sets a boolean value indicating whether the classification should be copied to the new record. More... | |
bool | CopyAccessControls [get, set] |
Gets or sets a boolean value indicating whether access controls should be copied to the new record. More... | |
bool | CopyExclusions [get, set] |
Gets or sets a boolean value indicating whether exclusions should be copied to the new record. More... | |
bool | CopyAlternateContainers [get, set] |
Gets or sets a boolean value indicating whether alternative container relationships should be copied to the new record. More... | |
CopyRelationship | RelateCopyToOriginal [get, set] |
Gets or sets a boolean value indicating whether the copied record should be related to the original using the 'copy of' relationship (does not apply to new versions). More... | |
bool | PurgeOldVersionRevisions [get, set] |
Gets or sets a boolean value indicating whether the original version should have all revisions automatically purged as part of creating the new version. More... | |
bool | CopyDocument [get, set] |
Gets or sets a boolean value indicating whether any electronic document should be copied to the new record More... | |
Record? | ContainerRecord [get, set] |
Gets or sets Record object that will be the container used for any new record created. If not specified, the new record will be placed in the same container as the original record. More... | |
Properties inherited from TRIM.SDK.TrimSDKObject | |
string | ErrorMessage [get] |
All TRIM SDK objects have an ErrorMessage property which can be used to examine any error that may have occurred in the most recent method call. More... | |
TrimException | Error [get] |
All TRIM SDK objects have an Error property which can be used to examine any error that may have occurred in the most recent method call. More... | |
A helper class that encapsulates the settings to use when copying a record.
TRIM.SDK.CopyRecordOptions.CopyRecordOptions | ( | Database | fromDB, |
bool | forNewVersion | ||
) |
Construct a default set of copy options for either the Record.CreateNewCopy() or Record.CreateNewVersion() methods.
Construct a default set of copy options for either the Record.CreateNewCopy(), Record.CreateNewPart() or Record.CreateNewVersion() methods.
void TRIM.SDK.CopyRecordOptions.setNewVersionDocument | ( | InputDocument | usingDocument | ) |
Sets an alternative document to use when creating a new version of a record. If not specified the latest revision of the document attached to the source record will be used.
void TRIM.SDK.CopyRecordOptions.setNewVersionDocument | ( | string | documentFileName | ) |
Sets an alternative document to use when creating a new version of a record. If not specified the latest revision of the document attached to the source record will be used.
void TRIM.SDK.CopyRecordOptions.setSuggestedNumbers | ( | string | compressedNumber, |
string | uncompressedNumber | ||
) |
Sets a suggested number pattern to be used when creating the copy or new version
|
getset |
Gets or sets Record object that will be the container used for any new record created. If not specified, the new record will be placed in the same container as the original record.
|
getset |
Gets or sets a boolean value indicating whether access controls should be copied to the new record.
|
getset |
Gets or sets a boolean value indicating whether assigned record actions should be copied to the new record.
|
getset |
Gets or sets a boolean value indicating whether alternative container relationships should be copied to the new record.
|
getset |
Gets or sets a boolean value indicating whether the classification should be copied to the new record.
|
getset |
Gets or sets a boolean value indicating whether contacts should be copied to the new record.
|
getset |
Gets or sets a boolean value indicating whether custom field definition field values profile should be copied to the new record.
|
getset |
Gets or sets a boolean value indicating whether key record dates (registered, created) should be copied to the new record.
|
getset |
Gets or sets a boolean value indicating whether the archival disposition should be copied to the new record.
|
getset |
Gets or sets a boolean value indicating whether any electronic document should be copied to the new record
|
getset |
Gets or sets a boolean value indicating whether exclusions should be copied to the new record.
|
getset |
Gets or sets a boolean value indicating whether keywords should be copied to the new record.
|
getset |
Gets or sets a boolean value indicating whether the notes should be copied to the new record.
|
getset |
Gets or sets a boolean value indicating whether the 'related to' relationships should be copied to the new record.
|
getset |
Gets or sets a boolean value indicating whether the retention schedule should be copied to the new record.
|
getset |
Gets or sets a boolean value indicating whether the security profile should be copied to the new record.
|
getset |
Gets or sets a boolean value indicating whether user labels should be copied to the new record.
|
getset |
Gets or sets a boolean value indicating whether the original version should have all revisions automatically purged as part of creating the new version.
|
getset |
Gets or sets a boolean value indicating whether the copied record should be related to the original using the 'copy of' relationship (does not apply to new versions).