| 4 |
## $Id$ |
## $Id$ |
| 5 |
## -------------------------------------------------------------------------------- |
## -------------------------------------------------------------------------------- |
| 6 |
## $Log$ |
## $Log$ |
| 7 |
|
## Revision 1.4 2003/02/20 21:11:15 joko |
| 8 |
|
## renamed module |
| 9 |
|
## modified runtime namespace hierarchy |
| 10 |
|
## |
| 11 |
## Revision 1.3 2003/02/14 14:18:36 joko |
## Revision 1.3 2003/02/14 14:18:36 joko |
| 12 |
## + new get-/setter-methods |
## + new get-/setter-methods |
| 13 |
## |
## |
| 29 |
#use base 'OEF::Component::Task'; |
#use base 'OEF::Component::Task'; |
| 30 |
use base qw( |
use base qw( |
| 31 |
DesignPattern::Object |
DesignPattern::Object |
| 32 |
DesignPattern::Object::Logger |
DesignPattern::Logger |
| 33 |
); |
); |
| 34 |
|
|
| 35 |
|
|
| 184 |
#print Dumper($self); |
#print Dumper($self); |
| 185 |
#print Dumper($self); |
#print Dumper($self); |
| 186 |
#exit; |
#exit; |
| 187 |
|
|
| 188 |
|
# checks |
| 189 |
|
if (!$self->{app}->{storage}->{$self->{opt}->{source}}) { |
| 190 |
|
$logger->critical("Sync source storage handle undefined!"); |
| 191 |
|
} |
| 192 |
|
if (!$self->{app}->{storage}->{$self->{opt}->{target}}) { |
| 193 |
|
$logger->critical("Sync target storage handle undefined!"); |
| 194 |
|
} |
| 195 |
|
|
| 196 |
# configure the synchronization-object |
# configure the synchronization-object |
| 197 |
$sync->configure( |
$sync->configure( |
| 198 |
source => { |
source => { |
| 199 |
storage => { |
storage => { |
| 200 |
#handle => $mapiStorage, |
#handle => $mapiStorage, |
| 201 |
handle => $self->{app}->{$self->{opt}->{source}}, |
handle => $self->{app}->{storage}->{$self->{opt}->{source}}, |
| 202 |
#isIdentAuthority => $self->{app}->{config}->{{$self->{opt}->{source}}, |
#isIdentAuthority => $self->{app}->{config}->{{$self->{opt}->{source}}, |
| 203 |
#isChecksumAuthority => 1, |
#isChecksumAuthority => 1, |
| 204 |
#writeProtected => 1, |
#writeProtected => 1, |
| 207 |
target => { |
target => { |
| 208 |
storage => { |
storage => { |
| 209 |
#handle => $ldapStorage, |
#handle => $ldapStorage, |
| 210 |
handle => $self->{app}->{$self->{opt}->{target}}, |
handle => $self->{app}->{storage}->{$self->{opt}->{target}}, |
| 211 |
#idAuthority => 1, |
#idAuthority => 1, |
| 212 |
#isChecksumAuthority => 1, |
#isChecksumAuthority => 1, |
| 213 |
#isWriteProtected => 0, |
#isWriteProtected => 0, |