Method matrix/submit


  SUBMIT Submits the given collection of objects to an LTPDA repository
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: Submits the given collection of objects to an LTPDA repository. 
  If multiple objects are submitted together a corresponding collection entry 
  will be made.
 
  If not explicitly disabled the user will be prompt for entering submission
  metadata and for chosing the database where to submit the objects.
 
  CALL:        OUT      = submit(O1, PL)
               OUT      = submit(O1, O2, PL)
 
  INPUTS:      O1, O2, ... - objects to be submitted
               PL          - plist whih submission and repository informations
 
  OUTPUTS:     OUT     - a plist object with fields:
                    IDS         - IDs assigned to the submitted objects
                    CID         - ID of the collection entry
                    UUIDS       - UUIDs of the submitted objects
 
 
  Parameters Description
 
  METADATA:
 
    'experiment title'       - title for the submission (required >4 characters)
    'experiment description' - description of this submission (required >10 characters)
    'analysis description'   - description of the analysis performed (required >10 characters)
    'quantity'               - the physical quantity represented by the data
    'keywords'               - comma-delimited list of keywords
    'reference ids'          - comma-delimited list object IDs
    'additional comments'    - additional comments
    'additional authors'     - additional author names
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ltpda_uo
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
submit
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
  • 0
  • 1
Do not use of the submission form. Mandatory fields must be supplied in the plist.
SINFO FILENAME '' none Path to an XML file containing submission metadata
BINARY 0
  • 0
  • 1
Submit 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], 'SINFO FILENAME', '', 'BINARY', [false])

back to top back to top

Some information of the method ltpda_uo/submit are listed below:
Class name ltpda_uo
Method name submit
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'}




©LTP Team