|
|
@ -33,11 +33,15 @@ public class CredentialRepository implements CredentialRepositoryInterface{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Credential getCredentialsViaName(String needle) { |
|
|
|
|
|
|
|
for(int c = 0; c < this.getListSize(); c++) |
|
|
|
{ |
|
|
|
Credential credential = this.credentials.get(c); |
|
|
|
|
|
|
|
if(credential.getName().equals(needle)) |
|
|
|
return credential; |
|
|
|
} |
|
|
|
|
|
|
|
return null; |
|
|
@ -45,8 +49,9 @@ public class CredentialRepository implements CredentialRepositoryInterface{ |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
public void getCredentialsViaId() { |
|
|
|
public Credential getCredentialsViaId() { |
|
|
|
|
|
|
|
return null; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|