コード例 #1
0
        public string SetUserACL(string location, string permission, string username, bool folderdefault)
        {
            IStorage sirius = new Hydra.Storage();
            string   msg    = sirius.SetUserACL(location, permission, username, folderdefault);

            return("successfully changed user acl!");
        }
コード例 #2
0
        public string SetOthersACL(string location, string permission, bool folderdefault)
        {
            IStorage sirius = new Hydra.Storage();
            string   msg    = sirius.SetOthersACL(location, permission, folderdefault);

            return("successfully changed others acl!");
        }
コード例 #3
0
        public string GetACL(string location)
        {
            IStorage sirius = new Hydra.Storage();
            string   msg    = sirius.GetACL(location);

            return("hi");
        }
コード例 #4
0
        public string SetGroupACL(string location, string permission, string grpname, bool folderdefault)
        {
            IStorage sirius = new Hydra.Storage();
            string   msg    = sirius.SetGroupACL(location, permission, grpname, folderdefault);

            return("successfully changed group acl!");
        }
コード例 #5
0
        public string DeleteFile(string keyword)
        {
            IStorage storage = new Hydra.Storage();

            string msg = storage.DeleteFile(keyword);

            return(msg);
        }
コード例 #6
0
        public string[] SearchFile(string keyword)
        {
            IStorage storage = new Hydra.Storage();

            string[] msg = storage.SearchFile(keyword);

            return(msg);
        }
コード例 #7
0
        public string SaveFile()
        {
            IStorage storage = new Hydra.Storage();

            string msg = storage.SaveFile();

            return(msg);
        }
コード例 #8
0
        public string EditFile(string directory)
        {
            IStorage storage = new Hydra.Storage();

            string msg = storage.EditFile(directory);

            return(msg);
        }
コード例 #9
0
        public string RegisterFile(string directory)
        {
            IStorage storage = new Hydra.Storage();


            string msg = storage.RegisterFile(directory);

            return(msg);
        }