Class RestoreFileCommand
- java.lang.Object
-
- org.alfresco.filesys.repo.rules.commands.RestoreFileCommand
-
-
Constructor Summary
Constructors Constructor Description RestoreFileCommand(String name, NodeRef rootNode, String path, long allocationSize, NodeRef originalNodeRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetAllocationSize()StringgetName()NodeRefgetOriginalNodeRef()StringgetPath()NodeRefgetRootNode()AlfrescoTransactionSupport.TxnReadStategetTransactionRequired()Is a transaction required to run this command?voidsetAllocationSize(long allocationSize)
-
-
-
Method Detail
-
getName
public String getName()
-
getRootNode
public NodeRef getRootNode()
-
getPath
public String getPath()
-
getOriginalNodeRef
public NodeRef getOriginalNodeRef()
-
getTransactionRequired
public AlfrescoTransactionSupport.TxnReadState getTransactionRequired()
Description copied from interface:CommandIs a transaction required to run this command?- Specified by:
getTransactionRequiredin interfaceCommand
-
setAllocationSize
public void setAllocationSize(long allocationSize)
-
getAllocationSize
public long getAllocationSize()
-
-