Difference between revisions of "DocumentReplication"
(→DocumentReplicationEnabled) |
|||
Line 35: | Line 35: | ||
<source lang="csharp"> | <source lang="csharp"> | ||
protected virtual bool DocumentReplicationEnabled(Document.DocumentClass source) | protected virtual bool DocumentReplicationEnabled(Document.DocumentClass source) | ||
− | { | + | {...} |
</source> | </source> | ||
Revision as of 10:09, 4 November 2015
A document replication configuration specializes the definition of an instance replication.
A document replication configuration may onlny be used for file documents. It will replicate the referenced file document (referenced by the source) as well.
If you need to replicate the document object but not its referenced file, use a normal instance replication instead. |
Contents
Configuration Types
A template provides possibility to configure what information to be replicated:
- Properties to be copied
- Referencing objects to be copied
- Relations to be copied
Properties
Property | Type | Purpose |
---|---|---|
Enabled | Boolean | Gives the possibility to enable/disable an instance replication configuration. If not enabled, the process cannot be executed. |
TargetMetaClass | MetaClass | The reference to the MetaClass of the instances the configuration is valid for. |
Configurable Members
DocumentReplicationEnabled
Determines whether the replication of the referenced source file document is allowed. This member can be overwritten if a specific implementation is needed.
{...}
InstanceReplicationEnabled
Determines whether the replication of the given source object is allowed. This member can be overwritten if a specific implementation is needed.
{
PropertyReplicationEnabled
Determines as copying a propertyvalue to the target is enabled. This member can be overwritten if a specific implementation is needed.
{
ReferenceReplicationEnabled
Determines as replicating the given reference to the target is enabled. This member can be overwritten if a specific implementation is needed.
{