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

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.media.pages.MediaBrowserPage
All Implemented Interfaces:
info.magnolia.cms.servlets.MVCServletHandler

public class MediaBrowserPage
extends MessagesTemplatedMVCHandler

Page that contains the tree and the foldere view.

Version:
$Id: MediaBrowserPage.java 2333 2010-05-02 18:08:24Z fgiust $
Author:
molaschi

Field Summary
 
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
MediaBrowserPage(String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
 String getActMedia()
          Returns the actMedia.
 String getActMediaHandle()
          Returns the actMediaHandle.
 String getCacheKiller()
          Returns the cacheKiller.
 String getMediaType()
          Returns the mediaType.
 String getMessage(String key, String arg)
           
 String getModuleVersion()
          Returns the installed media module version.
 info.magnolia.cms.i18n.Messages getMsgs()
          
 String getNodeid()
          Returns the nodeid.
 String getOpenPath()
          Returns the openPath.
 String getParentPath()
          Returns the parentPath.
 info.magnolia.cms.beans.runtime.Document getZipFile()
          Returns the file.
 void init()
          
 boolean isSelectMedia()
          Returns the selectMedia.
 String saveZip()
          Save Zip file command
 void setActMedia(String actMedia)
          Sets the actMedia.
 void setActMediaHandle(String actMediaHandle)
          Sets the actMediaHandle.
 void setCacheKiller(String cacheKiller)
          Sets the cacheKiller.
 void setMediaType(String mediaType)
          Sets the mediaType.
 void setNodeid(String nodeid)
          Sets the nodeid.
 void setOpenPath(String openPath)
          Sets the openPath.
 void setParentPath(String parentPath)
          Sets the parentPath.
 void setSelectMedia(boolean selectMedia)
          Sets the selectMedia.
 void setZipFile(info.magnolia.cms.beans.runtime.Document file)
          Sets the file.
 
Methods inherited from class info.magnolia.module.admininterface.TemplatedMVCHandler
getTemplateName, renderHtml
 
Methods inherited from class info.magnolia.module.admininterface.PageMVCHandler
getForm, getI18nBasename, getParams, setForm, setI18nBasename, setMsgs, setParams, show
 
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, populateFromRequest, setCommand, setRequest, setResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaBrowserPage

public MediaBrowserPage(String name,
                        javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
Parameters:
name - command name
request -
response -
Method Detail

init

public void init()

Specified by:
init in interface info.magnolia.cms.servlets.MVCServletHandler
Overrides:
init in class info.magnolia.module.admininterface.PageMVCHandler

saveZip

public String saveZip()
Save Zip file command

Returns:
view

getCacheKiller

public String getCacheKiller()
Returns the cacheKiller.

Returns:
the cacheKiller

setCacheKiller

public void setCacheKiller(String cacheKiller)
Sets the cacheKiller.

Parameters:
cacheKiller - the cacheKiller to set

getActMedia

public String getActMedia()
Returns the actMedia.

Returns:
the actMedia

setActMedia

public void setActMedia(String actMedia)
Sets the actMedia.

Parameters:
actMedia - the actMedia to set

isSelectMedia

public boolean isSelectMedia()
Returns the selectMedia.

Returns:
the selectMedia

setSelectMedia

public void setSelectMedia(boolean selectMedia)
Sets the selectMedia.

Parameters:
selectMedia - the selectMedia to set

getNodeid

public String getNodeid()
Returns the nodeid.

Returns:
the nodeid

setNodeid

public void setNodeid(String nodeid)
Sets the nodeid.

Parameters:
nodeid - the nodeid to set

getOpenPath

public String getOpenPath()
Returns the openPath.

Returns:
the openPath

setOpenPath

public void setOpenPath(String openPath)
Sets the openPath.

Parameters:
openPath - the openPath to set

getActMediaHandle

public String getActMediaHandle()
Returns the actMediaHandle.

Returns:
the actMediaHandle

setActMediaHandle

public void setActMediaHandle(String actMediaHandle)
Sets the actMediaHandle.

Parameters:
actMediaHandle - the actMediaHandle to set

getMediaType

public String getMediaType()
Returns the mediaType.

Returns:
the mediaType

setMediaType

public void setMediaType(String mediaType)
Sets the mediaType.

Parameters:
mediaType - the mediaType to set

getParentPath

public String getParentPath()
Returns the parentPath.

Returns:
the parentPath

setParentPath

public void setParentPath(String parentPath)
Sets the parentPath.

Parameters:
parentPath - the parentPath to set

getZipFile

public info.magnolia.cms.beans.runtime.Document getZipFile()
Returns the file.

Returns:
the file

setZipFile

public void setZipFile(info.magnolia.cms.beans.runtime.Document file)
Sets the file.

Parameters:
file - the file to set

getMsgs

public info.magnolia.cms.i18n.Messages getMsgs()

Overrides:
getMsgs in class MessagesTemplatedMVCHandler

getMessage

public String getMessage(String key,
                         String arg)

getModuleVersion

public String getModuleVersion()
Returns the installed media module version.

Returns:
version as string.


Copyright © 2008-2010 Openmind. All Rights Reserved.