93 lines
2.9 KiB
HTML
93 lines
2.9 KiB
HTML
<?xml version="1.0" ?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>Peace::DAO::Developer - The database access object of developers.</title>
|
|
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
|
<link href="mailto:Alpine@build-edge-aarch64.nonet" rev="made" />
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<ul id="index">
|
|
<li><a href="#NAME">NAME</a></li>
|
|
<li><a href="#SYNOPSIS">SYNOPSIS</a></li>
|
|
<li><a href="#DESCRIPTION">DESCRIPTION</a></li>
|
|
<li><a href="#INSTANCE-METHODS">INSTANCE METHODS</a>
|
|
<ul>
|
|
<li><a href="#new">new</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#METHODS">METHODS</a>
|
|
<ul>
|
|
<li><a href="#create">create</a></li>
|
|
<li><a href="#recover_by_uuid">recover_by_uuid</a></li>
|
|
<li><a href="#recover_by_identifier">recover_by_identifier</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#SEE-ALSO">SEE ALSO</a></li>
|
|
</ul>
|
|
|
|
<h1 id="NAME">NAME</h1>
|
|
|
|
<p>Peace::DAO::Developer - The database access object of developers.</p>
|
|
|
|
<h1 id="SYNOPSIS">SYNOPSIS</h1>
|
|
|
|
<pre><code>my $developer_dao = Peace::DAO::Developer->new( dbh => $dbh );
|
|
|
|
$developer_dao->create( developer => $developer);
|
|
|
|
my $developer = $developer_dao->recover_by_uuid( uuid => $uuid );</code></pre>
|
|
|
|
<h1 id="DESCRIPTION">DESCRIPTION</h1>
|
|
|
|
<p>Peace::DAO::Developer allows you to make database operations over the developers table like recover or create.</p>
|
|
|
|
<h1 id="INSTANCE-METHODS">INSTANCE METHODS</h1>
|
|
|
|
<p>Peace::DAO::Developer implements the following instance methods:</p>
|
|
|
|
<h2 id="new">new</h2>
|
|
|
|
<pre><code>my $developer_dao = Peace::DAO::Developer->new( dbh => $dbh );</code></pre>
|
|
|
|
<p>Builds a <a href="../Model/Developer.pm.html">Peace::Model::Developer</a> object.</p>
|
|
|
|
<h1 id="METHODS">METHODS</h1>
|
|
|
|
<p>Peace::DAO::Developer implements the following methods:</p>
|
|
|
|
<h2 id="create">create</h2>
|
|
|
|
<pre><code>$developer_dao->create( developer => $developer );</code></pre>
|
|
|
|
<p>Creates a representation in database of the passed developer object.</p>
|
|
|
|
<p>As a side effect sets the fields uuid and date_creation in the passed object.</p>
|
|
|
|
<h2 id="recover_by_uuid">recover_by_uuid</h2>
|
|
|
|
<pre><code>my $developer = $developer_dao->recover_by_uuid( uuid => $uuid );</code></pre>
|
|
|
|
<p>Recovers the <a href="../Model/Developer.pm.html">Peace::Model::Developer</a> associated from an uuid from database.</p>
|
|
|
|
<h2 id="recover_by_identifier">recover_by_identifier</h2>
|
|
|
|
<pre><code>my $developer = $developer_dao->recover_by_identifier( identifier => $identifier );</code></pre>
|
|
|
|
<p>Recovers the <a href="../Model/Developer.pm.html">Peace::Model::Developer</a> associated from an identifier from database.</p>
|
|
|
|
<h1 id="SEE-ALSO">SEE ALSO</h1>
|
|
|
|
<p><a href="../DB.pm.html">Peace::DB</a>, <a href="../Model/Developer.pm.html">Peace::Model::Developer</a></p>
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|