|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.service.cmr.transfer.TransferDefinition
public class TransferDefinition
Definition of what to transfer. nodes Specifies which node to transfer
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 Summary | |
---|---|
TransferDefinition()
|
Method Summary | |
---|---|
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 exludedAspects)
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransferDefinition()
Method Detail |
---|
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 exludedAspects)
exludedAspects
- 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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |