Class OpenFileCommand
- java.lang.Object
-
- org.alfresco.filesys.repo.rules.commands.OpenFileCommand
-
-
Constructor Summary
Constructors Constructor Description OpenFileCommand(String name, OpenFileMode mode, boolean truncate, NodeRef rootNode, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenFileModegetMode()StringgetName()StringgetPath()NodeRefgetRootNodeRef()AlfrescoTransactionSupport.TxnReadStategetTransactionRequired()Is a transaction required to run this command?booleanisTruncate()
-
-
-
Constructor Detail
-
OpenFileCommand
public OpenFileCommand(String name, OpenFileMode mode, boolean truncate, NodeRef rootNode, String path)
- Parameters:
name-mode-truncate-rootNode-path-
-
-
Method Detail
-
getName
public String getName()
-
getPath
public String getPath()
-
getRootNodeRef
public NodeRef getRootNodeRef()
-
getMode
public OpenFileMode getMode()
-
isTruncate
public boolean isTruncate()
-
getTransactionRequired
public AlfrescoTransactionSupport.TxnReadState getTransactionRequired()
Description copied from interface:CommandIs a transaction required to run this command?- Specified by:
getTransactionRequiredin interfaceCommand
-
-