|
||||||||||
| 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
| Field Summary | |
|---|---|
static String |
SORT_BY_FILENAME
|
static String |
SORT_BY_MODIFICATIONDATE
|
static String |
SORT_BY_USAGE
|
| 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) |
String |
deactivate()
Deactivates single media node |
String |
delete()
delete a node |
String |
download()
Download media |
String |
getActMediaHandle()
Returns the actMediaHandle. |
String |
getBgSelector()
|
String |
getDest()
Returns the dest. |
Collection<MediaBean> |
getMedias()
Returns the medias. |
String |
getMediaType()
Returns the mediaType. |
String |
getMessage(String key,
String param)
|
String |
getNode()
Returns the node. |
Map<String,Integer> |
getNumberOfMedia()
Returns the numberOfMedia. |
String |
getPath()
Returns the path. |
String |
getSearch()
Returns the search. |
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 |
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 |
setMedias(Collection<MediaBean> medias)
Sets the medias. |
void |
setMediaType(String mediaType)
Sets the mediaType. |
void |
setNode(String node)
Sets the node. |
void |
setNumberOfMedia(Map<String,Integer> numberOfMedia)
Sets the numberOfMedia. |
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 |
|---|
getMsgs |
| 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, populateFromRequest, setCommand, setRequest, setResponse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SORT_BY_FILENAME
public static final String SORT_BY_MODIFICATIONDATE
public static final String SORT_BY_USAGE
| 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.PageMVCHandlerpublic 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 Collection<MediaBean> getMedias()
public void setMedias(Collection<MediaBean> medias)
medias - the medias to setpublic 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 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 boolean isSingleInstance()
public String getBgSelector()
public String getMessage(String key,
String param)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||