NAME

GUS::Common::Plugin::SubmitRow - Update a row with values supplied as command line arguments.


SYNOPSIS

ga GUS::Common::Plugin::SubmitRow --helpHTML

ga GUS::Common::Plugin::SubmitRow --tablename tablename --attrlist string-list --valuelist string [--refresh ] [--commit ] [--user string] [--group string] [--project string] [--comment string] [--algoinvo integer] [--gusconfigfile file] >


DESCRIPTION

This plugin either inserts or updates a row in the database, depending upon whether the you provide a primary key as one of the attributes. If you do, that row will be read, updated with the attribute values you supply, and written. Otherwise, a new row will be inserted.

first hello
second bye


TABLES AFFECTED

Core::AlgorithmInvocation

The plugin manager (ga) inserts a row into this table describing the plugin and the parameter values used


TABLES DEPENDED ON

Core::Algorithm

The algorithm (ie, this plugin) responsible for the update

Core::AlgorithmImplementation

The specific implementation of it

Core::AlgorithmParamKey

The keys for the plugin's command line parameters

Core::AlgorithmParamKeyType

The data types of the parameters


RESTARTING

This plugin has no restart facility.


ARGUMENTS IN DETAIL

--tablename tablename (Required)

Name of table or view to submit to

--attrlist string-list (comma delimited) (Required)

List of attributes to update

--valuelist string (Required)

List of values to update (^^^ delimited)

--refresh

True to update the row with new modification data and algorithmInvocation regardless of whether it has changed from the database

default: 0
--commit

Actualy commit changes to the database

default: 0
--user string

Set the user name in new or changed rows with this GUS user name (from Core.UserInfo table) [default is value in gus config file]

--group string

Set the group name in new or changed rows with this GUS group name (from Core.GroupInfo table) [default is value in gus config file]

--project string

set the project name in new or changed rows with this GUS project name (from Core.Project table) [default is value in gus config file]

--comment string

Set Core.AlgorithmInvocation.comment with this comment

--algoinvo integer

Use this algorithm invocation id in the event that a new algorithm invocation id cannot be generated automatically

default: 1
--gusconfigfile file

The gus config file to use [default is $GUS_CONFIG_FILE]

default: /home/sfischer/.gus.properties
format: GUS config file format
mustExist: 1
--help

Request long help

--helpHTML

Request help in HTML


NOTES

This plugin replaces GUS::Common::Plugin::UpdateGusFromCla