C# Class OnlineContentDownloader.FormSiteExportImport

Mostrar archivo Open project: tableau/TabMigrate Class Usage Examples

Private Properties

Property Type Description
AsyncTaskDone_Reporting void
AttemptToShellFile bool
CreateAsyncExportTask TaskMaster
CreateAsyncImportTask TaskMaster
CreateAsyncInventoryTask TaskMaster
ExitApplication void
Form1_FormClosing void
Form1_Load void
GeneratePathFromSiteUrl string
GetDBCredentialsImportPath string
HidePanelIfNotMatch void
InitializeComponent void
ParseArbitraryCommandTextFromUi string
PopulateChooseActionUI void
RunStartupCommandLine void
ScrollToEndOfTextbox void
SetCheckboxFromText void
SetStartupCommandLine void
ShowSinglePanelHideOthers void
StartRunningAsyncTask void
UpdateStatusText void
ValidateSignInPossible bool
btnAbortRun_Click void
btnLinkExportSiteCommandLine_LinkClicked void
btnLinkImportCommandLine_LinkClicked void
btnLinkInventoryCommandLine_LinkClicked void
btnRunExportAsync_Click void
btnShowInventoryFrom_Click void
buttonRunAsyncImport_Click void
buttonRunInventorySiteCommandLine_Click void
buttonRunInventorySite_Click void
chkImportRemapContentOwnership_CheckedChanged void
comboBoxChooseAction_SelectedIndexChanged void
timer1_Tick void

Public Methods

Method Description
FormSiteExportImport ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AsyncTaskDone_Reporting ( TaskMaster taskMaster ) : void

Called after we have detected that the sync task has completed

AttemptToShellFile ( string path ) : bool

Open a file in the Windows shell (e.g. open a textfile or csv file)

CreateAsyncExportTask ( bool showPasswordInUi ) : TaskMaster

Creates the task we use to export a Tableau Server sites content to the local file system

CreateAsyncImportTask ( bool showPasswordInUi ) : TaskMaster

Creates the task we use to export a Tableau Server sites content to the local file system

CreateAsyncInventoryTask ( bool showPasswordInUi ) : TaskMaster

Get an inventory of content on the specified server

ExitApplication ( ) : void

Called to exit the application

Form1_FormClosing ( object sender, FormClosingEventArgs e ) : void

Form1_Load ( object sender, EventArgs e ) : void

GeneratePathFromSiteUrl ( TableauServerUrls siteUrl ) : string

Returns a file system path we can use to store information about the specified site

GetDBCredentialsImportPath ( ) : string

Get the DB credentials path

HidePanelIfNotMatch ( Panel panelHideIfNotMatch, Panel panelMatchMe ) : void

Hide the panel if it does not match

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ParseArbitraryCommandTextFromUi ( TextBox txtBox, string defaultText ) : string

Gives us the arbitrary command text from a textbox

PopulateChooseActionUI ( ) : void
RunStartupCommandLine ( ) : void

Called to run us in commandn line mode

ScrollToEndOfTextbox ( TextBox textbox ) : void
SetCheckboxFromText ( CheckBox chkbox, string value ) : void

Sets the checkbox value to true/false

SetStartupCommandLine ( CommandLineParser commandLine ) : void

Allows the start of the program to pass in command line arguments

ShowSinglePanelHideOthers ( Panel panelShowMe ) : void

Hides all the Inventory/Export/Import panels except the one specified. Positions and shows the current panel

StartRunningAsyncTask ( ) : void

Called to start the background task running

UpdateStatusText ( TaskStatusLogs statusLog ) : void

Shows status text in the textboxes

ValidateSignInPossible ( string siteUrl, string signInUser, string signInPassword ) : bool

Sanity cehck for sign in

btnAbortRun_Click ( object sender, EventArgs e ) : void

Called to quit

btnLinkExportSiteCommandLine_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void
btnLinkImportCommandLine_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void

Called to get the import site command line

btnLinkInventoryCommandLine_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void
btnRunExportAsync_Click ( object sender, EventArgs e ) : void

btnShowInventoryFrom_Click ( object sender, EventArgs e ) : void
buttonRunAsyncImport_Click ( object sender, EventArgs e ) : void

Starts an import into site process....

buttonRunInventorySiteCommandLine_Click ( object sender, EventArgs e ) : void
buttonRunInventorySite_Click ( object sender, EventArgs e ) : void
chkImportRemapContentOwnership_CheckedChanged ( object sender, EventArgs e ) : void
comboBoxChooseAction_SelectedIndexChanged ( object sender, EventArgs e ) : void
timer1_Tick ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

FormSiteExportImport() public method

public FormSiteExportImport ( ) : System
return System