org.alfresco.filesys.repo.rules.commands
Class CopyContentCommand

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.lang.String getFrom()
           
 java.lang.String getFromPath()
           
 org.alfresco.service.cmr.repository.NodeRef getRootNode()
           
 java.lang.String getTo()
           
 java.lang.String getToPath()
           
 AlfrescoTransactionSupport.TxnReadState getTransactionRequired()
          Is a transaction required to run this command?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.