private int CreateDocumentTag(RVWTagBEO tag) { try { var tagService = new RVWTagService(_session); var tagId = tagService.AddTag(tag); return(tagId); } catch (Exception) { //LogJobException(ErrorCodes.ErrorDcbImportCreateEVDocumentTag, String.Format(Constants.ErrorCreateDocumentTag, tag.Name), // false, // exp.Message); Tracer.Error("Unable to create document tag."); return(Constants.InternalTagReturnErrorCode); } }
private int GetDocumentTag(string tagName, string parentTagId, string scope, string matterId, string collectionId) { try { var tagService = new RVWTagService(_session); var tagId = tagService.GetTagId(tagName, collectionId, matterId, parentTagId, scope); return(tagId); } catch (Exception) { //LogJobException(ErrorCodes.ErrorDcbImportGetEVDocumentTagId, String.Format(Constants.ErrorGetDocumentTagId, tagName), // false, // exp.Message); Tracer.Error("Unable to get document tag."); return(Constants.InternalTagReturnErrorCode); } }
private int CreateDocumentTag(RVWTagBEO tag) { try { var tagService = new RVWTagService(_session); var tagId = tagService.AddTag(tag); return tagId; } catch (Exception) { //LogJobException(ErrorCodes.ErrorDcbImportCreateEVDocumentTag, String.Format(Constants.ErrorCreateDocumentTag, tag.Name), // false, // exp.Message); Tracer.Error("Unable to create document tag."); return Constants.InternalTagReturnErrorCode; } }
private int GetDocumentTag(string tagName, string parentTagId, string scope, string matterId, string collectionId) { try { var tagService = new RVWTagService(_session); var tagId = tagService.GetTagId(tagName, collectionId, matterId, parentTagId, scope); return tagId; } catch (Exception) { //LogJobException(ErrorCodes.ErrorDcbImportGetEVDocumentTagId, String.Format(Constants.ErrorGetDocumentTagId, tagName), // false, // exp.Message); Tracer.Error("Unable to get document tag."); return Constants.InternalTagReturnErrorCode; } }