private static List <BulkDocumentInfoBEO> GetDocumentFamilySubsetBulk(string matterId,
                                                                              string collectionId, List <BulkDocumentInfoBEO> documentList, bool isTagAllThread)
        {
            var familyDocuments = DocumentVaultMngr.GetDocumentFamilySubsetBulk(matterId, collectionId,
                                                                                documentList, !isTagAllThread);
            var familyDocumentsConverted = new List <BulkDocumentInfoBEO>();

            if (familyDocuments != null && familyDocuments.Any())
            {
                familyDocuments.SafeForEach(o => familyDocumentsConverted.Add(new BulkDocumentInfoBEO
                {
                    DocumentId        = o.DependentDocumentReferenceId,
                    FromOriginalQuery = false,
                    DCN = o.DependentDCN
                }));
            }
            return(familyDocumentsConverted);
        }
        private static List <BulkDocumentInfoBEO> FillEntireFamilies(string matterId,
                                                                     string collectionId, List <BulkDocumentInfoBEO> documentList)
        {
            var familyDocuments = DocumentVaultMngr.GetEntireFamilyDocuments(matterId, collectionId,
                                                                             documentList);

            var familyDocumentsConverted = new List <BulkDocumentInfoBEO>();

            if (familyDocuments != null && familyDocuments.Count > 0)
            {
                familyDocuments.SafeForEach(o => familyDocumentsConverted.Add(new BulkDocumentInfoBEO
                {
                    DocumentId        = o.DocumentReferenceId,
                    FromOriginalQuery = false,
                    DCN = o.DocTitle
                }));
            }
            return(familyDocumentsConverted);
        }