Solstice::ProcessService - Manages the input and output of embedded pageflows.


Solstice documentation Contained in the Solstice distribution.

Index


Code Index:

NAME

Top

Solstice::ProcessService - Manages the input and output of embedded pageflows.

SYNOPSIS

Top

  my $service = Solstice::ProcessService->new();

  my $output_value = $service->getOutputValue();
  my $input_value  = $service->getInputValue();
  my $is_entrance  = $service->getIsPageFlowEntrance();
  my $is_exit      = $service->getIsPageFlowExit();

  $service->setInputValue('value');
  $service->SetOutputValue('value');

DESCRIPTION

Top

A service interface to values that allow a service process to communicate with the application it is embedded in. Most of the time you should only need to use the get/set value functions. If you have several possible services that you are getting data from, you can use the input/output names to help distinguish them.

Superclass

Solstice::Service

Export

No symbols exported.

Methods

new()

Constructor.

setInputName('name');
getInputName() =cut
setOutputName('name') =cut
getOutputName() =cut
setInputValue('value') =cut
getInputValue() =cut
setOutputValue('value') =cut
getOutputValue() =cut
getIsPageFlowEntrance() =cut
getIsPageFlowExit() =cut
setIsPageFlowEntrance() =cut
setIsPageFlowExit() =cut

Private Methods

_getClassName()

AUTHOR

Top

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

VERSION

Top

$Revision: 2263 $

COPYRIGHT

Top


Solstice documentation Contained in the Solstice distribution.
package Solstice::ProcessService;

# $Id: Service.pm 2263 2005-05-20 17:58:55Z mcrawfor $

use 5.006_000;
use strict;
use warnings;

use base qw(Solstice::Service);

our ($VERSION) = ('$Revision: 2263 $' =~ /^\$Revision:\s*([\d.]*)/);

sub new {
    my $obj = shift;
    return $obj->SUPER::new(@_);
}

sub setInputName {
    my $self = shift;
    my $name = shift;
    warn "setInputName is depricated.  Caller: ".join(' ', caller)."\n"; 
    $self->set('input_name', $name);
}

sub getInputName {
    my $self = shift;
    warn "getInputName is depricated.  Caller: ".join(' ', caller)."\n"; 
    return $self->get('input_name');
}

sub setOutputName {
    my $self = shift;
    my $name = shift;
    warn "setOutputName is depricated.  Caller: ".join(' ', caller)."\n"; 
    $self->set('output_name', $name);
}

sub getOutputName {
    my $self = shift;
    warn "getOutputName is depricated.  Caller: ".join(' ', caller)."\n"; 
    return $self->get('output_name');
}

sub setInputValue {
    my $self = shift;
    my $value = shift;
    $self->set('input_value', $value);
}

sub getInputValue {
    my $self = shift;
    return $self->get('input_value');
}

sub setOutputValue {
    my $self = shift;
    my $value = shift;
    $self->set('output_value', $value);
}

sub getOutputValue {
    my $self = shift;
    return $self->get('output_value');
}

sub getIsPageFlowEntrance {
    my $self = shift;
    return $self->get('is_pageflow_entrance');
}

sub getIsPageFlowExit {
    my $self = shift;
    return $self->get('is_pageflow_exit');
}


sub setIsPageFlowEntrance {
    my $self = shift;
    my $value = shift;
    $self->set('is_pageflow_entrance', $value);
}

sub setIsPageFlowExit {
    my $self = shift;
    my $value = shift;
    $self->set('is_pageflow_exit', $value);
}

sub _getClassName {
    return 'Solstice::ProcessService';
}

1;
__END__