Object layer class for cipux
version 3.4.0.5
use CipUX::Object::Action::List;
Provides the functions cipux_object_create and cipux_object_destroy as well as some auto-calculated values for example for userPassword.
The CipUX object layer is a generic abstract class, which can be used by other classes or scripts.
The function cipux_object_create may create one or several \s-1LDAP\s0 nodes according to the configuration structure in /etc/cipux/cipux-object.conf or ~/.cipux/cipux-object.conf.
The function cipux_object_destroy tries to remove one or more \s-1LDAP\s0 nodes.
The following functions will be exported by CipUX::Object::Action::List.
Constructor
Syntax:
my $cipux_object = CipUX::Object::Action::List->new({});
my $cipux_object = CipUX::Object::Action::List->new({debug=>1});
my $cfg = '/etc/cipux/cipux-object.conf'; my $cipux_object = CipUX::Object::Action::List->new({cfg=>$cfg});
Description:
cfg
Configuration files may be provided for convenience. This is meant to work in a single-server scenario and multi-server settings.
The preset behavior is to throw an exception, when some parameter value of the configuration file is missing or is wrong.
Summary:
* if a configuration file is given incorporate this file if it is there else look for ~/.cipux/cipux-object.conf and incorporate if it is there else look for /etc/cipux/cipux-object.conf and incorporate if it is there
/etc/cipux/cipux-object.conf
The configuration file is for dispatching multiple CipUX objects.
\s-1TODO:\s0 write conf structure!
For details see man page of cipux-object.conf.
Mandatory \s-1DESTROY\s0 Method for Inside-Out Class.
Syntax:
$i10n->DESTROY();
Creates a CipUX object
Syntax:
$object->list_type({
});
Creates a CipUX object
Syntax:
$object->preset({
});
Creates a CipUX object
Syntax:
$object->auto({
});
Creates a CipUX object
Syntax:
$object->mandatory({
});
Creates a CipUX object
Syntax:
$object->rule({
});
Creates a CipUX object
Syntax:
$object->alias({
});
\s-1TODO\s0
Creates a CipUX object
Syntax:
$object->preset_auto_mandatory_rule_alias({
});
\s-1TODO\s0
\s-1TODO\s0
\s-1TODO\s0
\s-1TODO\s0
\s-1TODO\s0
\s-1TODO\s0
\s-1TODO\s0
Carp Class:Std CipUX CipUX::Storage Pod::Usage Date::Manip
Not known.
Not known.
See the CipUX web page and the manual at <http://www.cipux.org>
See the mailing list http://sympa.cipworx.org/wws/info/cipux-devel <http://sympa.cipworx.org/wws/info/cipux-devel>
Christian Kuelker <[email protected]>
Copyright (C) 2007 - 2009 by Christian Kuelker
This program is free software; you can redistribute it and/or modify it under the terms of the \s-1GNU\s0 General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but \s-1WITHOUT\s0 \s-1ANY\s0 \s-1WARRANTY\s0; without even the implied warranty of \s-1MERCHANTABILITY\s0 or \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0. See the \s-1GNU\s0 General Public License for more details.
You should have received a copy of the \s-1GNU\s0 General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, \s-1MA\s0 02111-1307 \s-1USA\s0