SaaS CMS has officially launched! Learn more now.

Class InUseNotificationRepository

Inheritance
System.Object
InUseNotificationRepository
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Shell.Notification
Assembly: EPiServer.UI.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(ServiceType = typeof(IInUseNotificationRepository), Lifecycle = ServiceInstanceScope.Singleton)]
public class InUseNotificationRepository : IInUseNotificationRepository, IDisposable

Constructors

InUseNotificationRepository(DynamicDataStoreFactory, ISynchronizedObjectInstanceCache)

Declaration
public InUseNotificationRepository(DynamicDataStoreFactory storeFactory, ISynchronizedObjectInstanceCache cache)
Parameters
Type Name Description
DynamicDataStoreFactory storeFactory
ISynchronizedObjectInstanceCache cache

Methods

AddInUseNotification(InUseNotification)

Declaration
public bool AddInUseNotification(InUseNotification newNotification)
Parameters
Type Name Description
InUseNotification newNotification
Returns
Type Description
System.Boolean

Dispose()

Declaration
public void Dispose()

Dispose(Boolean)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing

GetAllInUseNotifications()

Declaration
public IEnumerable<InUseNotification> GetAllInUseNotifications()
Returns
Type Description
System.Collections.Generic.IEnumerable<InUseNotification>

GetContentInUseNotification(IContent)

Declaration
public IEnumerable<InUseNotification> GetContentInUseNotification(IContent content)
Parameters
Type Name Description
IContent content
Returns
Type Description
System.Collections.Generic.IEnumerable<InUseNotification>

GetContentInUseNotification(Guid, String)

Declaration
public IEnumerable<InUseNotification> GetContentInUseNotification(Guid contentGuid, string languageBranch)
Parameters
Type Name Description
System.Guid contentGuid
System.String languageBranch
Returns
Type Description
System.Collections.Generic.IEnumerable<InUseNotification>

GetInUseNotification(Identity)

Declaration
public InUseNotification GetInUseNotification(Identity id)
Parameters
Type Name Description
Identity id
Returns
Type Description
InUseNotification

GetInUseNotification(String, IContent)

Declaration
public InUseNotification GetInUseNotification(string user, IContent content)
Parameters
Type Name Description
System.String user
IContent content
Returns
Type Description
InUseNotification

GetInUseNotification(String, Guid, String)

Declaration
public InUseNotification GetInUseNotification(string user, Guid contentGuid, string languageBranch)
Parameters
Type Name Description
System.String user
System.Guid contentGuid
System.String languageBranch
Returns
Type Description
InUseNotification

GetInUseNotification(String, Guid, String, Boolean)

Declaration
public InUseNotification GetInUseNotification(string user, Guid contentGuid, string languageBranch, bool addedManually)
Parameters
Type Name Description
System.String user
System.Guid contentGuid
System.String languageBranch
System.Boolean addedManually
Returns
Type Description
InUseNotification

RemoveInUseNotification(InUseNotification)

Declaration
public void RemoveInUseNotification(InUseNotification inUseNotification)
Parameters
Type Name Description
InUseNotification inUseNotification

UpdateInUseNotification(InUseNotification)

Declaration
public void UpdateInUseNotification(InUseNotification inUseNotification)
Parameters
Type Name Description
InUseNotification inUseNotification

Implements

System.IDisposable

Extension Methods