public bool CheckFileExistency(ISPCFolder folder, ISPCItem item, string newFileName)
        {
            GItem   fileItem = (GItem)item;
            GFolder _folder  = folder as GFolder;

            return(GMailManager.GetInstance().CheckFileExistency(fileItem.SiteSetting, _folder.UniqueIdentifier, fileItem.Title));
        }
        public List <ISPCItem> GetListItems(ISPCFolder folder, ISPCView view, string sortField, bool isAsc, int currentPageIndex, string currentListItemCollectionPositionNext, EUCamlFilters filters, out string listItemCollectionPositionNext, out int itemCount)
        {
            listItemCollectionPositionNext = String.Empty;
            itemCount = 0;
            GFolder _folder = folder as GFolder;

            return(GMailManager.GetInstance().GetItems(folder.SiteSetting, folder));
        }
        public void UploadFiles(ISPCFolder folder, List <EUEmailUploadFile> uploadFiles, List <EUField> fields, EUFieldInformations fieldInformations, SharePointListViewControl sharePointListViewControl)
        {
            GFolder _folder = folder as GFolder;

            foreach (EUEmailUploadFile emailUploadFile in uploadFiles)
            {
                GMailManager.GetInstance().UploadFile(folder.SiteSetting, emailUploadFile.FilePath, folder.UniqueIdentifier);
            }
        }
        public void DeleteListItem(ISPCItem item)
        {
            GItem fileItem = (GItem)item;

            GMailManager.GetInstance().DeleteFile(fileItem.SiteSetting, fileItem.UniqueIdentifier);
        }
 public List <ISPCFolder> GetSubFolders(ISPCFolder folder)
 {
     return(GMailManager.GetInstance().GetFolders(folder.SiteSetting, folder));
 }