Repository Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 18: Line 18:


*'''[[Repository.GetAllUnits]]''' {{APIComment|Returns the default unit ID.}}
*'''[[Repository.GetAllUnits]]''' {{APIComment|Returns the default unit ID.}}
===== Models =====
*'''[[Repository.GetAllModelsInfo]]''' {{APIComment|Returns an array containing all model names and their IDs from the current project.}}
*'''[[Repository.GetAllModelsInfo]]''' {{APIComment|Returns an array containing all model names and their IDs from the current project.}}
*'''[[Repository.GetModel]]''' {{APIComment|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.}}
*'''[[Repository.GetModel]]''' {{APIComment|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.}}
Line 24: Line 26:
*'''[[Repository.UpdateModel]]''' {{APIComment|Updates the model in the repository. }}
*'''[[Repository.UpdateModel]]''' {{APIComment|Updates the model in the repository. }}


*'''[[GetAllURDs]]''' {{APIComment|Returns an array containing all URDs from the current project.}}
===== URDs =====
*'''[[AddURD]]''' {{APIComment|Saves a new URD in the repository. }}
*'''[[Repository.GetAllURDs]]''' {{APIComment|Returns an array containing all URDs from the current project.}}
*'''[[UpdateURD]]''' {{APIComment|Updates the URD in the repository.}}
*'''[[Repository.AddURD]]''' {{APIComment|Saves a new URD in the repository. }}
*'''[[Repository.UpdateURD]]''' {{APIComment|Updates the URD in the repository.}}
 
*'''[[GetAllVariables]]''' {{APIComment|Returns an array containing all Variables from the current project.}}
*'''[[GetAllVariables]]''' {{APIComment|Returns an array containing all Variables from the current project.}}
*'''[[AddVariable]]''' {{APIComment|Saves a new Variable in the repository.}}
*'''[[AddVariable]]''' {{APIComment|Saves a new Variable in the repository.}}

Revision as of 18:24, 18 September 2013


Provides an application the ability to access and edit Synthesis Repositories.

Constructors

Methods

Connection
Project
Models
URDs
  • GetAllVariables Returns an array containing all Variables from the current project.
  • AddVariable Saves a new Variable in the repository.
  • UpdateVariable Updates the Variable in the repository.
  • GetAllCorrectiveTasks Returns an array containing all corrective tasks from the current project.
  • AddCorrectiveTask Saves the corrective task in the repository.
  • UpdateCorrectiveTask Updates the Corrective task in the repository.
  • GetAllCrews Returns an array containing all crews from the current project.
  • AddCrew Saves the crew in the repository.
  • UpdateCrew Updates the Crew in the repository.
  • GetAllPools Returns an array containing all spare parts pools from the current project.
  • AddPool Saves the spare parts pool in the repository.
  • UpdatePool Updates the spare parts Pool in the repository.
  • AddAction Saves the action in the repository.
  • UpdateAction Updates the Action in the repository.

Properties