mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user