Updating documentation to keep up with the latest changes.

This commit is contained in:
sergiotarxz 2022-03-31 18:37:02 +02:00
parent 90f9f743a0
commit 3d9724b144
3 changed files with 93 additions and 1 deletions

View File

@ -14,6 +14,9 @@
<li> <li>
<a href="lib/Peace/DAO/Application.pm.html">Peace::DAO::Application</a> <a href="lib/Peace/DAO/Application.pm.html">Peace::DAO::Application</a>
</li> </li>
<li>
<a href="lib/Peace/DAO/Build.pm.html">Peace::DAO::Build</a>
</li>
<li> <li>
<a href="lib/Peace/DAO/Customer.pm.html">Peace::DAO::Customer</a> <a href="lib/Peace/DAO/Customer.pm.html">Peace::DAO::Customer</a>
</li> </li>

View File

@ -0,0 +1,89 @@
<?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::Build - Database access object of Peace::Model::Build.</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="#recover_by_uuid">recover_by_uuid</a></li>
<li><a href="#create">create</a></li>
</ul>
</li>
<li><a href="#SEE-ALSO">SEE ALSO</a></li>
</ul>
<h1 id="NAME">NAME</h1>
<p>Peace::DAO::Build - Database access object of Peace::Model::Build.</p>
<h1 id="SYNOPSIS">SYNOPSIS</h1>
<pre><code>my $build_dao = Peace::DAO::Build-&gt;new(
dbh =&gt; $dbh,
);
my $build = $build_dao-&gt;recover_by_uuid(
uuid =&gt; $uuid,
);
$build_dao-&gt;create( build =&gt; $build, );</code></pre>
<h1 id="DESCRIPTION">DESCRIPTION</h1>
<p>Peace::DAO::Build allows you to retrieve and create the representation of <a href="../Model/Build.pm.html">Peace::Model::Build</a> in the database table builds.</p>
<h1 id="INSTANCE-METHODS">INSTANCE METHODS</h1>
<p>Peace::DAO::Build implements the following instance methods:</p>
<h2 id="new">new</h2>
<pre><code>my $build_dao = Peace::DAO::Build-&gt;new(
dbh =&gt; $dbh
);</code></pre>
<p>Instances a Peace::DAO::Build object.</p>
<h1 id="METHODS">METHODS</h1>
<p>Peace::DAO::Build implements the following methods:</p>
<h2 id="recover_by_uuid">recover_by_uuid</h2>
<pre><code>my $build = $build_dao-&gt;recover_by_uuid( uuid =&gt; $uuid );</code></pre>
<p>Recovers a <a href="../Model/Build.pm.html">Peace::Model::Build</a> from its uuid.</p>
<h2 id="create">create</h2>
<pre><code>$build_dao-&gt;create( build =&gt; $build );</code></pre>
<p>Creates the database representation of a <a href="../Model/Build.pm.html">Peace::Model::Build</a>.</p>
<h1 id="SEE-ALSO">SEE ALSO</h1>
<p><a href="../Model/Build.pm.html">Peace::Model::Build</a>, <a href="https://metacpan.org/pod/DBI">DBI</a></p>
</body>
</html>

View File

@ -119,7 +119,7 @@ $build-&gt;success($success);</code></pre>
<h1 id="SEE-ALSO">SEE ALSO</h1> <h1 id="SEE-ALSO">SEE ALSO</h1>
<p><a href="Release.pm.html">Peace::Model::Release</a>, <a href="https://metacpan.org/pod/Peace::DAO::Build">Peace::DAO::Build</a></p> <p><a href="Release.pm.html">Peace::Model::Release</a>, <a href="../DAO/Build.pm.html">Peace::DAO::Build</a></p>
</body> </body>