|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.magnolia.cms.servlets.MVCServletHandlerImpl
info.magnolia.cms.servlets.CommandBasedMVCServletHandler
info.magnolia.module.admininterface.PageMVCHandler
info.magnolia.module.admininterface.TemplatedMVCHandler
net.sourceforge.openutils.mgnlmedia.media.pages.MessagesTemplatedMVCHandler
net.sourceforge.openutils.mgnlmedia.media.pages.MediaFolderViewPage
public class MediaFolderViewPage
Page that renders the folder view.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.sourceforge.openutils.mgnlmedia.media.pages.MessagesTemplatedMVCHandler |
|---|
MessagesTemplatedMVCHandler.GetStaticMethodModel |
| Field Summary | |
|---|---|
protected String |
actMediaHandle
|
protected String |
bgSelector
|
protected boolean |
canPublish
|
protected String |
dest
|
protected boolean |
develop
|
protected Iterator<MediaBean> |
medias
|
protected String |
mediaType
|
protected String |
node
|
protected Map<String,Integer> |
numberOfMedia
|
protected int |
page
|
protected List<it.openutils.mgnlutils.el.MgnlPagingElFunctions.Page> |
pages
|
protected String |
pagesizeSelector
|
protected String |
path
|
protected String |
search
|
protected net.sourceforge.openutils.mgnlcriteria.jcr.query.AdvancedResult |
searchResult
|
protected boolean |
selectMedia
|
protected String |
sorting
|
protected String |
type
|
protected Collection<MediaTypeConfiguration> |
types
|
protected boolean |
writable
|
| Fields inherited from class net.sourceforge.openutils.mgnlmedia.media.pages.MessagesTemplatedMVCHandler |
|---|
getStatic, log |
| 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 | |
|---|---|
MediaFolderViewPage(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
|
| Method Summary | |
|---|---|
String |
activate()
Activates single media node |
String |
copy()
copy a node |
info.magnolia.cms.core.Content |
copyMoveNode(String source,
String destination,
boolean move)
Copy or move a node (from AdminTreeMVCHandler) |
protected int |
countMediaItems(MediaTypeConfiguration type)
Counts media items for the specified type. |
String |
currentQueryString()
Obtains the query string to use for reloading the current page. Unwanted parameters are removed. |
String |
deactivate()
Deactivates single media node |
String |
delete()
delete a node |
String |
download()
Download media |
protected net.sourceforge.openutils.mgnlcriteria.jcr.query.AdvancedResult |
findMediaItems()
Finds media items to show. |
String |
getActMediaHandle()
Returns the actMediaHandle. |
String |
getBgSelector()
Returns the bgSelector. |
protected SortMode |
getDefaultSorting()
|
String |
getDest()
Returns the dest. |
Iterator<MediaBean> |
getMedias()
Returns the medias. |
String |
getMediaType()
Returns the mediaType. |
String |
getMessage(String key,
String param)
|
String |
getModuleVersion()
Returns the installed media module version. |
String |
getNode()
Returns the node. |
Map<String,Integer> |
getNumberOfMedia()
Returns the numberOfMedia. |
int |
getPage()
Returns the page. |
List<it.openutils.mgnlutils.el.MgnlPagingElFunctions.Page> |
getPages()
Returns the pages. |
String |
getPagesizeSelector()
Returns the pagesizeSelector. |
String |
getPath()
Returns the path. |
String |
getSearch()
Returns the search. |
net.sourceforge.openutils.mgnlcriteria.jcr.query.AdvancedResult |
getSearchResult()
Returns the searchResult. |
String |
getSorting()
Returns the sorting. |
String |
getType()
Returns the type. |
Collection<MediaTypeConfiguration> |
getTypes()
Returns the types. |
void |
init()
|
boolean |
isCanPublish()
Returns the canPublish. |
boolean |
isDevelop()
Returns the develop. |
boolean |
isSelectMedia()
Returns the selectMedia. |
boolean |
isSingleInstance()
|
boolean |
isWritable()
Returns the writable. |
String |
mediatabLink(MediaTypeConfiguration type)
Builds the href for the media type link in the navigation bar. |
String |
move()
moves a node |
void |
setActMediaHandle(String actMediaHandle)
Sets the actMediaHandle. |
void |
setCanPublish(boolean canPublish)
Sets the canPublish. |
void |
setDest(String dest)
Sets the dest. |
void |
setDevelop(boolean develop)
Sets the develop. |
void |
setMediaType(String mediaType)
Sets the mediaType. |
void |
setNode(String node)
Sets the node. |
void |
setNumberOfMedia(Map<String,Integer> numberOfMedia)
Sets the numberOfMedia. |
void |
setPage(int page)
Sets the page. |
void |
setPath(String path)
Sets the path. |
void |
setSearch(String search)
Sets the search. |
void |
setSelectMedia(boolean selectMedia)
Sets the selectMedia. |
void |
setType(String type)
Sets the type. |
void |
setTypes(Collection<MediaTypeConfiguration> types)
Sets the types. |
void |
setWritable(boolean writable)
Sets the writable. |
String |
show()
|
| 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, 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 |
| Field Detail |
|---|
protected String path
protected String node
protected String dest
protected String type
protected String bgSelector
protected String pagesizeSelector
protected String sorting
protected boolean selectMedia
protected String actMediaHandle
protected String mediaType
protected Iterator<MediaBean> medias
protected Collection<MediaTypeConfiguration> types
protected Map<String,Integer> numberOfMedia
protected boolean writable
protected boolean canPublish
protected boolean develop
protected String search
protected List<it.openutils.mgnlutils.el.MgnlPagingElFunctions.Page> pages
protected int page
protected net.sourceforge.openutils.mgnlcriteria.jcr.query.AdvancedResult searchResult
| Constructor Detail |
|---|
public MediaFolderViewPage(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
name - request - response - | Method Detail |
|---|
public void init()
init in interface info.magnolia.cms.servlets.MVCServletHandlerinit in class info.magnolia.module.admininterface.PageMVCHandlerprotected int countMediaItems(MediaTypeConfiguration type)
type -
protected net.sourceforge.openutils.mgnlcriteria.jcr.query.AdvancedResult findMediaItems()
public String show()
show in class info.magnolia.module.admininterface.PageMVCHandlerpublic String delete()
public String move()
public String copy()
public info.magnolia.cms.core.Content copyMoveNode(String source,
String destination,
boolean move)
throws info.magnolia.cms.exchange.ExchangeException,
javax.jcr.RepositoryException
source - source nodedestination - destination foldermove - move or copy?
info.magnolia.cms.exchange.ExchangeException - publication problem
javax.jcr.RepositoryException - repository exceptionpublic String activate()
public String deactivate()
public String download()
public String getPath()
public Iterator<MediaBean> getMedias()
public void setPath(String path)
path - the path to setpublic Collection<MediaTypeConfiguration> getTypes()
public void setTypes(Collection<MediaTypeConfiguration> types)
types - the types to setpublic String getType()
public void setType(String type)
type - the type to setpublic String getBgSelector()
public String getPagesizeSelector()
public String getSorting()
public boolean isWritable()
public void setWritable(boolean writable)
writable - the writable to setpublic boolean isCanPublish()
public void setCanPublish(boolean canPublish)
canPublish - the canPublish to setpublic String getNode()
public void setNode(String node)
node - the node to setpublic String getDest()
public void setDest(String dest)
dest - the dest to setpublic boolean isSelectMedia()
public void setSelectMedia(boolean selectMedia)
selectMedia - the selectMedia to setpublic String getActMediaHandle()
public void setActMediaHandle(String actMediaHandle)
actMediaHandle - the actMediaHandle to setpublic String getMediaType()
public void setMediaType(String mediaType)
mediaType - the mediaType to setpublic Map<String,Integer> getNumberOfMedia()
public void setNumberOfMedia(Map<String,Integer> numberOfMedia)
numberOfMedia - the numberOfMedia to setpublic boolean isDevelop()
public void setDevelop(boolean develop)
develop - the develop to setpublic String getSearch()
public void setSearch(String search)
search - the search to setpublic List<it.openutils.mgnlutils.el.MgnlPagingElFunctions.Page> getPages()
public int getPage()
public void setPage(int page)
page - the page to setpublic net.sourceforge.openutils.mgnlcriteria.jcr.query.AdvancedResult getSearchResult()
public boolean isSingleInstance()
public String getMessage(String key,
String param)
public String currentQueryString()
public String mediatabLink(MediaTypeConfiguration type)
type -
protected SortMode getDefaultSorting()
public String getModuleVersion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||