<PackageReference Include="Relativity.Server.EventHandler.SDK" Version="5000.0.3" />

EventHandlerBase

This is a base class for event handlers.
public Artifact ActiveArtifact { get; set; }

Gets and/or sets an active artifact of the event handler.

public Layout ActiveLayout { get; set; }

Gets and/or sets an active layout of the event handler.

public User ActiveUser { get; set; }

Gets and/or sets an active user of the event handler.

public Application Application { get; set; }

Gets and/or sets an application of the event handler.

Returns a database connection of the event handler.

public virtual string Description { get; }

This property is being deprecated. Please assign a kCura.EventHandler.CustomAttributes.Description attribute to your class.

public IEHHelper Helper { get; set; }

Gets and/or sets the Helper property of the event hendler which returns IEHHelper object from Relativity.API.

Returns a master database connection of the event handler.

public PageMode PageMode { get; set; }

Gets and/or sets a page mode of the event handler.

protected EventHandlerBase()

protected virtual void Dispose(bool disposing)

public void Dispose()

public int GetArtifactIdByGuid(Guid Guid)

Returns the corresponding artifact ID for the given guid identifier. Throws an exception if the artifact guid is not found.

public string GetAuthenticationToken()

Returns an authentication session token used for an event handler interaction with Relativity.

public Guid[] GetGuidsByArtifactId(int artifactId)

Returns the corresponding artifact guids for the given Artifact ID.

public void Initialize(PageMode pageModeIn, Layout activeLayoutIn, Artifact activeArtifactIn, Application applicationIn, int workspaceID, ILicenseMgr licenseManagerIn)

public void SetDatabaseConnection(SqlConnection connection, string masterDbServerName, Hashtable dbLocationCache)

Sets a database connection for a given event handler.

public void SetMasterDatabaseConnection(SqlConnection connection, string masterDbServerName, Hashtable dbLocationCache)

Sets a master database connection for a given event handler.

public void SetSessionToken(string sessionToken)

Sets an authentication session token for a given event handler.

public void SetUser(User value)