Skip to content
Snippets Groups Projects
Commit c9182fff authored by renater.salaun's avatar renater.salaun
Browse files

Add news methods before trying inheritance

git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@73 047e039d-479c-447e-8a29-aa6bf4a09bab
parent df306c06
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,13 @@ sub new { ...@@ -39,6 +39,13 @@ sub new {
return $self; return $self;
} }
sub load {
my $self = shift;
my %args = @_;
return $self->{'persistent'}->load(%args);
}
sub get { sub get {
my $self = shift; my $self = shift;
my $attribute_name = shift; my $attribute_name = shift;
...@@ -70,8 +77,8 @@ sub print { ...@@ -70,8 +77,8 @@ sub print {
my $self = shift; my $self = shift;
my $fd = shift || \*STDOUT; my $fd = shift || \*STDOUT;
printf $fd "ServiceProvider ID=%s; entityid=%s; displayname=%s\n", printf $fd "ServiceProvider ID=%s; entityid=%s; displayname=%s; contacts=%s\n",
$self->get('id'), $self->get('entityid'), $self->get('displayname'); $self->get('id'), $self->get('entityid'), $self->get('displayname'), $self->get('contacts');
return 1. return 1.
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment