Repository Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 34: Line 34:


''' Variables '''  
''' Variables '''  
*[[Repository.GetAllVariables]] {{APIComment|{{Template:Repository.GetAllVariables.Cmt}}}}
*[[Repository.GetAllVariables|GetAllVariables]] {{APIComment|{{Template:Repository.GetAllVariables.Cmt}}}}
*[[Repository.AddVariable]] {{APIComment|{{Template:Repository.AddVariable.Cmt}}}}
*[[Repository.AddVariable|AddVariable( cVariable )]] {{APIComment|{{Template:Repository.AddVariable.Cmt}}}}
*[[Repository.UpdateVariable]] {{APIComment|{{Template:Repository.UpdateVariable.Cmt}}}}
*[[Repository.UpdateVariable|UpdateVariable( cVariable )]] {{APIComment|{{Template:Repository.UpdateVariable.Cmt}}}}


''' Corrective Tasks '''  
''' Corrective Tasks '''  
*[[Repository.GetAllCorrectiveTasks]] {{APIComment|{{Template:Repository.GetAllCorrectiveTasks.Cmt}}}}
*[[Repository.GetAllCorrectiveTasks|GetAllCorrectiveTasks]] {{APIComment|{{Template:Repository.GetAllCorrectiveTasks.Cmt}}}}
*[[Repository.AddCorrectiveTask]] {{APIComment|{{Template:Repository.AddCorrectiveTask.Cmt}}}}
*[[Repository.AddCorrectiveTask|AddCorrectiveTask( cCorrectiveTask )]] {{APIComment|{{Template:Repository.AddCorrectiveTask.Cmt}}}}
*[[Repository.UpdateCorrectiveTask]] {{APIComment|{{Template:Repository.UpdateCorrectiveTask.Cmt}}}}
*[[Repository.UpdateCorrectiveTask|UpdateCorrectiveTask( cCorrectiveTask )]] {{APIComment|{{Template:Repository.UpdateCorrectiveTask.Cmt}}}}


''' Scheduled Tasks '''  
''' Scheduled Tasks '''  
*[[Repository.GetAllScheduledTasks]] {{APIComment|{{Template:Repository.GetAllScheduledTasks.Cmt}}}}
*[[Repository.GetAllScheduledTasks|GetAllScheduledTasks]] {{APIComment|{{Template:Repository.GetAllScheduledTasks.Cmt}}}}
*[[Repository.AddScheduledTask]] {{APIComment|{{Template:Repository.AddScheduledTask.Cmt}}}}
*[[Repository.AddScheduledTask|AddScheduledTask( cScheduledTask )]] {{APIComment|{{Template:Repository.AddScheduledTask.Cmt}}}}
*[[Repository.UpdateScheduledTask]] {{APIComment|{{Template:Repository.UpdateScheduledTask.Cmt}}}}
*[[Repository.UpdateScheduledTask|UpdateScheduledTask( cScheduledTask )]] {{APIComment|{{Template:Repository.UpdateScheduledTask.Cmt}}}}


''' Task Types '''  
''' Task Types '''  
*[[Repository.GetAllTaskTypes]] {{APIComment|{{Template:Repository.GetAllTaskTypes.Cmt}}}}
*[[Repository.GetAllTaskTypes|GetAllTaskTypes]] {{APIComment|{{Template:Repository.GetAllTaskTypes.Cmt}}}}


''' Crews '''  
''' Crews '''  
*[[Repository.GetAllCrews]] {{APIComment|{{Template:Repository.GetAllCrews.Cmt}}}}
*[[Repository.GetAllCrews|GetAllCrews]] {{APIComment|{{Template:Repository.GetAllCrews.Cmt}}}}
*[[Repository.AddCrew]] {{APIComment|{{Template:Repository.AddCrew.Cmt}}}}
*[[Repository.AddCrew|AddCrew( cCrew )]] {{APIComment|{{Template:Repository.AddCrew.Cmt}}}}
*[[Repository.UpdateCrew]] {{APIComment|{{Template:Repository.UpdateCrew.Cmt}}}}
*[[Repository.UpdateCrew|UpdateCrew( cCrew )]] {{APIComment|{{Template:Repository.UpdateCrew.Cmt}}}}


''' Pools '''  
''' Pools '''  
*[[Repository.GetAllPools]] {{APIComment|{{Template:Repository.GetAllPools.Cmt}}}}
*[[Repository.GetAllPools|GetAllPools]] {{APIComment|{{Template:Repository.GetAllPools.Cmt}}}}
*[[Repository.AddPool]] {{APIComment|{{Template:Repository.AddPool.Cmt}}}}
*[[Repository.AddPool|AddPool( cPool )]] {{APIComment|{{Template:Repository.AddPool.Cmt}}}}
*[[Repository.UpdatePool]] {{APIComment|{{Template:Repository.UpdatePool.Cmt}}}}
*[[Repository.UpdatePool|UpdatePool( cPool )]] {{APIComment|{{Template:Repository.UpdatePool.Cmt}}}}


''' Action '''  
''' Action '''  
*[[Repository.GetAllActions]] {{APIComment|{{Template:Repository.GetAllActions.Cmt}}}}
*[[Repository.GetAllActions|GetAllActions]] {{APIComment|{{Template:Repository.GetAllActions.Cmt}}}}
*[[Repository.AddAction]] {{APIComment|{{Template:Repository.AddAction.Cmt}}}}
*[[Repository.AddAction|AddAction( cAction )]] {{APIComment|{{Template:Repository.AddAction.Cmt}}}}
*[[Repository.UpdateAction]] {{APIComment|{{Template:Repository.UpdateAction.Cmt}}}}
*[[Repository.UpdateAction|UpdateAction( cAction )]] {{APIComment|{{Template:Repository.UpdateAction.Cmt}}}}


''' BlockSim '''  
''' BlockSim '''  
*[[Repository.ImportBlockSimXMLFile]] {{APIComment|{{Template:Repository.ImportBlockSimXMLFile.Cmt}}}}
*[[Repository.ImportBlockSimXMLFile|ImportBlockSimXMLFile]] {{APIComment|{{Template:Repository.ImportBlockSimXMLFile.Cmt}}}}
*[[Repository.ExportBlockSimXMLFile]] {{APIComment|{{Template:Repository.ExportBlockSimXMLFile.Cmt}}}}
*[[Repository.ExportBlockSimXMLFile|ExportBlockSimXMLFile]] {{APIComment|{{Template:Repository.ExportBlockSimXMLFile.Cmt}}}}


''' Save RawDataSet '''
''' Save RawDataSet '''
*[[Repository.SaveRawDataSet]] {{APIComment|{{Template:Repository.SaveRawDataSet.Cmt}}}}
*[[Repository.SaveRawDataSet|SaveRawDataSet]] {{APIComment|{{Template:Repository.SaveRawDataSet.Cmt}}}}


''' XFRACAS '''  
''' XFRACAS '''  
*[[Repository.GetAllXFRACASEntities]] {{APIComment|{{Template:Repository.GetAllXFRACASEntities.Cmt}}}}
*[[Repository.GetAllXFRACASEntities|GetAllXFRACASEntities]] {{APIComment|{{Template:Repository.GetAllXFRACASEntities.Cmt}}}}
*[[Repository.ImportXFRACASXML]] {{APIComment|{{Template:Repository.ImportXFRACASXML.Cmt}}}}
*[[Repository.ImportXFRACASXML|ImportXFRACASXML]] {{APIComment|{{Template:Repository.ImportXFRACASXML.Cmt}}}}
*[[Repository.ImportXFRACASXMLFile]] {{APIComment|{{Template:Repository.ImportXFRACASXMLFile.Cmt}}}}
*[[Repository.ImportXFRACASXMLFile|ImportXFRACASXMLFile]] {{APIComment|{{Template:Repository.ImportXFRACASXMLFile.Cmt}}}}
*[[Repository.ImportXFRACASXMLString]] {{APIComment|{{Template:Repository.ImportXFRACASXMLString.Cmt}}}}
*[[Repository.ImportXFRACASXMLString|ImportXFRACASXMLString]] {{APIComment|{{Template:Repository.ImportXFRACASXMLString.Cmt}}}}
*[[Repository.SerializeXMLObjectToByteArray]] {{APIComment|{{Template:Repository.SerializeXMLObjectToByteArray.Cmt}}}}
*[[Repository.SerializeXMLObjectToByteArray|SerializeXMLObjectToByteArray]] {{APIComment|{{Template:Repository.SerializeXMLObjectToByteArray.Cmt}}}}
*[[Repository.ProcessXfracasImports]] {{APIComment|{{Template:Repository.ProcessXfracasImports.Cmt}}}}
*[[Repository.ProcessXfracasImports|ProcessXfracasImports]] {{APIComment|{{Template:Repository.ProcessXfracasImports.Cmt}}}}


== Properties ==
== Properties ==
*'''[[Repository.EnforceRENOCompliance|EnforceRENOCompliance]]''' {{APIComment|{{Template:Repository.EnforceRENOCompliance.Cmt}}}}
*'''[[Repository.EnforceRENOCompliance|EnforceRENOCompliance]]''' {{APIComment|{{Template:Repository.EnforceRENOCompliance.Cmt}}}}
*'''[[XFRACASImportType]]''' {{APIComment|Enum for the XFRACAS Import Types.}}
*'''[[XFRACASImportType]]''' {{APIComment|Enum for the XFRACAS Import Types.}}

Revision as of 23:26, 26 February 2014


Template:Repository Class.Cmt

Constructors

Methods

Connect/Disconnect to Repository

Project

Unit

Models

  • GetAllModelsInfo Returns an array containing all model names and their IDs from the current project.
  • GetModel( Integer ) Returns the model from the current project with the specified ID. Returns nothing if the model does not exist or is not in the current project.
  • GetAllModels Returns an array containing all models from the current project.
  • AddModel( cModel ) Saves a new model in the repository.
  • UpdateModel( cModel ) Updates the model in the repository.

URDs

Variables

Corrective Tasks

Scheduled Tasks

Task Types

  • GetAllTaskTypes Retuns an array containing all task types in the repository.

Crews

Pools

Action

BlockSim

  • ImportBlockSimXMLFile Imports from an XML file to the current project.
  • ExportBlockSimXMLFile Creates a new BlockSim XML file and exports items from the current project. If the XML file already exists it will be overridden.

Save RawDataSet

XFRACAS

Properties