Advertisement
Guest User

Untitled

a guest
May 25th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using inRiver.Integration.Export;
  7. using inRiver.Integration.Interface;
  8. using inRiver.Remoting.Objects;
  9.  
  10. namespace InRiver_Entity_updates
  11. {
  12.  
  13. using System.ComponentModel;
  14. using System.Threading;
  15.  
  16. using inRiver.Integration.Configuration;
  17. using inRiver.Integration.Interface;
  18. using inRiver.Integration.Logging;
  19. using inRiver.Integration.Reporting;
  20. using inRiver.Remoting;
  21. using inRiver.Remoting.Log;
  22.  
  23. class EntityListener : ServerListener, IOutboundConnector, IEntityListener
  24. {
  25.  
  26. new public void InitConfigurationSettings() // Defined as virtual in serverListner
  27. {
  28. ConfigurationManager.Instance.SetConnectorSetting( this.Id, "Export folder", "C:\\import");
  29. }
  30.  
  31. public void EntityCommentAdded(int entityId, int commentId)
  32. {
  33. IntegrationLogger.Write(LogLevel.Information, "sPECIFICATIONfIELDuPDATED");
  34. //throw new NotImplementedException();
  35. }
  36.  
  37. public void EntityCreated(int entityId)
  38. {
  39. throw new NotImplementedException();
  40. }
  41.  
  42. public void EntityDeleted(inRiver.Remoting.Objects.Entity deletedEntity)
  43. {
  44. throw new NotImplementedException();
  45. }
  46.  
  47. public void EntityFieldSetUpdated(int entityId, string fieldSetId)
  48. {
  49. throw new NotImplementedException();
  50. }
  51.  
  52. public void EntityLocked(int entityId)
  53. {
  54. throw new NotImplementedException();
  55. }
  56.  
  57. public void EntitySpecificationFieldAdded(int entityId, string fieldName)
  58. {
  59. throw new NotImplementedException();
  60. }
  61.  
  62. public void EntitySpecificationFieldUpdated(int entityId, string fieldName)
  63. {
  64. IntegrationLogger.Write(LogLevel.Information, "sPECIFICATIONfIELDuPDATED");
  65. //throw new NotImplementedException();
  66. }
  67.  
  68. public void EntityUnlocked(int entityId)
  69. {
  70. throw new NotImplementedException();
  71. }
  72.  
  73. public void EntityUpdated(int entityId, string[] fields)
  74. {
  75. IntegrationLogger.Write(LogLevel.Information, "Was called");
  76.  
  77. }
  78. }
  79. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement