public void GetSPLibItemData(SPListItem spItem)
        {
            base.GetSPListItemData(spItem);
            FileName = spItem.File.Name;
            FileSize = spItem.File.Length;
            FileUrl = spItem.File.ServerRelativeUrl;
            //FileRelUrl = spItem.File.Url;
            FileAbsUrl = Convert.ToString(spItem[LibraryItemDefaultFields.EncodedAbsUrl]);
            if (string.IsNullOrEmpty(Title))
            {
                Title = this.FileName;
            }
            CheckOutStatus = spItem.File.CheckOutStatus;
            if ((int)CheckOutStatus != 0)
            {
                CheckoutUser = new UserData(spItem.File.CheckedOutByUser);
                CheckoutDate = spItem.File.CheckedOutDate;
            }
            
            CheckinComment = spItem.File.CheckInComment;

            //DocumentIcon = SPUtility.MapToIcon(spItem.Web, this.FileName, string.Empty);



            //FileRef = spItem.File.Url;// spItem.GetFieldStringValue(LibraryItemDefaultFields.FileRef);
            //FileSize = spItem.File.Length;//.GetFieldStringValue(LibraryItemDefaultFields.FileSize);
            //FileName = spItem.File.Name;// spItem.GetFieldStringValue(LibraryItemDefaultFields.LinkFilename);
            //EncodedAbsUrl = Convert.ToString(spItem[LibraryItemDefaultFields.EncodedAbsUrl]);
            //ServerUrl = spItem.GetFieldStringValue(LibraryItemDefaultFields.ServerUrl);
            //DocIcon = spItem.GetFieldStringValue(LibraryItemDefaultFields.DocIcon);
            //FileInfo = spItem.File;//.GetFieldUserValueOrEmpty(LibraryItemDefaultFields.CheckoutUser);
            //CheckinComment = spItem.GetFieldStringValue(LibraryItemDefaultFields.CheckinComment);
        }
 /// <summary>
 /// Получение пустого объекта
 /// </summary>
 /// <returns></returns>
 public static UserData GetEmpty()
 {
     UserData result = new UserData(string.Empty, string.Empty/*, UserDataType.Empty*/);
     return result;
 }