Exemple #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!");
        }
Exemple #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!");
        }
Exemple #3
0
        public string GetACL(string location)
        {
            IStorage sirius = new Hydra.Storage();
            string   msg    = sirius.GetACL(location);

            return("hi");
        }
Exemple #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!");
        }
Exemple #5
0
        public string DeleteFile(string keyword)
        {
            IStorage storage = new Hydra.Storage();

            string msg = storage.DeleteFile(keyword);

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

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

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

            string msg = storage.SaveFile();

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

            string msg = storage.EditFile(directory);

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


            string msg = storage.RegisterFile(directory);

            return(msg);
        }