<PackageReference Include="Relativity.Server.Services.Interfaces.SDK" Version="5001.1.0" />

Relativity.Services.View.IViewManager

public interface IViewManager : IDisposable
Defines methods for managing Views.
Task<int> CreateSingleAsync(int workspaceArtifactID, View viewDTO)

Asynchronously creates an instance of View in a workspace.

Task<ViewAccessStatus> GetAccessStatusAsync(int workspaceArtifactID, int artifactID)

Asynchronously retrieves information about whether a user has View permissions to a view, and to the fields used in search conditions on the view.

Task<bool> GetIsViewLockedAsync(int workspaceArtifactID, View viewDTO)

Asynchronously returns whether the view is contained in a locked application.

Task<List<ObjectTypeRef>> GetObjectTypesAsync(int workspaceArtifactID)

Asychronously returns list of object types in a workspace.

Task<List<UserRef>> GetViewOwnersAsync(int workspaceArtifactID)

Asynchronously returns workspace users who can be assigned ownership of a view. Users must have view permissions to the view.

Task<View> ReadSingleAsync(int workspaceArtifactID, int viewArtifactID)

Asynchronously returns the current settings for properties on a view.

Task UpdateSingleAsync(int workspaceArtifactID, View viewDTO)

Asynchronously modifies properties on a view.