org.alfresco.repo.replication
Class ReplicationParamsImpl

java.lang.Object
  extended by org.alfresco.repo.replication.ReplicationParamsImpl
All Implemented Interfaces:
ReplicationParams

public class ReplicationParamsImpl
extends java.lang.Object
implements ReplicationParams

Configurable system parameters.


Constructor Summary
ReplicationParamsImpl()
           
 
Method Summary
 boolean getTransferReadOnly()
          Lock replicated items in target repository
 boolean isEnabled()
          Is the Replication Service Enabled
 void setEnabled(boolean isEnabled)
          set whether the replication service is enabled
 void setTransferReadOnly(boolean readOnly)
          Sets whether to lock replicated items
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicationParamsImpl

public ReplicationParamsImpl()
Method Detail

setTransferReadOnly

public void setTransferReadOnly(boolean readOnly)
Sets whether to lock replicated items

Parameters:
readOnly - true lock replicated items in target repository

getTransferReadOnly

public boolean getTransferReadOnly()
Description copied from interface: ReplicationParams
Lock replicated items in target repository

Specified by:
getTransferReadOnly in interface ReplicationParams
Returns:
true lock replication items

isEnabled

public boolean isEnabled()
Description copied from interface: ReplicationParams
Is the Replication Service Enabled

Specified by:
isEnabled in interface ReplicationParams
Returns:
true the replication service is enabled

setEnabled

public void setEnabled(boolean isEnabled)
Description copied from interface: ReplicationParams
set whether the replication service is enabled

Specified by:
setEnabled in interface ReplicationParams


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.