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<org.alfresco.service.namespace.QName> |
getExcludedAspects()
Gets the aspects to exclude from transfer
|
Set<org.alfresco.service.cmr.repository.NodeRef> |
getNodes()
Get which nodes to transfer
|
Set<org.alfresco.service.cmr.repository.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<org.alfresco.service.namespace.QName> 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(Collection<org.alfresco.service.cmr.repository.NodeRef> nodes)
Set which nodes to transfer
|
void |
setNodes(org.alfresco.service.cmr.repository.NodeRef... nodes) |
void |
setNodesToRemove(Collection<org.alfresco.service.cmr.repository.NodeRef> 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(Collection<org.alfresco.service.cmr.repository.NodeRef> nodes)
public void setNodes(org.alfresco.service.cmr.repository.NodeRef... nodes)
public void setNodesToRemove(Collection<org.alfresco.service.cmr.repository.NodeRef> nodes)
public void setNodesToRemove(org.alfresco.service.cmr.repository.NodeRef... nodes)
nodes
- NodeRef...public Set<org.alfresco.service.cmr.repository.NodeRef> getNodes()
public Set<org.alfresco.service.cmr.repository.NodeRef> getNodesToRemove()
public void setExcludedAspects(Collection<org.alfresco.service.namespace.QName> excludedAspects)
excludedAspects
- collection of aspects to excludepublic void setExcludedAspects(org.alfresco.service.namespace.QName... excludedAspects)
excludedAspects
- aspects to exclude from transferpublic Set<org.alfresco.service.namespace.QName> getExcludedAspects()
public void setSync(boolean isSync)
public boolean isSync()
public void setReadOnly(boolean isReadOnly)
public boolean isReadOnly()
Copyright © 2005–2017 Alfresco Software. All rights reserved.