nl.gx.webmanager.cms.mediarepository
Interface MediaItemDownloadVersion

All Superinterfaces:
FormBackingObject, MediaItemVersion, WorkflowEnabled, Wrapper
All Known Subinterfaces:
MediaItemDocumentVersion

public interface MediaItemDownloadVersion
extends MediaItemVersion

Representation of download media item.


Method Summary
 boolean attachFile(org.springframework.web.multipart.MultipartFile multipartFile)
          Attaches a file to this download media item version
 boolean detachFile()
          Detaches a file from this download media item version
 java.lang.String getAuthor()
          Return author.
 java.lang.String getDate()
          Deprecated. use getFileModifiedDate instead.
 Download getDownload()
          Return Download object.
 java.util.Date getFileModifiedDate()
          Return date the download was made available.
 Personalization getPersonalization()
          Return personalization for the download.
 java.lang.String getVersion()
          Return version of this download.
 
Methods inherited from interface nl.gx.webmanager.cms.mediarepository.MediaItemVersion
addTerm, createRichTextElements, getAttachedLeadImage, getComponent, getContentType, getCreationDate, getDiscussionConfiguration, getElementHolder, getElements, getExpirationDate, getExternalId, getForum, getForumSettings, getFriendlyURLTitle, getHtmlTitle, getLastElement, getLastModifiedDate, getLastModifiedUser, getLead, getLeadImage, getLeadImageMediaItem, getMediaItem, getPrivateNode, getPublicationDate, getResourceInstances, getTargetPage, getTerms, getTitle, getTotalVotes, getVotingAverage, getVotingModel, getWebsite, insertLastElementAtCursor, isArticle, isAuthorized, isBundle, isCurrent, isPublic, removeTerm, setArticle, setAuthorized, setComponent, setContentType, setDiscussionConfiguration, setElementHolder, setElements, setExpirationDate, setExternalId, setForum, setForumSettings, setFriendlyURLTitle, setHtmlTitle, setLead, setLeadImage, setLeadImage, setPrivateNode, setPublic, setPublicationDate, setResourceInstances, setTargetPage, setTerms, setTitle, setWebsite
 
Methods inherited from interface nl.gx.webmanager.wrapper.Wrapper
getId, getUUID, setId, setUUID
 
Methods inherited from interface nl.gx.webmanager.springmvc.FormBackingObject
getNestedPath, getUUID
 
Methods inherited from interface nl.gx.webmanager.cms.workflow.WorkflowEnabled
getWorkflowModel, getWorkflowModelInstance
 

Method Detail

getAuthor

java.lang.String getAuthor()
Return author.

Returns:
author.

getDate

java.lang.String getDate()
Deprecated. use getFileModifiedDate instead.

Return date the download was made available.

Returns:
date the download was made available.

getFileModifiedDate

java.util.Date getFileModifiedDate()
Return date the download was made available.

Returns:
date the download was made available.

getVersion

java.lang.String getVersion()
Return version of this download.

Returns:
version of this download.

getDownload

Download getDownload()
Return Download object.

Returns:
Download object.

getPersonalization

Personalization getPersonalization()
Return personalization for the download.

Returns:
personalization for the download

attachFile

boolean attachFile(org.springframework.web.multipart.MultipartFile multipartFile)
Attaches a file to this download media item version

Parameters:
multipartFile - The file to attach
Returns:
true if attaching the file succeeded, false otherwise

detachFile

boolean detachFile()
Detaches a file from this download media item version

Returns:
true if attaching the file succeeded, false otherwise


Copyright © 2007-2011 GX Software BV. All Rights Reserved.