| com.methodhead.auth.AuthAction com.methodhead.res.ResAction
ResAction | public class ResAction extends AuthAction (Code) | | Implements the operations of the res package. A number of operations are
imlemented; proper operation of this action depends on
com.methodhead.res.ResForm and associated JSPs.
|
Method Summary | |
protected ActionForward | doCloseFileTreeNode(OperationContext op, ResPolicy policy) | protected ActionForward | doCreateFile(OperationContext op, ResPolicy policy) Creates the file (or directory, depending on form.createdir) in
form.path with name form.name. | protected ActionForward | doCreateFileForm(OperationContext op, ResPolicy policy) Returns a forward to form. | public ActionForward | doExecute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) | protected ActionForward | doListFiles(OperationContext op, ResPolicy policy) Builds a list of FoldingTreeNodes representing files in the
requested directory and forwards to form. | protected ActionForward | doManageFiles(OperationContext op, ResPolicy policy) | protected ActionForward | doManageFilesForm(OperationContext op, ResPolicy policy) | protected ActionForward | doOpenFileTreeNode(OperationContext op, ResPolicy policy) | protected ActionForward | doUploadFile(OperationContext op, ResPolicy policy) Uploads the file stored in the form's file property. | protected ActionForward | doUploadFileForm(OperationContext op, ResPolicy policy) Returns a forward to form. | protected ActionForward | manageCopy(OperationContext op, ResPolicy policy, String path, String[] files) Copies files in path to moveto. | protected ActionForward | manageDelete(OperationContext op, ResPolicy policy, String path, String[] files) Deletes files. | protected ActionForward | manageEdit(OperationContext op, ResPolicy policy, String path, String[] files) Edits the first file in files. | protected ActionForward | manageMove(OperationContext op, ResPolicy policy, String path, String[] files) Moves files in path to moveto. | protected ActionForward | manageUnzip(OperationContext op, ResPolicy policy, String path, String[] files) Unzips the first file in files. |
doCreateFile | protected ActionForward doCreateFile(OperationContext op, ResPolicy policy) throws Exception(Code) | | Creates the file (or directory, depending on form.createdir) in
form.path with name form.name.
|
doListFiles | protected ActionForward doListFiles(OperationContext op, ResPolicy policy) throws Exception(Code) | | Builds a list of FoldingTreeNodes representing files in the
requested directory and forwards to form.
|
|
|