Siebel::COM::Business:Component - Perl class to represent a Siebel COM Business Component
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; }
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).
get_bus_comp
None besides the defined by the role Siebel::COM.
The methods listed below have exactly the same interface than those of Siebel COM API for Business Components:
Equal to ActivateField method, but also returns true if successful.
Equal to GetFieldValue method.
Equal to ClearToQuery method, but also returns true if successful.
Equal to SetSearchExpr method.
Equalt to SetSearchSpec method, but also returns true if successful.
Equal to GetSearchSpec method.
Equal to FirstRecord method.
Equal to NextRecord method.
Equal to SetFieldValue method, but also returns true if successful.
Equal to WriteRecord method, but also returns true if successful.
Equal to InvokeMethod method.
The following methods have some interface differences from their Siebel COM counterparts:
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).
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. Also, it returns true when successfully invoked.
None by default.
All constants from Siebel::COM::Constant are available too. This class also executes the following related functions automatically.
Applies as default value for query method.
query
Applies as default value for set_view_mode method.
set_view_mode
Siebel::COM
Siebel::COM::Constants
Siebel::COM::Business
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>
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/>.
To install Siebel::COM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Siebel::COM
CPAN shell
perl -MCPAN -e shell install Siebel::COM
For more information on module installation, please visit the detailed CPAN module installation guide.