NAME

Pangloss::Application::UserEditor - user editor app for Pangloss.

SYNOPSIS

use Pangloss::Application::UserEditor;
my $editor = new Pangloss::Application::UserEditor();

my $view0 = $editor->list();
my $view1 = $editor->add( $user );
my $view2 = $editor->get( $key );
my $view3 = $editor->update( $key, $user );
my $view4 = $editor->remove( $key );
my $view5 = $editor->list_translators();
my $view6 = $editor->list_proofreaders();

DESCRIPTION

This class implements a user editor application for Pangloss.

Inherits from Pangloss::Application::CollectionEditor.

The user editor maintains a list of removed users (which may eventually be moved to its own editor class, or removed entirely due to lack of purpose).

METHODS

$view = $obj->list_translators( [ $view ] )

sets $view->{translators} to a list of users that can translate. As a side-effect, the users collection is listed in the view if not already present.

$view = $obj->list_proofreaders( [ $view ] )

sets $view->{proofreaders} to a list of users that can proofread. As a side-effect, the users collection is listed in the view if not already present.

AUTHOR

Steve Purkis <spurkis@quiup.com>

SEE ALSO

Pangloss, Pangloss::User