Class OpenFileCommand
- java.lang.Object
-
- org.alfresco.filesys.repo.rules.commands.OpenFileCommand
-
-
Constructor Summary
Constructors Constructor Description OpenFileCommand(java.lang.String name, OpenFileMode mode, boolean truncate, org.alfresco.service.cmr.repository.NodeRef rootNode, java.lang.String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenFileModegetMode()java.lang.StringgetName()java.lang.StringgetPath()org.alfresco.service.cmr.repository.NodeRefgetRootNodeRef()AlfrescoTransactionSupport.TxnReadStategetTransactionRequired()Is a transaction required to run this command?booleanisTruncate()
-
-
-
Constructor Detail
-
OpenFileCommand
public OpenFileCommand(java.lang.String name, OpenFileMode mode, boolean truncate, org.alfresco.service.cmr.repository.NodeRef rootNode, java.lang.String path)- Parameters:
name-mode-truncate-rootNode-path-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getPath
public java.lang.String getPath()
-
getRootNodeRef
public org.alfresco.service.cmr.repository.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
-
-