/*
* #%L
* Alfresco Repository
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Alfresco is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see
replicationName
attribute
* which uniquely identifies it. It also has a single target.
*
* @author Nick Burch
*/
public interface ReplicationDefinition extends CancellableAction, SchedulableAction, Serializable {
/**
* @return the name which uniquely identifies this replication definition.
*/
String getReplicationName();
/**
* @return the qualified name which uniquely identifies this replication definition.
*/
QName getReplicationQName();
/**
* @return the name of the target repository.
*/
String getTargetName();
/**
* Sets the name of the target repository.
*/
void setTargetName(String targetName);
/**
* Is this Replication Definition currently
* enabled (can be run), or disabled
* (can't be run)?
* @return Whether the definition is enabled or not
*/
boolean isEnabled();
/**
* Enable or Disable the Replication
* Definition.
*/
void setEnabled(boolean enabled);
/**
* The list of Nodes to be transfered. This
* list can be edited as required.
* @return An editable list of the nodes to be transfered
*/
List