au.edu.archer.service.srb.dto.request
Class SRBUploadRequest

java.lang.Object
  extended by au.edu.archer.service.srb.dto.request.SRBRequest
      extended by au.edu.archer.service.srb.dto.request.SRBUploadRequest

public class SRBUploadRequest
extends SRBRequest

SRB upload file request data.


Field Summary
 
Fields inherited from class au.edu.archer.service.srb.dto.request.SRBRequest
SRB_SESSION_ID_VAR_NAME
 
Constructor Summary
SRBUploadRequest()
           
 
Method Summary
 java.lang.String getDirectoryName()
          Get upload directory.
 byte[] getFileContent()
          Get upload file.
 java.lang.String getFileName()
          Get upload file name.
 long getFileSize()
          Get the file size.
 boolean isCreateDir()
          Does the upload directory needs to be created.
 boolean isOverride()
          Get override flag.
 void setCreateDir(boolean createDir)
          Set createDir flag.
 void setDirectoryName(java.lang.String directory)
          Set upload directory.
 void setFileContent(byte[] file)
          Set upload file.
 void setFileName(java.lang.String fileName)
          Set upload file name.
 void setFileSize(long fileSize)
          Set the file zie.
 void setOverride(boolean override)
          Set override flag.
 
Methods inherited from class au.edu.archer.service.srb.dto.request.SRBRequest
getSrbContentPath, getSrbSessionId, isScratchAreaRequest, isStagingAreaRequest, setScratchAreaRequest, setSrbContentPath, setSrbSessionId, setStagingAreaRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SRBUploadRequest

public SRBUploadRequest()
Method Detail

getDirectoryName

public java.lang.String getDirectoryName()
Get upload directory.

Returns:
upload directory.

setDirectoryName

public void setDirectoryName(java.lang.String directory)
Set upload directory.

Parameters:
directory - upload directory to set.

getFileContent

public byte[] getFileContent()
Get upload file.

Returns:
byte[] upload file.

setFileContent

public void setFileContent(byte[] file)
Set upload file.

Parameters:
file - upload file.

getFileName

public java.lang.String getFileName()
Get upload file name.

Returns:
upload file name.

setFileName

public void setFileName(java.lang.String fileName)
Set upload file name.

Parameters:
fileName - upload filename to set.

isCreateDir

public boolean isCreateDir()
Does the upload directory needs to be created.

Returns:
boolean createDir.

setCreateDir

public void setCreateDir(boolean createDir)
Set createDir flag.

Parameters:
createDir - to Set.

getFileSize

public long getFileSize()
Get the file size.

Returns:
The file size.

setFileSize

public void setFileSize(long fileSize)
Set the file zie.

Parameters:
fileSize - The file size.

isOverride

public boolean isOverride()
Get override flag.

Returns:
boolean override.

setOverride

public void setOverride(boolean override)
Set override flag.

Parameters:
override - boolean override to be set.


Copyright © 2008-09 Monash University. All Rights Reserved.