net.sourceforge.openutils.mgnlmedia.playlist.pages
Class PlaylistView

java.lang.Object
  extended by info.magnolia.cms.servlets.MVCServletHandlerImpl
      extended by info.magnolia.cms.servlets.CommandBasedMVCServletHandler
          extended by info.magnolia.module.admininterface.PageMVCHandler
              extended by info.magnolia.module.admininterface.TemplatedMVCHandler
                  extended by net.sourceforge.openutils.mgnlmedia.media.pages.MessagesTemplatedMVCHandler
                      extended by net.sourceforge.openutils.mgnlmedia.playlist.pages.PlaylistView
All Implemented Interfaces:
info.magnolia.cms.servlets.MVCServletHandler

public class PlaylistView
extends MessagesTemplatedMVCHandler

Author:
dschivo

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sourceforge.openutils.mgnlmedia.media.pages.MessagesTemplatedMVCHandler
MessagesTemplatedMVCHandler.GetStaticMethodModel
 
Field Summary
 
Fields inherited from class net.sourceforge.openutils.mgnlmedia.media.pages.MessagesTemplatedMVCHandler
getStatic
 
Fields inherited from class info.magnolia.module.admininterface.PageMVCHandler
COMMAND_PARAMETER_NAME, COMMAND_SHOW, VIEW_SHOW
 
Fields inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl
exception, request, response, VIEW_ERROR, VIEW_SUCCESS
 
Fields inherited from interface info.magnolia.cms.servlets.MVCServletHandler
VIEW_NOTHING
 
Constructor Summary
PlaylistView(String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
 String getLocale()
          Returns the locale.
 List<MediaBean> getMediaBeans()
          Returns the mediaBeans.
 List<info.magnolia.cms.core.Content> getMediaContentList()
          Returns the mediaContentList.
 String getMediaHandle()
          Returns the mediaHandle.
 PlaylistBean getPlaylist()
          Returns the playlist.
 boolean isSuccess()
          Returns the success.
 String mediaFolder()
           
 String playlistLocation()
           
 Map<String,Object> playlistMetas()
           
 String playlistTitle()
           
 String save()
           
 String saveMedia()
           
 void setDescription(String description)
          Sets the description.
 void setLocale(String locale)
          Sets the locale.
 void setMediaContentList(List<info.magnolia.cms.core.Content> mediaContentList)
          Sets the mediaContentList.
 void setMediaHandle(String mediaHandle)
          Sets the mediaHandle.
 void setPath(String path)
          Sets the path.
 void setTitle(String title)
          Sets the title.
 void setXml(boolean xml)
          Sets the xml.
 String show()
          
 void writePlaylistTrackExtension(info.magnolia.cms.core.Content media, PrintWriter writer)
           
 String xspf()
           
 
Methods inherited from class net.sourceforge.openutils.mgnlmedia.media.pages.MessagesTemplatedMVCHandler
getGetStatic, getMsgs, populateFromRequest
 
Methods inherited from class info.magnolia.module.admininterface.TemplatedMVCHandler
getTemplateName, renderHtml
 
Methods inherited from class info.magnolia.module.admininterface.PageMVCHandler
getForm, getI18nBasename, getParams, init, setForm, setI18nBasename, setMsgs, setParams
 
Methods inherited from class info.magnolia.cms.servlets.CommandBasedMVCServletHandler
execute, findCommand, getCatalogueName, getCommandContext, getViewNameAfterExecution, setCatalogueName
 
Methods inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl
getCommand, getException, getExceptionStackTrace, getName, getRequest, getResponse, setCommand, setRequest, setResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlaylistView

public PlaylistView(String name,
                    javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
Method Detail

setPath

public void setPath(String path)
Sets the path.

Parameters:
path - the path to set

getPlaylist

public PlaylistBean getPlaylist()
Returns the playlist.

Returns:
the playlist

setTitle

public void setTitle(String title)
Sets the title.

Parameters:
title - the title to set

setDescription

public void setDescription(String description)
Sets the description.

Parameters:
description - the description to set

getMediaHandle

public String getMediaHandle()
Returns the mediaHandle.

Returns:
the mediaHandle

setMediaHandle

public void setMediaHandle(String mediaHandle)
Sets the mediaHandle.

Parameters:
mediaHandle - the mediaHandle to set

isSuccess

public boolean isSuccess()
Returns the success.

Returns:
the success

show

public String show()

Overrides:
show in class info.magnolia.module.admininterface.PageMVCHandler

save

public String save()

saveMedia

public String saveMedia()

xspf

public String xspf()
            throws IOException
Throws:
IOException

mediaFolder

public String mediaFolder()

getLocale

public String getLocale()
Returns the locale.

Returns:
the locale

setLocale

public void setLocale(String locale)
Sets the locale.

Parameters:
locale - the locale to set

getMediaContentList

public List<info.magnolia.cms.core.Content> getMediaContentList()
Returns the mediaContentList.

Returns:
the mediaContentList

setMediaContentList

public void setMediaContentList(List<info.magnolia.cms.core.Content> mediaContentList)
Sets the mediaContentList.

Parameters:
mediaContentList - the mediaContentList to set

getMediaBeans

public List<MediaBean> getMediaBeans()
Returns the mediaBeans.

Returns:
the mediaBeans

setXml

public void setXml(boolean xml)
Sets the xml.

Parameters:
xml - the xml to set

playlistTitle

public String playlistTitle()

playlistLocation

public String playlistLocation()

playlistMetas

public Map<String,Object> playlistMetas()

writePlaylistTrackExtension

public void writePlaylistTrackExtension(info.magnolia.cms.core.Content media,
                                        PrintWriter writer)


Copyright © 2008-2011 Openmind. All Rights Reserved.