--- nfo/perl/libs/Data/Storage/Handler/Abstract.pm 2002/11/29 04:58:20 1.3 +++ nfo/perl/libs/Data/Storage/Handler/Abstract.pm 2002/12/01 04:45:38 1.4 @@ -1,8 +1,12 @@ ################################# # -# $Id: Abstract.pm,v 1.3 2002/11/29 04:58:20 joko Exp $ +# $Id: Abstract.pm,v 1.4 2002/12/01 04:45:38 joko Exp $ # # $Log: Abstract.pm,v $ +# Revision 1.4 2002/12/01 04:45:38 joko +# + sub eraseAll +# + sub createDb +# # Revision 1.3 2002/11/29 04:58:20 joko # + Storage::Result now uses the same dispatching mechanism like Storage::Handler # @@ -182,6 +186,7 @@ # TODO: # - abstract "abstract methods" to list/hash to be used in AUTOLOAD # e.g.: my @ABSTRACT_METHODS = (qw( connect sendCommand getChildNodes )); + # use Class::XYZ (Construct) # - build them via anonymous subs # - introduce them via symbols @@ -242,4 +247,16 @@ return; } + sub eraseAll { + my $self = shift; + $self->_abstract_function('eraseAll'); + return; + } + + sub createDb { + my $self = shift; + $self->_abstract_function('createDb'); + return; + } + 1;