net.sourceforge.openutils.mgnlmedia.media.pages
Class MediaBean

java.lang.Object
  extended by net.sourceforge.openutils.mgnlmedia.media.pages.MediaBean

public class MediaBean
extends Object

Store media info for rendering in MediaFolderViewPage

Version:
$Id: MediaFolderViewPage.java 1366 2009-09-05 08:56:03Z molaschi $
Author:
molaschi

Constructor Summary
MediaBean()
           
 
Method Summary
 info.magnolia.cms.core.Content getContent()
          Returns the content.
 String getDescription()
          Returns the description.
 String getFilename()
          Returns the filename.
 String getHandle()
          Returns the handle.
 Map<String,String> getMediaInfo()
          Returns the mediaInfo
 info.magnolia.cms.core.MetaData getMetaData()
          Returns the metaData.
 String getPreviewUrl()
          Returns the previewUrl.
 String getThumbnailUrl()
          Returns the thumbnailUrl.
 String getTitle()
          Returns the title.
 List<String> getUsedInWebPages()
          Returns the usedInWebPages.
 String getUuid()
          Returns the uuid.
 boolean isCanPublish()
          Returns the canPublish.
 boolean isExternal()
           
 boolean isWritable()
          Returns the writable.
 void setCanPublish(boolean canPublish)
          Sets the canPublish.
 void setContent(info.magnolia.cms.core.Content content)
          Sets the content.
 void setDescription(String description)
          Sets the description.
 void setExternal(boolean external)
           
 void setFilename(String filename)
          Sets the filename.
 void setHandle(String handle)
          Sets the handle.
 void setMediaInfo(Map<String,String> mediaInfo)
          Sets the mediaInfo.
 void setMetaData(info.magnolia.cms.core.MetaData metaData)
          Sets the metaData.
 void setPreviewUrl(String previewUrl)
          Sets the previewUrl.
 void setThumbnailUrl(String thumbnailUrl)
          Sets the thumbnailUrl.
 void setTitle(String title)
          Sets the title.
 void setUsedInWebPages(List<String> usedInWebPages)
          Sets the usedInWebPages.
 void setUuid(String uuid)
          Sets the uuid.
 void setWritable(boolean writable)
          Sets the writable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaBean

public MediaBean()
Method Detail

getMetaData

public info.magnolia.cms.core.MetaData getMetaData()
Returns the metaData.

Returns:
the metaData

setMetaData

public void setMetaData(info.magnolia.cms.core.MetaData metaData)
Sets the metaData.

Parameters:
metaData - the metaData to set

getHandle

public String getHandle()
Returns the handle.

Returns:
the handle

setHandle

public void setHandle(String handle)
Sets the handle.

Parameters:
handle - the handle to set

getFilename

public String getFilename()
Returns the filename.

Returns:
the filename

setFilename

public void setFilename(String filename)
Sets the filename.

Parameters:
filename - the filename to set

getDescription

public String getDescription()
Returns the description.

Returns:
the description

setDescription

public void setDescription(String description)
Sets the description.

Parameters:
description - the description to set

getThumbnailUrl

public String getThumbnailUrl()
Returns the thumbnailUrl.

Returns:
the thumbnailUrl

setThumbnailUrl

public void setThumbnailUrl(String thumbnailUrl)
Sets the thumbnailUrl.

Parameters:
thumbnailUrl - the thumbnailUrl to set

getPreviewUrl

public String getPreviewUrl()
Returns the previewUrl.

Returns:
the previewUrl

setPreviewUrl

public void setPreviewUrl(String previewUrl)
Sets the previewUrl.

Parameters:
previewUrl - the previewUrl to set

getContent

public info.magnolia.cms.core.Content getContent()
Returns the content.

Returns:
the content

setContent

public void setContent(info.magnolia.cms.core.Content content)
Sets the content.

Parameters:
content - the content to set

getUuid

public String getUuid()
Returns the uuid.

Returns:
the uuid

setUuid

public void setUuid(String uuid)
Sets the uuid.

Parameters:
uuid - the uuid to set

getUsedInWebPages

public List<String> getUsedInWebPages()
Returns the usedInWebPages.

Returns:
the usedInWebPages

setUsedInWebPages

public void setUsedInWebPages(List<String> usedInWebPages)
Sets the usedInWebPages.

Parameters:
usedInWebPages - the usedInWebPages to set

isCanPublish

public boolean isCanPublish()
Returns the canPublish.

Returns:
the canPublish

setCanPublish

public void setCanPublish(boolean canPublish)
Sets the canPublish.

Parameters:
canPublish - the canPublish to set

isWritable

public boolean isWritable()
Returns the writable.

Returns:
the writable

setWritable

public void setWritable(boolean writable)
Sets the writable.

Parameters:
writable - the writable to set

getMediaInfo

public Map<String,String> getMediaInfo()
Returns the mediaInfo

Returns:
the mediaInfo

setMediaInfo

public void setMediaInfo(Map<String,String> mediaInfo)
Sets the mediaInfo.

Parameters:
mediaInfo - the mediaInfo to set

isExternal

public boolean isExternal()

setExternal

public void setExternal(boolean external)

getTitle

public String getTitle()
Returns the title.

Returns:
the title

setTitle

public void setTitle(String title)
Sets the title.

Parameters:
title - the title to set


Copyright © 2008-2010 Openmind. All Rights Reserved.