C# Class OnlineVideos.MediaPortal2.SiteManagementWorkflowModel

Inheritance: IWorkflowModel
Afficher le fichier Open project: offbyoneBB/mp-onlinevideos2

Protected Properties

Свойство Type Description
_dialogCloseWatcher MediaPortal.UI.Presentation.Screens.DialogCloseWatcher
_filterLanguageProperty MediaPortal.Common.General.AbstractProperty
_filterOwnerProperty MediaPortal.Common.General.AbstractProperty
_filterStateProperty MediaPortal.Common.General.AbstractProperty
_messageQueue MediaPortal.Common.Messaging.AsynchronousMessageQueue
_settingsWatcher SettingsChangeWatcher
_sortProperty MediaPortal.Common.General.AbstractProperty
newDataSaved bool
newDllsDownloaded bool

Méthodes publiques

Méthode Description
CanEnterState ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : bool
ChangeModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext, bool push ) : void
CreateMenuActions ( MediaPortal.UI.Presentation.Workflow.NavigationContext context, WorkflowAction>.IDictionary actions ) : void
Deactivate ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
EnterModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
ExecuteSiteOption ( MediaPortal.UI.Presentation.DataObjects.ListItem option ) : void
ExitModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
GetFilteredAndSortedSites ( ) : void
OnlineVideosMessageReceived ( MediaPortal.Common.Messaging.AsynchronousMessageQueue queue, MediaPortal.Common.Messaging.SystemMessage message ) : void
OnlineVideosSettingsChanged ( object sender, EventArgs e ) : void
Reactivate ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
RemoveAllSites ( ) : void
ReportSite ( string userReason, OnlineVideosWebservice site ) : void
ShowSiteOptions ( OnlineSiteViewModel item ) : void
SiteManagementWorkflowModel ( ) : MediaPortal.Common
UpdateMenuActions ( MediaPortal.UI.Presentation.Workflow.NavigationContext context, WorkflowAction>.IDictionary actions ) : void
UpdateScreen ( MediaPortal.UI.Presentation.Workflow.NavigationContext context, string &screen ) : ScreenUpdateMode

Private Methods

Méthode Description
CompareSiteForSort ( OnlineVideosWebservice site1, OnlineVideosWebservice site2 ) : int
CreateLanguagesList ( ) : ItemsList
CreateOwnersList ( ) : ItemsList
CreateSortOptionsList ( ) : ItemsList
CreateStatesList ( ) : ItemsList
GetSiteOptions ( OnlineSiteViewModel item ) : ItemsList
GetUserReports ( OnlineSiteViewModel item ) : ItemsList
SitePassesFilter ( OnlineVideosWebservice site ) : bool

Method Details

CanEnterState() public méthode

public CanEnterState ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : bool
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
Résultat bool

ChangeModelContext() public méthode

public ChangeModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext, bool push ) : void
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
push bool
Résultat void

CreateMenuActions() public méthode

public CreateMenuActions ( MediaPortal.UI.Presentation.Workflow.NavigationContext context, WorkflowAction>.IDictionary actions ) : void
context MediaPortal.UI.Presentation.Workflow.NavigationContext
actions WorkflowAction>.IDictionary
Résultat void

Deactivate() public méthode

public Deactivate ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
Résultat void

EnterModelContext() public méthode

public EnterModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
Résultat void

ExecuteSiteOption() public méthode

public ExecuteSiteOption ( MediaPortal.UI.Presentation.DataObjects.ListItem option ) : void
option MediaPortal.UI.Presentation.DataObjects.ListItem
Résultat void

ExitModelContext() public méthode

public ExitModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
Résultat void

GetFilteredAndSortedSites() public méthode

public GetFilteredAndSortedSites ( ) : void
Résultat void

OnlineVideosMessageReceived() public méthode

public OnlineVideosMessageReceived ( MediaPortal.Common.Messaging.AsynchronousMessageQueue queue, MediaPortal.Common.Messaging.SystemMessage message ) : void
queue MediaPortal.Common.Messaging.AsynchronousMessageQueue
message MediaPortal.Common.Messaging.SystemMessage
Résultat void

OnlineVideosSettingsChanged() public méthode

public OnlineVideosSettingsChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Reactivate() public méthode

public Reactivate ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
Résultat void

RemoveAllSites() public méthode

public RemoveAllSites ( ) : void
Résultat void

ReportSite() public méthode

public ReportSite ( string userReason, OnlineVideosWebservice site ) : void
userReason string
site OnlineVideosWebservice
Résultat void

ShowSiteOptions() public méthode

public ShowSiteOptions ( OnlineSiteViewModel item ) : void
item OnlineSiteViewModel
Résultat void

SiteManagementWorkflowModel() public méthode

public SiteManagementWorkflowModel ( ) : MediaPortal.Common
Résultat MediaPortal.Common

UpdateMenuActions() public méthode

public UpdateMenuActions ( MediaPortal.UI.Presentation.Workflow.NavigationContext context, WorkflowAction>.IDictionary actions ) : void
context MediaPortal.UI.Presentation.Workflow.NavigationContext
actions WorkflowAction>.IDictionary
Résultat void

UpdateScreen() public méthode

public UpdateScreen ( MediaPortal.UI.Presentation.Workflow.NavigationContext context, string &screen ) : ScreenUpdateMode
context MediaPortal.UI.Presentation.Workflow.NavigationContext
screen string
Résultat ScreenUpdateMode

Property Details

_dialogCloseWatcher protected_oe property

protected DialogCloseWatcher,MediaPortal.UI.Presentation.Screens _dialogCloseWatcher
Résultat MediaPortal.UI.Presentation.Screens.DialogCloseWatcher

_filterLanguageProperty protected_oe property

protected AbstractProperty,MediaPortal.Common.General _filterLanguageProperty
Résultat MediaPortal.Common.General.AbstractProperty

_filterOwnerProperty protected_oe property

protected AbstractProperty,MediaPortal.Common.General _filterOwnerProperty
Résultat MediaPortal.Common.General.AbstractProperty

_filterStateProperty protected_oe property

protected AbstractProperty,MediaPortal.Common.General _filterStateProperty
Résultat MediaPortal.Common.General.AbstractProperty

_messageQueue protected_oe property

protected AsynchronousMessageQueue,MediaPortal.Common.Messaging _messageQueue
Résultat MediaPortal.Common.Messaging.AsynchronousMessageQueue

_settingsWatcher protected_oe property

protected SettingsChangeWatcher _settingsWatcher
Résultat SettingsChangeWatcher

_sortProperty protected_oe property

protected AbstractProperty,MediaPortal.Common.General _sortProperty
Résultat MediaPortal.Common.General.AbstractProperty

newDataSaved protected_oe property

protected bool newDataSaved
Résultat bool

newDllsDownloaded protected_oe property

protected bool newDllsDownloaded
Résultat bool