ALF-10941 - CIFS Open file from excel

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32068 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2011-11-17 17:32:37 +00:00
parent 9a49808cf8
commit 2c4b046ba6
11 changed files with 116 additions and 186 deletions

View File

@@ -32,12 +32,14 @@ public class CreateFileCommand implements Command
private String name;
private NodeRef rootNode;
private String path;
private long allocationSize;
public CreateFileCommand(String name, NodeRef rootNode, String path)
public CreateFileCommand(String name, NodeRef rootNode, String path, long allocationSize)
{
this.name = name;
this.path = path;
this.rootNode = rootNode;
this.allocationSize = allocationSize;
}
public String getName()
@@ -61,5 +63,15 @@ public class CreateFileCommand implements Command
{
return TxnReadState.TXN_READ_WRITE;
}
public void setAllocationSize(long allocationSize)
{
this.allocationSize = allocationSize;
}
public long getAllocationSize()
{
return allocationSize;
}
}