org.alfresco.filesys.repo.rules.commands
Class OpenFileCommand
java.lang.Object
org.alfresco.filesys.repo.rules.commands.OpenFileCommand
- All Implemented Interfaces:
- Command
public class OpenFileCommand
- extends java.lang.Object
- implements Command
Open File command
Constructor Summary |
OpenFileCommand(java.lang.String name,
OpenFileMode mode,
boolean truncate,
org.alfresco.service.cmr.repository.NodeRef rootNode,
java.lang.String path)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenFileCommand
public OpenFileCommand(java.lang.String name,
OpenFileMode mode,
boolean truncate,
org.alfresco.service.cmr.repository.NodeRef rootNode,
java.lang.String path)
- Parameters:
name
- writeAccess
- rootNode
- truncate
- path
-
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:
Command
- Is a transaction required to run this command?
- Specified by:
getTransactionRequired
in interface Command
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.