public class TransferDefinition extends Object implements 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 |
|---|---|
Set<QName> |
getExcludedAspects()
Gets the aspects to exclude from transfer
|
Set<NodeRef> |
getNodes()
Get which nodes to transfer
|
Set<NodeRef> |
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(Collection<QName> excludedAspects)
Sets which aspects to exclude from transfer
|
void |
setExcludedAspects(QName... excludedAspects)
Sets which aspects to exclude from transfer
|
void |
setNodes(Collection<NodeRef> nodes)
Set which nodes to transfer
|
void |
setNodes(NodeRef... nodes) |
void |
setNodesToRemove(Collection<NodeRef> nodes)
Set nodes that are to be explicitly removed from the the target repository
|
void |
setNodesToRemove(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(Collection<NodeRef> nodes)
public void setNodes(NodeRef... nodes)
public void setNodesToRemove(Collection<NodeRef> nodes)
public void setNodesToRemove(NodeRef... nodes)
nodes - NodeRef...public Set<NodeRef> getNodesToRemove()
public void setExcludedAspects(Collection<QName> excludedAspects)
excludedAspects - collection of aspects to excludepublic void setExcludedAspects(QName... excludedAspects)
excludedAspects - aspects to exclude from transferpublic Set<QName> getExcludedAspects()
public void setSync(boolean isSync)
public boolean isSync()
public void setReadOnly(boolean isReadOnly)
public boolean isReadOnly()
Copyright © 2005–2020 Alfresco Software. All rights reserved.