diff --git a/server_extensions_api/src/main/java/com/generalbytes/batm/server/extensions/IExtensionContext.java b/server_extensions_api/src/main/java/com/generalbytes/batm/server/extensions/IExtensionContext.java index 461da7fff..c5b8ba23a 100644 --- a/server_extensions_api/src/main/java/com/generalbytes/batm/server/extensions/IExtensionContext.java +++ b/server_extensions_api/src/main/java/com/generalbytes/batm/server/extensions/IExtensionContext.java @@ -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 @@ -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. * diff --git a/server_extensions_extra/src/main/java/com/generalbytes/batm/server/extensions/TestExtensionContext.java b/server_extensions_extra/src/main/java/com/generalbytes/batm/server/extensions/TestExtensionContext.java index 4fa5b1892..19fb57e19 100644 --- a/server_extensions_extra/src/main/java/com/generalbytes/batm/server/extensions/TestExtensionContext.java +++ b/server_extensions_extra/src/main/java/com/generalbytes/batm/server/extensions/TestExtensionContext.java @@ -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; @@ -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;