1
2
3
I am going to describe
Create Java Project
Configure Build path
Create Class, Package
Determine Workflow
4
Launch Design Studio from the UTP package. Design Studio can be found under the
UTP Package DS folder.
Create a workspace with a valid name.
Click ok to open the workspace
5
After opening the workspace. Lets create the Java Project
Click on File Menu -> New -> Java Project
This will open the new project wizard
6
In the New Project Wizard,
Enter the name of the project
Choose the JRE for the project
And Click Next
7
It is required to add the T24 Library and TAFJ Library in Build Path to make you of core
APIs
Under the Libraries tab,
Click on “Add Library”
8
Select User Library. This will open “Add Library” Wizard.
From the “Add Library” Wizard, Select User Libraries
9
From the Preferences Wizard, Select New
Name the Library. In Our case we are going to add the T24 Lib as a reference.
Click ok to create the library
10
Select the User Library created just now
Select Add External JARs
From the file explorer, navigate to C:\Temenos\UTP-DEV-2020.03.01-02-240-saf-
retailsuite-developer-s08\Temenos\jboss\modules\com\temenos\t24\main\t24lib
Select all the JARs
Select Open
11
All the JARs are added to the library
Click ok to close the wizard
12
From the New Project Wizard,
Select Add Extenal Jars
From the file explorer, Navigate to C:\Temenos\UTP-DEV-2020.03.01-02-240-saf-
retailsuite-developer-s08\Temenos\TAFJ\lib
Select [Link]
Click ok Open
13
Click Finish to add the reference library
14
Add a new Java Package by selecting src folder
Right click on src folder
Select New -> Package
Name the package with java naming convension
Click finish
New package created.
15
Recap of Java Extensibility Workflow
Java Extensibility workflow,
1. Identify the Exit Point field that where do you want to attach your logic. Read the
help text to get [Link] record ID of the core invoker
2. Discover the hoot method name to implement. Read the [Link]
3. Read hook method signature and abstract method from the Java document.
4. Implement hook method in java class that extends the method using Design
Studio/Eclipse
16
5. Make an entry in [Link] with the source type as method. Provide hook method
name, class and package name. This can be done using the T24 Browser
6. Link Hook method to exit point field using [Link]. Example: Attach the [Link] id to
the [Link] Field in Version application
7. Run the T24 Application
17
Example,
Raise an error message from a [Link] Screen when the [Link]
and [Link] are not same.
Use [Link] Field to attach the Routine/Method
18
Determine the Exit Point, Super class and Method,
Identify the exit points in the screen to attach hook routines.
In our scenario, lets assume that [Link]
The help text for the exit point field tells you what is the package name, Class name
and Method can be overridden
19
Identify Superclass and Method in JavaDoc,
Java Doc can be found under, C:\Temenos\UTP-DEV-2020.03.01-02-240-saf-
retailsuite-developer-s08\Temenos\[Link]\JAVADOC
Select the package from the packages window
Once you select the package, available classes are listed below in the “All Classes”
window
Select the Class from All classes window.
On the right hand side in the main window we can see the Summary and Detail of the
class
20
Create Java Class,
Select the package from the package explorer
Right click on the package -> New -> Class
21
New Java Class wizard will appear,
Enter the valid name to the class
Select the appropriate super class (identified in the previous slide), by selecting
browse
Click finish to create the class
22
Override or Implement Methods,
By right clicking on the class ->select source -> Override / Implement class we can see
the available methods to implement.
Select the methods you want to implement (Methods identified in the previous
stage) and say Ok.
23
Method validateRecord is overwritten in the above example
24
Launch Design Studio and Create a workspace for Java Programming
25
Create a Java Project and add T24 Lib and [Link] as libraries
26
27
Identify the Super Class and Abstract method for the field [Link] in Version
Application
28
Create a Java class under the package created and extend the Super class identified in
the previous exercise
Override the method identified in the previous exercise
29
I described
Create Java Project
Configure Build path
Create Class, Package
Determine Workflow
30
31
32