Skip to content

Commit

Permalink
CF-674: add note to identity via extension
Browse files Browse the repository at this point in the history
  • Loading branch information
drocek committed Sep 9, 2024
1 parent 67e0b61 commit 38c03b2
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*************************************************************************************
* Copyright (C) 2014-2020 GENERAL BYTES s.r.o. All rights reserved.
* Copyright (C) 2014-2024 GENERAL BYTES s.r.o. All rights reserved.
*
* This software may be distributed and modified under the terms of the GNU
* General Public License version 2 (GPL2) as published by the Free Software
Expand Down Expand Up @@ -308,6 +308,14 @@ public interface IExtensionContext {
*/
boolean addIdentityPiece(String identityPublicId, IIdentityPiece iidentityPiece);

/**
* Add note to identity.
* @param identityPublicId Public ID of identity.
* @param note Text of note.
* @return Return true if note has been set to the identity. Otherwise, return false.
*/
boolean addNoteToIdentity(String identityPublicId, String note);

/**
* Update an existing personal info identity piece.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*************************************************************************************
* Copyright (C) 2014-2024 GENERAL BYTES s.r.o. All rights reserved.
*
* This software may be distributed and modified under the terms of the GNU
* General Public License version 2 (GPL2) as published by the Free Software
* Foundation and appearing in the file GPL2.TXT included in the packaging of
* this file. Please note that GPL2 Section 2[b] requires that all works based
* on this software must also be made publicly available under the terms of
* the GPL2 ("Copyleft").
*
* Contact information
* -------------------
*
* GENERAL BYTES s.r.o.
* Web : http://www.generalbytes.com
*
************************************************************************************/
package com.generalbytes.batm.server.extensions;

import com.generalbytes.batm.server.extensions.aml.verification.ApplicantCheckResult;
Expand Down Expand Up @@ -192,6 +209,11 @@ public boolean addIdentityPiece(String identityPublicId, IIdentityPiece iidentit
return false;
}

@Override
public boolean addNoteToIdentity(String identityPublicId, String note) {
return false;
}

@Override
public boolean updateIdentityPiecePersonalInfo(String identityPublicId, IIdentityPiece identityPiece) {
return false;
Expand Down

0 comments on commit 38c03b2

Please sign in to comment.