Class CreateFileCommand

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

public class CreateFileCommand extends Object implements Command
CreateFile command
  • Constructor Details

    • CreateFileCommand

      public CreateFileCommand(String name, NodeRef rootNode, String path, long allocationSize, boolean isHidden)
  • Method Details

    • getName

      public String getName()
    • getRootNode

      public NodeRef getRootNode()
    • getPath

      public 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()
    • isHidden

      public boolean isHidden()