public class TransferDefinition
extends java.lang.Object
implements java.io.Serializable
isSync specifies whether the list of nodes is to be sync'ed. If sync then the transfer machinery can determine by the absence of a node or association in the transfer that the missing nodes should be deleted on the destination. Else with a non sync transfer then the archive node ref is required to remote a node on the destination.
| Constructor and Description |
|---|
TransferDefinition() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set |
getExcludedAspects()
Gets the aspects to exclude from transfer
|
java.util.Set |
getNodes()
Get which nodes to transfer
|
java.util.Set |
getNodesToRemove()
Get the list of nodes that are to be explicitly removed from the target repository
|
boolean |
isReadOnly()
isReadOnly specifies whether the transferred nodes should be editable on the destination system.
|
boolean |
isSync()
isSync specifies whether the list of nodes is to be sync'ed.
|
void |
setExcludedAspects(java.util.Collection excludedAspects)
Sets which aspects to exclude from transfer
|
void |
setExcludedAspects(org.alfresco.service.namespace.QName[] excludedAspects)
Sets which aspects to exclude from transfer
|
void |
setNodes(java.util.Collection nodes)
Set which nodes to transfer
|
void |
setNodes(org.alfresco.service.cmr.repository.NodeRef[] nodes) |
void |
setNodesToRemove(java.util.Collection nodes)
Set nodes that are to be explicitly removed from the the target repository
|
void |
setNodesToRemove(org.alfresco.service.cmr.repository.NodeRef[] nodes)
Set nodes that are to be explicitly removed from the the target repository
|
void |
setReadOnly(boolean isReadOnly)
isReadOnly specifies whether the transferred nodes should be editable on the destination system.
|
void |
setSync(boolean isSync)
isSync specifies whether the list of nodes is to be sync'ed.
|
public void setNodes(java.util.Collection nodes)
nodes - public void setNodes(org.alfresco.service.cmr.repository.NodeRef[] nodes)
public void setNodesToRemove(java.util.Collection nodes)
nodes - public void setNodesToRemove(org.alfresco.service.cmr.repository.NodeRef[] nodes)
nodes - public java.util.Set getNodes()
public java.util.Set getNodesToRemove()
public void setExcludedAspects(java.util.Collection excludedAspects)
excludedAspects - collection of aspects to excludepublic void setExcludedAspects(org.alfresco.service.namespace.QName[] excludedAspects)
excludedAspects - aspects to exclude from transferpublic java.util.Set getExcludedAspects()
public void setSync(boolean isSync)
public boolean isSync()
public void setReadOnly(boolean isReadOnly)
public boolean isReadOnly()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.