C# Class SenseNet.Messaging.Subscription

Inheritance: INotifyPropertyChanging, INotifyPropertyChanged
Mostra file Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Property Type Description
AddRelatedEvent void
GetActiveSubscriptionsByFrequency IEnumerable
GetSubscriptionsByUser IEnumerable
OnActiveChanged void
OnActiveChanging void
OnContentPathChanged void
OnContentPathChanging void
OnCreated void
OnFrequencyIdChanged void
OnFrequencyIdChanging void
OnLanguageChanged void
OnLanguageChanging void
OnLoaded void
OnSitePathChanged void
OnSitePathChanging void
OnSiteUrlChanged void
OnSiteUrlChanging void
OnSubscriptionIdChanged void
OnSubscriptionIdChanging void
OnUserEmailChanged void
OnUserEmailChanging void
OnUserIdChanged void
OnUserIdChanging void
OnUserNameChanged void
OnUserNameChanging void
OnUserPathChanged void
OnUserPathChanging void
OnValidate void
SetActivation void

Public Methods

Method Description
ActivateSubscription ( User subscriber, System.Data.Node target ) : void
DeleteAllSubscriptions ( ) : void
GetActiveSubscriptionsByUser ( User subscriber ) : IEnumerable
GetActiveSubscriptionsByUser ( string userPath ) : IEnumerable
GetAllSubscriptions ( ) : IEnumerable
GetCountOfSubscriptions ( ) : int
GetInactiveSubscriptionsByUser ( User subscriber ) : IEnumerable
GetInactiveSubscriptionsByUser ( string userPath ) : IEnumerable
GetSubscriptionByUser ( User subscriber, System.Data.Node target ) : Subscription
GetSubscriptionByUser ( User subscriber, System.Data.Node target, bool isActive ) : Subscription
GetSubscriptionByUser ( string subscriberPath, string contentPath ) : Subscription
GetSubscriptionByUser ( string subscriberPath, string contentPath, bool isActive ) : Subscription
GetSubscriptionsByContent ( System.Data.Node target ) : IEnumerable
GetSubscriptionsByContent ( string contentPath ) : IEnumerable
GetSubscriptionsByUser ( User subscriber ) : IEnumerable
GetSubscriptionsByUser ( string userPath ) : IEnumerable
InactivateSubscription ( User subscriber, System.Data.Node target ) : void
Save ( ) : void
Subscribe ( User subscriber, System.Data.Node target, NotificationFrequency frequency, string language, string sitePath, string siteUrl ) : void
Subscribe ( User subscriber, System.Data.Node target, NotificationFrequency frequency, string language, string sitePath, string siteUrl, bool isActive ) : void
Subscription ( ) : System.Data.Linq
UnSubscribe ( User subscriber, System.Data.Node target ) : void
UnSubscribeAll ( User subscriber ) : void
UnSubscribeFrom ( System.Data.Node target ) : void

Protected Methods

Method Description
SendPropertyChanged ( String propertyName ) : void
SendPropertyChanging ( ) : void

Private Methods

Method Description
AddRelatedEvent ( Event @event ) : void
GetActiveSubscriptionsByFrequency ( NotificationFrequency frequency ) : IEnumerable
GetSubscriptionsByUser ( string subscriberPath, bool isActive ) : IEnumerable
OnActiveChanged ( ) : void
OnActiveChanging ( byte value ) : void
OnContentPathChanged ( ) : void
OnContentPathChanging ( string value ) : void
OnCreated ( ) : void
OnFrequencyIdChanged ( ) : void
OnFrequencyIdChanging ( int value ) : void
OnLanguageChanged ( ) : void
OnLanguageChanging ( string value ) : void
OnLoaded ( ) : void
OnSitePathChanged ( ) : void
OnSitePathChanging ( string value ) : void
OnSiteUrlChanged ( ) : void
OnSiteUrlChanging ( string value ) : void
OnSubscriptionIdChanged ( ) : void
OnSubscriptionIdChanging ( int value ) : void
OnUserEmailChanged ( ) : void
OnUserEmailChanging ( string value ) : void
OnUserIdChanged ( ) : void
OnUserIdChanging ( int value ) : void
OnUserNameChanged ( ) : void
OnUserNameChanging ( string value ) : void
OnUserPathChanged ( ) : void
OnUserPathChanging ( string value ) : void
OnValidate ( System action ) : void
SetActivation ( User subscriber, System.Data.Node target, bool value ) : void

Method Details

ActivateSubscription() public static method

public static ActivateSubscription ( User subscriber, System.Data.Node target ) : void
subscriber User
target System.Data.Node
return void

DeleteAllSubscriptions() public static method

public static DeleteAllSubscriptions ( ) : void
return void

GetActiveSubscriptionsByUser() public static method

public static GetActiveSubscriptionsByUser ( User subscriber ) : IEnumerable
subscriber User
return IEnumerable

GetActiveSubscriptionsByUser() public static method

public static GetActiveSubscriptionsByUser ( string userPath ) : IEnumerable
userPath string
return IEnumerable

GetAllSubscriptions() public static method

public static GetAllSubscriptions ( ) : IEnumerable
return IEnumerable

GetCountOfSubscriptions() public static method

public static GetCountOfSubscriptions ( ) : int
return int

GetInactiveSubscriptionsByUser() public static method

public static GetInactiveSubscriptionsByUser ( User subscriber ) : IEnumerable
subscriber User
return IEnumerable

GetInactiveSubscriptionsByUser() public static method

public static GetInactiveSubscriptionsByUser ( string userPath ) : IEnumerable
userPath string
return IEnumerable

GetSubscriptionByUser() public static method

public static GetSubscriptionByUser ( User subscriber, System.Data.Node target ) : Subscription
subscriber User
target System.Data.Node
return Subscription

GetSubscriptionByUser() public static method

public static GetSubscriptionByUser ( User subscriber, System.Data.Node target, bool isActive ) : Subscription
subscriber User
target System.Data.Node
isActive bool
return Subscription

GetSubscriptionByUser() public static method

public static GetSubscriptionByUser ( string subscriberPath, string contentPath ) : Subscription
subscriberPath string
contentPath string
return Subscription

GetSubscriptionByUser() public static method

public static GetSubscriptionByUser ( string subscriberPath, string contentPath, bool isActive ) : Subscription
subscriberPath string
contentPath string
isActive bool
return Subscription

GetSubscriptionsByContent() public static method

public static GetSubscriptionsByContent ( System.Data.Node target ) : IEnumerable
target System.Data.Node
return IEnumerable

GetSubscriptionsByContent() public static method

public static GetSubscriptionsByContent ( string contentPath ) : IEnumerable
contentPath string
return IEnumerable

GetSubscriptionsByUser() public static method

public static GetSubscriptionsByUser ( User subscriber ) : IEnumerable
subscriber User
return IEnumerable

GetSubscriptionsByUser() public static method

public static GetSubscriptionsByUser ( string userPath ) : IEnumerable
userPath string
return IEnumerable

InactivateSubscription() public static method

public static InactivateSubscription ( User subscriber, System.Data.Node target ) : void
subscriber User
target System.Data.Node
return void

Save() public method

public Save ( ) : void
return void

SendPropertyChanged() protected method

protected SendPropertyChanged ( String propertyName ) : void
propertyName String
return void

SendPropertyChanging() protected method

protected SendPropertyChanging ( ) : void
return void

Subscribe() public static method

public static Subscribe ( User subscriber, System.Data.Node target, NotificationFrequency frequency, string language, string sitePath, string siteUrl ) : void
subscriber User
target System.Data.Node
frequency NotificationFrequency
language string
sitePath string
siteUrl string
return void

Subscribe() public static method

public static Subscribe ( User subscriber, System.Data.Node target, NotificationFrequency frequency, string language, string sitePath, string siteUrl, bool isActive ) : void
subscriber User
target System.Data.Node
frequency NotificationFrequency
language string
sitePath string
siteUrl string
isActive bool
return void

Subscription() public method

public Subscription ( ) : System.Data.Linq
return System.Data.Linq

UnSubscribe() public static method

public static UnSubscribe ( User subscriber, System.Data.Node target ) : void
subscriber User
target System.Data.Node
return void

UnSubscribeAll() public static method

public static UnSubscribeAll ( User subscriber ) : void
subscriber User
return void

UnSubscribeFrom() public static method

public static UnSubscribeFrom ( System.Data.Node target ) : void
target System.Data.Node
return void