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

java.lang.Object
  extended by org.alfresco.filesys.repo.rules.commands.CreateFileCommand
All Implemented Interfaces:
Command

public class CreateFileCommand
extends java.lang.Object
implements Command

CreateFile command


Constructor Summary
CreateFileCommand(java.lang.String name, org.alfresco.service.cmr.repository.NodeRef rootNode, java.lang.String path, long allocationSize)
           
 
Method Summary
 long getAllocationSize()
           
 java.lang.String getName()
           
 java.lang.String getPath()
           
 org.alfresco.service.cmr.repository.NodeRef getRootNode()
           
 AlfrescoTransactionSupport.TxnReadState getTransactionRequired()
          Is a transaction required to run this command?
 void setAllocationSize(long allocationSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateFileCommand

public CreateFileCommand(java.lang.String name,
                         org.alfresco.service.cmr.repository.NodeRef rootNode,
                         java.lang.String path,
                         long allocationSize)
Method Detail

getName

public java.lang.String getName()

getRootNode

public org.alfresco.service.cmr.repository.NodeRef getRootNode()

getPath

public java.lang.String getPath()

getTransactionRequired

public AlfrescoTransactionSupport.TxnReadState getTransactionRequired()
Description copied from interface: Command
Is a transaction required to run this command?

Specified by:
getTransactionRequired in interface Command

setAllocationSize

public void setAllocationSize(long allocationSize)

getAllocationSize

public long getAllocationSize()


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