176 lines
5.1 KiB
HTML
176 lines
5.1 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::Model::Application - The application object representation.</title>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<link rev="made" href="mailto:Alpine@build-edge-aarch64.nonet" />
|
|
</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="#uuid">uuid</a></li>
|
|
<li><a href="#date_creation">date_creation</a></li>
|
|
<li><a href="#name">name</a></li>
|
|
<li><a href="#description">description</a></li>
|
|
<li><a href="#url">url</a></li>
|
|
<li><a href="#developer">developer</a></li>
|
|
<li><a href="#price">price</a></li>
|
|
<li><a href="#git_repo">git_repo</a></li>
|
|
<li><a href="#flatpak_builder_file">flatpak_builder_file</a></li>
|
|
<li><a href="#verified">verified</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#SEE-ALSO">SEE ALSO</a></li>
|
|
</ul>
|
|
|
|
<h1 id="NAME">NAME</h1>
|
|
|
|
<p>Peace::Model::Application - The application object representation.</p>
|
|
|
|
<h1 id="SYNOPSIS">SYNOPSIS</h1>
|
|
|
|
<pre><code>my $application = Peace::Model::Application->new(
|
|
name => $name,
|
|
description => $description,
|
|
url => $url,
|
|
developer => $developer,
|
|
price => $price,
|
|
git_repo => $git_repo,
|
|
flatpak_builder_file => $flatpak_builder_file,
|
|
verified => $verified,
|
|
);</code></pre>
|
|
|
|
<h1 id="DESCRIPTION">DESCRIPTION</h1>
|
|
|
|
<p>Describes a application from Peace for sale.</p>
|
|
|
|
<h1 id="INSTANCE-METHODS">INSTANCE METHODS</h1>
|
|
|
|
<p>Peace::Model::Application implements the following instance methods:</p>
|
|
|
|
<h2 id="new">new</h2>
|
|
|
|
<pre><code>my $application = Peace::Model::Application->new(
|
|
uuid => $uuid, # optional
|
|
date_creation => $date_creation, # optional
|
|
name => $name,
|
|
description => $description,
|
|
url => $url,
|
|
developer => $developer, # required or developer_uuid should be passed.
|
|
developer_uuid => $developer_uuid, # required or developer should be passed.
|
|
dbh => $dbh, # needed if developer_uuid is passed.
|
|
price => $price,
|
|
git_repo => $git_repo,
|
|
flatpak_builder_file => $flatpak_builder_file,
|
|
verified => $verified,
|
|
);</code></pre>
|
|
|
|
<h1 id="METHODS">METHODS</h1>
|
|
|
|
<p>Peace::Model::Application implements the following methods:</p>
|
|
|
|
<h2 id="uuid">uuid</h2>
|
|
|
|
<pre><code>my $uuid = $application->uuid;
|
|
|
|
$application->uuid($uuid);</code></pre>
|
|
|
|
<p>Allows to retrieve and set the application's uuid.</p>
|
|
|
|
<h2 id="date_creation">date_creation</h2>
|
|
|
|
<pre><code>my $date_creation = $application->date_creation;
|
|
|
|
$application->date_creation($date_creation);</code></pre>
|
|
|
|
<p>Allows to retrieve and set the application's date_creation.</p>
|
|
|
|
<h2 id="name">name</h2>
|
|
|
|
<pre><code>my $name = $application->name;
|
|
|
|
$application->name($name);</code></pre>
|
|
|
|
<p>Allows to retrieve and set the application's name.</p>
|
|
|
|
<h2 id="description">description</h2>
|
|
|
|
<pre><code>my $description = $application->description;
|
|
|
|
$application->description($description);</code></pre>
|
|
|
|
<p>Allows to retrieve and set the application's description.</p>
|
|
|
|
<h2 id="url">url</h2>
|
|
|
|
<pre><code>my $url = $application->url;
|
|
|
|
$application->url($url);</code></pre>
|
|
|
|
<p>Allows to retrieve and set the application's url.</p>
|
|
|
|
<h2 id="developer">developer</h2>
|
|
|
|
<pre><code>my $developer = $application->developer;
|
|
|
|
$application->developer($developer);</code></pre>
|
|
|
|
<p>Allows to retrieve and set the application's developer which is a <a>Peace::Model::Developer</a>.</p>
|
|
|
|
<h2 id="price">price</h2>
|
|
|
|
<pre><code>my $price = $application->price;
|
|
|
|
$application->price($price);</code></pre>
|
|
|
|
<p>Allows to retrieve and set the application's price.</p>
|
|
|
|
<h2 id="git_repo">git_repo</h2>
|
|
|
|
<pre><code>my $git_repo = $application->git_repo;
|
|
|
|
$application->git_repo($git_repo);</code></pre>
|
|
|
|
<p>Allows to retrieve and set the application's git_repo.</p>
|
|
|
|
<h2 id="flatpak_builder_file">flatpak_builder_file</h2>
|
|
|
|
<pre><code>my $flatpak_builder_file = $application->flatpak_builder_file;
|
|
|
|
$application->flatpak_builder_file($flatpak_builder_file);</code></pre>
|
|
|
|
<p>Allows to retrieve and set the application's flatpak_builder_file.</p>
|
|
|
|
<h2 id="verified">verified</h2>
|
|
|
|
<pre><code>my $verified = $application->verified;
|
|
|
|
$application->verified($verified);</code></pre>
|
|
|
|
<p>Allows to retrieve and set the application's verified status.</p>
|
|
|
|
<h1 id="SEE-ALSO">SEE ALSO</h1>
|
|
|
|
<p><a>Peace::Model::Developer</a>, <a>Peace::DAO::Application</a></p>
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|