Package org.alfresco.repo.replication
Class ReplicationParamsImpl
- java.lang.Object
-
- org.alfresco.repo.replication.ReplicationParamsImpl
-
- All Implemented Interfaces:
ReplicationParams
public class ReplicationParamsImpl extends java.lang.Object implements ReplicationParams
Configurable system parameters.
-
-
Constructor Summary
Constructors Constructor Description ReplicationParamsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetTransferReadOnly()Lock replicated items in target repositorybooleanisEnabled()Is the Replication Service EnabledvoidsetEnabled(boolean isEnabled)set whether the replication service is enabledvoidsetTransferReadOnly(boolean readOnly)Sets whether to lock replicated items
-
-
-
Method Detail
-
setTransferReadOnly
public void setTransferReadOnly(boolean readOnly)
Sets whether to lock replicated items- Parameters:
readOnly-truelock replicated items in target repository
-
getTransferReadOnly
public boolean getTransferReadOnly()
Description copied from interface:ReplicationParamsLock replicated items in target repository- Specified by:
getTransferReadOnlyin interfaceReplicationParams- Returns:
truelock replication items
-
isEnabled
public boolean isEnabled()
Description copied from interface:ReplicationParamsIs the Replication Service Enabled- Specified by:
isEnabledin interfaceReplicationParams- Returns:
truethe replication service is enabled
-
setEnabled
public void setEnabled(boolean isEnabled)
Description copied from interface:ReplicationParamsset whether the replication service is enabled- Specified by:
setEnabledin interfaceReplicationParams
-
-