nl.gx.webmanager.cms.core
Interface InternalDownload

All Superinterfaces:
Download

public interface InternalDownload
extends Download

Extends the Dowload interface to add a setter for the url attribute.


Method Summary
 void setDownload(java.io.File download)
          Set the download.
 void setDownload(FileResource fileResource)
          Set the download
 void setFileName(java.lang.String fileName)
          Set the filename.
 void setLinkObject(Wrapper linkObject)
          Set the linkobject.
 void setMediaItemVersion(MediaItemVersion item)
          Set the mediaitemversion.
 void setRequest(javax.servlet.http.HttpServletRequest request)
          Set the request object.
 void setResponse(javax.servlet.http.HttpServletResponse response)
          Set the response object.
 void setStreaming(boolean isStreaming)
          Set whether download is a streaming file or not.
 void setUrl(java.lang.String url)
          Set the url.
 
Methods inherited from interface nl.gx.webmanager.cms.core.Download
getAbsoluteUrl, getFileName, getFileSize, getUrl
 

Method Detail

setDownload

void setDownload(java.io.File download)
Set the download.

Parameters:
download -

setDownload

void setDownload(FileResource fileResource)
Set the download

Parameters:
download -

setLinkObject

void setLinkObject(Wrapper linkObject)
Set the linkobject.

Parameters:
linkObject -

setFileName

void setFileName(java.lang.String fileName)
Set the filename.

Parameters:
fileName - the filename.

setUrl

void setUrl(java.lang.String url)
Set the url.

Parameters:
url - the url.

setStreaming

void setStreaming(boolean isStreaming)
Set whether download is a streaming file or not.

Parameters:
isStreaming - indication for streaming or file.

setMediaItemVersion

void setMediaItemVersion(MediaItemVersion item)
Set the mediaitemversion.

Parameters:
item - mediaitemversion

setRequest

void setRequest(javax.servlet.http.HttpServletRequest request)
Set the request object.

Parameters:
request -

setResponse

void setResponse(javax.servlet.http.HttpServletResponse response)
Set the response object. FIXME: there's no getResponse, the response in DownloadImpl is never used -> remove?

Parameters:
response -


Copyright © 2007-2010 GX creative online development BV. All Rights Reserved.