Date: Thu, 28 Mar 2024 15:51:01 +0000 (UTC) Message-ID: <48622563.6603.1711641061239@ip-10-10-7-29.ec2.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_6602_1702780694.1711641061236" ------=_Part_6602_1702780694.1711641061236 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
See also: Writing Registry Plugins and Configu= ring Registry Identifier Assignment
Identifier Assignment Plugins are Experimental, and the in= terface is subject to change in a future release.
FooAssi=
gner
.FooAssigner
model.Identifier Assignment Plugins are not currently instantiated, and will b= e available globally once installed.
The Plugin must implement an assignment routine in the FooAssigner=
model, with the following signature:
public = function assign($coId, $context, $recordId, $identifierType, $emailType=3Dn= ull)
where
Identifi=
erAssignmentContextEnum
.Plugins wi= ll be called within a database transaction.
assign()
should return the new identifier as a string, or t=
hrow an Exception on error.
The plugin= will be called once to generate a unique identifier. If the identifier ret= urned is already known to Registry, or any other error occurs, the assignme= nt process will fail.