Solstice::AuthZ::Role - Models a group of allowed/disallowed actions.


Solstice documentation  | view source Contained in the Solstice distribution.

Index


NAME

Top

Solstice::AuthZ::Role - Models a group of allowed/disallowed actions.

SYNOPSIS

Top

  use Action;

  my $model = Action->new();
  # The following accessors were created auto-magically by majere...

  my $obj = $model->getName();
  $model->setName($obj);

  my $obj = $model->getDescription();
  $model->setDescription($obj);

  my $obj = $model->getAppID();
  $model->setAppID($obj);

DESCRIPTION

Top

Represents an Authz Action record.

Superclass

Solstice::Model (Solstice::Model)

Export

No symbols exported.

Methods

new()

Constructor.

getName()

An accessor for _name.

setName($obj)

An accessor for _name.

getSTID()

An accessor for _name.

setSTID($obj)

An accessor for _name.

addAction

adds an action to the list of allowed permissions =cut

sub addActions{ my $self = shift; my @actions = @_;

    push @{$self->{_actions}}, @actions;
}

sub getActions{ my $self = shift; wantarray ? return @{$self->{_actions}} : return $self->{_actions}; }

sub clearActions{ my $self = shift; $self->{_actions} = []; }

Private Methods

_init($id)

Sets up the object

Modules Used

Solstice::AuthZ::Action, Solstice::Database, Solstice::Model (Solstice::Model).

AUTHOR

Top

Catalyst Group, <catalyst@u.washington.edu>

VERSION

Top

$Revision: 3384 $

COPYRIGHT

Top


Solstice documentation  | view source Contained in the Solstice distribution.