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

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

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 -
writeAccess -
rootNode -
truncate -
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: Command
Is a transaction required to run this command?

Specified by:
getTransactionRequired in interface Command


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.