Ejemplo n.º 1
0
        private bool Update()
        {
            bool result = DBSharedFiles.UpdateSharedFile(
                this.itemID,
                this.moduleID,
                this.uploadUserID,
                this.friendlyName,
                this.originalFileName,
                this.serverFileName,
                this.sizeInKB,
                this.uploadDate,
                this.folderID,
                this.folderGuid,
                this.userGuid,
                this.description);

            //IndexHelper.IndexItem(this);

            if (result)
            {
                ContentChangedEventArgs e = new ContentChangedEventArgs();
                OnContentChanged(e);
            }

            return(result);
        }
Ejemplo n.º 2
0
        private bool Update()
        {
            bool result = DBSharedFiles.UpdateSharedFile(
                itemID,
                moduleID,
                uploadUserID,
                friendlyName,
                originalFileName,
                serverFileName,
                sizeInKB,
                uploadDate,
                folderID,
                folderGuid,
                userGuid,
                description,
                viewRoles
                );

            if (result)
            {
                ContentChangedEventArgs e = new ContentChangedEventArgs();
                OnContentChanged(e);
            }

            return(result);
        }