NAME

Siebel::COM::Business:Component - Perl class to represent a Siebel COM Business Component

SYNOPSIS

sub get_bus_comp {

    my $self    = shift;
    my $bc_name = shift;

    my $bc = Siebel::COM::Business::Component->new(
        { '_ole' => $self->get_ole()->GetBusComp($bc_name) } );

    return $bc;

}

DESCRIPTION

Siebel::COM::Business::Component is the related class to Siebel Business Component classes.

Commom usage of this class is indirect since the object is recovered from a Siebel::COM::Business::Object instance (see get_bus_comp method from it).

ATTRIBUTES

None besides the defined by the role Siebel::COM.

METHODS

The methods listed below have exactly the same interface than those of Siebel COM API for Business Components:

  • activate_field = ActivateField

  • get_field_value = GetFieldValue

  • clear_query = ClearToQuery

  • set_search_exp = SetSearchExpr

  • set_search_spec = SetSearchSpec

  • get_search_spec = GetSearchSpec

  • first_record = FirstRecord

  • next_record = NextRecord

  • set_field_value = SetFieldValue

  • write_record = WriteRecord

The following methods have some interface differences from their Siebel COM counterparts:

query

Same thing as ExecuteQuery from Siebel COM API but it defined as default FORWARD_ONLY constant for cursor mode. It accepts a different value for cursor mode although (must probably FORWARD_BACKWARD would be the choice for it).

set_view_mode

Same thing as SetViewMode from Siebel COM API but it defined as default ALL_VIEW constant for view mode. It accepts a different value for it as defined by Siebel::COM::Constants.

EXPORT

None by default.

SEE ALSO

AUTHOR

Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 of Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org<>

This file is part of Siebel COM project.

Siebel COM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Siebel COM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Siebel COM. If not, see <http://www.gnu.org/licenses/>.