C# Class BExIS.Web.Shell.Areas.DCM.Controllers.CreateDatasetController

Inheritance: Controller
显示文件 Open project: BEXIS2/Core

Public Methods

Method Description
Cancel ( ) : System.Web.Mvc.ActionResult
Copy ( ) : System.Web.Mvc.ActionResult
GetUsernameOrDefault ( ) : string
Index ( long id = -1, string type = "" ) : System.Web.Mvc.ActionResult

Load the createDataset action with different parameter type options type eg ("DataStructureId", "DatasetId", "MetadataStructureId")

LoadDataStructureViewList ( ) : List
LoadDatasetViewList ( ) : List
LoadMetadataStructureViewList ( ) : List
ReloadIndex ( long id = -1, string type = "" ) : System.Web.Mvc.ActionResult

ReLoad the createDataset action with different parameter type options type eg ("DataStructureId", "DatasetId", "MetadataStructureId")

Reset ( ) : System.Web.Mvc.ActionResult
ShowData ( long id ) : System.Web.Mvc.ActionResult

redirect to the DDM/Data/ShowData Action

ShowListOfDataStructuresReciever ( long id ) : System.Web.Mvc.ActionResult
ShowListOfDatasetsReciever ( long id ) : System.Web.Mvc.ActionResult
ShowListOfMetadataStructuresReciever ( long id ) : System.Web.Mvc.ActionResult
StartUploadWizard ( ) : System.Web.Mvc.ActionResult

Load the UploadWizard with preselected parameters and redirect to "UploadWizard", "Submit", area = "DCM"

StoreSelectedDatasetSetup ( SetupModel model ) : System.Web.Mvc.ActionResult
Submit ( ) : System.Web.Mvc.ActionResult
SubmitDataset ( ) : long

Submit a Dataset based on the imformations in the CreateTaskManager

Private Methods

Method Description
GetDataStructureType ( long id ) : DataStructureType
GetDefaultModel ( ) : SetupModel
LoadLists ( SetupModel model ) : SetupModel

load all existing lists for this step if there are stored in the session

SetXml ( System.Xml.Linq.XDocument metadataXml ) : void

Store the incoming xmldocument in the bus of the Create TaskManager with the METADATA_XML key

ShowListOfDataStructures ( ) : System.Web.Mvc.ActionResult
ShowListOfDatasets ( ) : System.Web.Mvc.ActionResult
ShowListOfMetadataStructures ( ) : System.Web.Mvc.ActionResult
StoreSelectedDataset ( long id ) : System.Web.Mvc.ActionResult
StoreSelectedOption ( long id, string type ) : System.Web.Mvc.ActionResult
setAdditionalFunctions ( ) : void

Method Details

Cancel() public method

public Cancel ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Copy() public method

public Copy ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

GetUsernameOrDefault() public method

public GetUsernameOrDefault ( ) : string
return string

Index() public method

Load the createDataset action with different parameter type options type eg ("DataStructureId", "DatasetId", "MetadataStructureId")
public Index ( long id = -1, string type = "" ) : System.Web.Mvc.ActionResult
id long
type string
return System.Web.Mvc.ActionResult

LoadDataStructureViewList() public method

public LoadDataStructureViewList ( ) : List
return List

LoadDatasetViewList() public method

public LoadDatasetViewList ( ) : List
return List

LoadMetadataStructureViewList() public method

public LoadMetadataStructureViewList ( ) : List
return List

ReloadIndex() public method

ReLoad the createDataset action with different parameter type options type eg ("DataStructureId", "DatasetId", "MetadataStructureId")
public ReloadIndex ( long id = -1, string type = "" ) : System.Web.Mvc.ActionResult
id long
type string
return System.Web.Mvc.ActionResult

Reset() public method

public Reset ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

ShowData() public method

redirect to the DDM/Data/ShowData Action
public ShowData ( long id ) : System.Web.Mvc.ActionResult
id long
return System.Web.Mvc.ActionResult

ShowListOfDataStructuresReciever() public method

public ShowListOfDataStructuresReciever ( long id ) : System.Web.Mvc.ActionResult
id long
return System.Web.Mvc.ActionResult

ShowListOfDatasetsReciever() public method

public ShowListOfDatasetsReciever ( long id ) : System.Web.Mvc.ActionResult
id long
return System.Web.Mvc.ActionResult

ShowListOfMetadataStructuresReciever() public method

public ShowListOfMetadataStructuresReciever ( long id ) : System.Web.Mvc.ActionResult
id long
return System.Web.Mvc.ActionResult

StartUploadWizard() public method

Load the UploadWizard with preselected parameters and redirect to "UploadWizard", "Submit", area = "DCM"
public StartUploadWizard ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

StoreSelectedDatasetSetup() public method

public StoreSelectedDatasetSetup ( SetupModel model ) : System.Web.Mvc.ActionResult
model BExIS.Web.Shell.Areas.DCM.Models.CreateDataset.SetupModel
return System.Web.Mvc.ActionResult

Submit() public method

public Submit ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

SubmitDataset() public method

Submit a Dataset based on the imformations in the CreateTaskManager
public SubmitDataset ( ) : long
return long