Class AdminStorageAction

  • All Implemented Interfaces:
    FessHtmlPath, org.lastaflute.web.docs.LaActionDocs, org.lastaflute.web.hook.ActionHook, org.lastaflute.web.validation.LaValidatable<FessMessages>

    public class AdminStorageAction
    extends FessAdminAction
    Author:
    shinsuke
    • Constructor Detail

      • AdminStorageAction

        public AdminStorageAction()
    • Method Detail

      • setupHtmlData

        protected void setupHtmlData​(org.lastaflute.web.ruts.process.ActionRuntime runtime)
        Overrides:
        setupHtmlData in class FessAdminAction
      • index

        @Execute
        @Secured({"admin-storage","admin-storage-view"})
        public org.lastaflute.web.response.HtmlResponse index()
      • list

        @Execute
        @Secured({"admin-storage","admin-storage-view"})
        public org.lastaflute.web.response.ActionResponse list​(org.dbflute.optional.OptionalThing<String> id)
      • upload

        @Execute
        @Secured("admin-storage")
        public org.lastaflute.web.response.HtmlResponse upload​(ItemForm form)
      • download

        @Execute
        @Secured({"admin-storage","admin-storage-view"})
        public org.lastaflute.web.response.ActionResponse download​(String id)
      • delete

        @Execute
        @Secured("admin-storage")
        public org.lastaflute.web.response.HtmlResponse delete​(String id)
      • createDir

        @Execute
        @Secured("admin-storage")
        public org.lastaflute.web.response.HtmlResponse createDir​(ItemForm form)
      • uploadObject

        public static void uploadObject​(String objectName,
                                        org.lastaflute.web.ruts.multipart.MultipartFormFile uploadFile)
      • downloadObject

        public static void downloadObject​(String objectName,
                                          org.lastaflute.web.servlet.request.stream.WrittenStreamOut out)
      • deleteObject

        public static void deleteObject​(String objectName)
      • createClient

        protected static io.minio.MinioClient createClient​(FessConfig fessConfig)
      • decodePath

        public static String decodePath​(String id)
      • createParentId

        protected static String createParentId​(String prefix)
      • getPathPrefix

        protected static String getPathPrefix​(String path)
      • urlEncode

        protected static String urlEncode​(String str)
      • urlDecode

        protected static String urlDecode​(String str)
      • encodeId

        protected static String encodeId​(String objectName)