org.alfresco.filesys.repo.rules.commands
Class CopyContentCommand
java.lang.Object
org.alfresco.filesys.repo.rules.commands.CopyContentCommand
- All Implemented Interfaces:
- Command
public class CopyContentCommand
- extends java.lang.Object
- implements Command
CopyContent command
Copy just the content from one node to another
Constructor Summary |
CopyContentCommand(java.lang.String from,
java.lang.String to,
org.alfresco.service.cmr.repository.NodeRef rootNode,
java.lang.String fromPath,
java.lang.String toPath)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CopyContentCommand
public CopyContentCommand(java.lang.String from,
java.lang.String to,
org.alfresco.service.cmr.repository.NodeRef rootNode,
java.lang.String fromPath,
java.lang.String toPath)
getTo
public java.lang.String getTo()
getFrom
public java.lang.String getFrom()
getRootNode
public org.alfresco.service.cmr.repository.NodeRef getRootNode()
getFromPath
public java.lang.String getFromPath()
getToPath
public java.lang.String getToPath()
getTransactionRequired
public AlfrescoTransactionSupport.TxnReadState getTransactionRequired()
- Description copied from interface:
Command
- Is a transaction required to run this command?
- Specified by:
getTransactionRequired
in interface Command
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.