| LTPDA Toolbox™ | contents | ![]() |
UPDATE Updates the given object in an LTPDA repository %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: update an LTPDA object in the repository with the given replacement object. The replacement object should be of the same kind of the object that will be updated. CALL: update(OBJ, ID, PL) INPUTS: OBJ - replacement object ID - repository ID of the object to update PL - plist whih submission and repository informations Parameters Description %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
| Method Details | |
|---|---|
| Access | public |
| Defining Class | ltpda_uo |
| Sealed | 0 |
| Static | 0 |
| Sets for this method … |
|---|
| Default |
Default |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| update | |||
| HOSTNAME | '' | none | Database server hostname. |
| DATABASE | '' | none | Database name. |
| USERNAME | '' | none | User name to use when connecting to the database. Leave blank to be prompted. |
| PASSWORD | {} [0x0] | none | Password to use when connecting to the database. Leave blank to be prompted. |
| CONN | [] | none | Java mysql object. |
| EXPERIMENT TITLE | '' | none | Title for the submission |
| EXPERIMENT DESCRIPTION | '' | none | Description of this submission |
| ANALYSIS DESCRIPTION | '' | none | Description of the analysis performed |
| QUANTITY | '' | none | Physical quantity represented by the data |
| KEYWORDS | '' | none | Comma-delimited list of keywords |
| REFERENCE IDS | '' | none | Comma-delimited list of object IDs |
| ADDITIONAL COMMENTS | '' | none | Additional comments |
| ADDITIONAL AUTHORS | '' | none | Additional author names |
| NO DIALOG | 0 |
|
Do not use of the submission form. Mandatory fields must be supplied in the plist. |
| BINARY | 0 |
|
Update only binary version of the objects |
Example |
|---|
| plist('HOSTNAME', '', 'DATABASE', '', 'USERNAME', '', 'PASSWORD', cell(0,0), 'CONN', [[]], 'EXPERIMENT TITLE', '', 'EXPERIMENT DESCRIPTION', '', 'ANALYSIS DESCRIPTION', '', 'QUANTITY', '', 'KEYWORDS', '', 'REFERENCE IDS', '', 'ADDITIONAL COMMENTS', '', 'ADDITIONAL AUTHORS', '', 'NO DIALOG', [false], 'BINARY', [false]) |
back to top
| Some information of the method ltpda_uo/update are listed below: | |
|---|---|
| Class name | ltpda_uo |
| Method name | update |
| Category | Internal |
| Package name | ltpda |
| VCS Version | 967b0eec0dece803a81af8ef54ad2f8c784b20b2 |
| Min input args | 1 |
| Max input args | -1 |
| Min output args | 1 |
| Max output args | -1 |
| Can be used as modifier | 0 |
| Supported numeric types | {'double'} |
|
Method: pzmodel/type | Method: pzmodel/tomfir | ![]() |
©LTP Team