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

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

            string msg = storage.DeleteFile(keyword);

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

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

            return(msg);
        }
Exemplo n.º 7
0
        public string SaveFile()
        {
            IStorage storage = new Hydra.Storage();

            string msg = storage.SaveFile();

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

            string msg = storage.EditFile(directory);

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


            string msg = storage.RegisterFile(directory);

            return(msg);
        }