Class UdefPublishHelper
This class contains helper functions for publishing user-defined fields.
Inheritance
UdefPublishHelper
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class UdefPublishHelper : IUdefPublishHelper
Constructors
UdefPublishHelper(IUdefHelper, ISystemEventHelper)
This class contains helper functions for publishing user-defined fields.
Declaration
public UdefPublishHelper(IUdefHelper udefHelper, ISystemEventHelper systemEventHelper)
Parameters
Methods
ClearCachesAfterPublish()
Flushes all relevant Netserver caches after a publish
Declaration
public void ClearCachesAfterPublish()
DetectChangesInPageOneFields(List<PageOneFieldInfo>, List<PageOneFieldInfo>, int)
Detect changes for one line number in a group of page one fields.
Declaration
public bool DetectChangesInPageOneFields(List<PageOneFieldInfo> adminPageOneFields, List<PageOneFieldInfo> currentPageOneFields, int lineNumber)
Parameters
Returns
DetectColumnIdChangesAsync(UDefType)
Detect if the admin version contain changes to column ids in any of the fields
Used for determining if async publish should be run and if the publish backup warning should be shown
Declaration
public Task<bool> DetectColumnIdChangesAsync(UDefType type)
Parameters
Returns
DetectUnpublishedChangesAsync(UDefType)
Detect changes to admin version. Used to enable/disable "publish" button
Declaration
public Task<bool> DetectUnpublishedChangesAsync(UDefType type)
Parameters
Returns
PublishAsync(UDefType, IProgressHandler)
This class contains helper functions for publishing user-defined fields.
Declaration
public Task PublishAsync(UDefType type, IProgressHandler progressHandler)
Parameters
Returns
PublishSmallChangesAsync(UDefType)
Publish Udef, without changes/reassignments of fields.
Declaration
public Task PublishSmallChangesAsync(UDefType type)
Parameters
Returns
RemoveDuplicateFieldsAsync(UDefType)
This class contains helper functions for publishing user-defined fields.
Declaration
public Task RemoveDuplicateFieldsAsync(UDefType type)
Parameters
Returns
RevertAsync(UDefType)
Revert unpublished udef changes by deleting the Admin version. This method cannot be cancelled halfway
Declaration
public Task RevertAsync(UDefType type)
Parameters
Returns
Implements
Extension Methods