Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using inRiver.Integration.Export;
- using inRiver.Integration.Interface;
- using inRiver.Remoting.Objects;
- namespace InRiver_Entity_updates
- {
- using System.ComponentModel;
- using System.Threading;
- using inRiver.Integration.Configuration;
- using inRiver.Integration.Interface;
- using inRiver.Integration.Logging;
- using inRiver.Integration.Reporting;
- using inRiver.Remoting;
- using inRiver.Remoting.Log;
- class EntityListener : ServerListener, IOutboundConnector, IEntityListener
- {
- new public void InitConfigurationSettings() // Defined as virtual in serverListner
- {
- ConfigurationManager.Instance.SetConnectorSetting( this.Id, "Export folder", "C:\\import");
- }
- public void EntityCommentAdded(int entityId, int commentId)
- {
- IntegrationLogger.Write(LogLevel.Information, "sPECIFICATIONfIELDuPDATED");
- //throw new NotImplementedException();
- }
- public void EntityCreated(int entityId)
- {
- throw new NotImplementedException();
- }
- public void EntityDeleted(inRiver.Remoting.Objects.Entity deletedEntity)
- {
- throw new NotImplementedException();
- }
- public void EntityFieldSetUpdated(int entityId, string fieldSetId)
- {
- throw new NotImplementedException();
- }
- public void EntityLocked(int entityId)
- {
- throw new NotImplementedException();
- }
- public void EntitySpecificationFieldAdded(int entityId, string fieldName)
- {
- throw new NotImplementedException();
- }
- public void EntitySpecificationFieldUpdated(int entityId, string fieldName)
- {
- IntegrationLogger.Write(LogLevel.Information, "sPECIFICATIONfIELDuPDATED");
- //throw new NotImplementedException();
- }
- public void EntityUnlocked(int entityId)
- {
- throw new NotImplementedException();
- }
- public void EntityUpdated(int entityId, string[] fields)
- {
- IntegrationLogger.Write(LogLevel.Information, "Was called");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement