NAME
ETLp::Audit::Browser::Model::Item - Model Class for interacting with Runtime Item Audit Records
SYNOPSIS
use ETLp::Audit::Browser::Model::Item;
my $model = ETLp::Audit::Browser::Model::Item->new();
my $items = $model->get_items(page => 1);
METHODS
get_items
Returns a resultset on the ep_Item table. It will grab 20 rows at a time, and is ordered by date_updated descending
Parameters
* page. Integer. The page you to fetch. Defaults to one
* item_id. Optional. The specific item to fetch
* job_id. Optional. The job that created the item
* status_id. Optional. Filter on item status
* item_name. Optional. Fetch item with the supplied name
* filename. Optional. Fetch items that processed the supplied file
Returns
* A DBIx::Class resultset
get_item_name_list
Returns a list of all distinct item names for the supplied process id
Parameters
* job_id. Integer
Returns
* A DBIx:Class resultset containing a list of item names
LICENSE AND COPYRIGHT
Copyright 2010 Redbone Systems Ltd
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
The terms are in the LICENSE file that accompanies this application