Home       Servicebereich  Projekte  Kontakt  

OGo::Enterprise




NAME OGo::Enterprise - Access OGo enterprise documents


SYNOPSIS

    use Ogo;
    use OGo::Enterprise;
    my $ogo = new OGo;
    my $Enterprise = new OGo::Enterprise(%params);
    $Enterprise->insert;

new()

OGo::Enterprise constructor. Returns an OGo::Enterprise object.

insert(%params)

Creates an enterprice object in OGo. Params is a hash with the following keys:

  name    => 'name of the company',
  email   => 'email address',
  url     => 'url',
  tel     => 'telephone number',
  fax     => 'Fax number',
  street  => 'street',
  zip     => 'zip code',
  city    => 'city',

fetchIds($id)

Fetches the enterprise document with the id $id from the OGo database. Returns the SOAP::Lite->result from this call.

get($id)

Fetches the enterprise document with the id $id from the OGo database. Returns the SOAP::Lite->result from this call.

delete($id)

Deletes the enterprise entry with the id $id from the OGo database. Returns the SOAP::Lite->result from this call.


< zurück  | weiter >