public Dictionary <string, string> GetExtendedProperties(SyncObjectType objectType, Guid objectId) { try { return(configurator.GetExtendedProperties(objectType, objectId)); } catch (Exception ex) { SyncEngineLogger.WriteExceptionToLog(ex, WEB_SERVICE_EXCEPTION_MESSAGE); throw; } }
public string GetExtendedProperty(SyncObjectType objectType, Guid objectId, string key) { try { return(configurator.GetExtendedProperty(objectType, objectId, key)); } catch (Exception ex) { SyncEngineLogger.WriteExceptionToLog(ex, WEB_SERVICE_EXCEPTION_MESSAGE); throw; } }
public void SyncExtendedPropertyChanges(SyncObjectType objectType, Guid objectId, Dictionary <string, string> extendedPropertiesToApply) { try { configurator.SyncExtendedPropertyChanges(objectType, objectId, extendedPropertiesToApply); scheduledJobManager.QueueScheduledJobs(clearExistingScheduledJobInstancesFromWaitingQueue: true); } catch (Exception ex) { SyncEngineLogger.WriteExceptionToLog(ex, WEB_SERVICE_EXCEPTION_MESSAGE); throw; } }
public void DeleteAllExtendedProperties(SyncObjectType objectType, Guid objectId) { try { configurator.DeleteAllExtendedProperties(objectType, objectId); scheduledJobManager.QueueScheduledJobs(clearExistingScheduledJobInstancesFromWaitingQueue: true); } catch (Exception ex) { SyncEngineLogger.WriteExceptionToLog(ex, WEB_SERVICE_EXCEPTION_MESSAGE); throw; } }
public int AddExtendedProperty(SyncObjectType objectType, Guid objectId, string key, string value) { try { var extendedPropertyId = configurator.AddExtendedProperty(objectType, objectId, key, value); scheduledJobManager.QueueScheduledJobs(clearExistingScheduledJobInstancesFromWaitingQueue: true); return(extendedPropertyId); } catch (Exception ex) { SyncEngineLogger.WriteExceptionToLog(ex, WEB_SERVICE_EXCEPTION_MESSAGE); throw; } }