RESTWS-708 need guidance

Here is the issue. I already saw in the core that is a class Orderfrequency that have a variable double frequencyPerDay which represents the number of times per day you should take the medicamentation . And the ticket say that i should create a backend implementation of adding this frequency in the database. So from my understanding i think i should extend the OrderResource and create a new function to add it in the database and probably override some functions to add it like a property .Did I get it ? Can you give me some hints ,directions please?

@andu033, could these here be helpful 1 , 2 , 3 and 4 to get started? :slightly_smiling_face:

We already have an order frequency resource which you can modify and add the ability to save

The tests would go in this class:

Ohh. That help a lot. Can you give me also a class where a similar property is save to take as reference?Or if I search for any other save method I think I will figure out what I should do. :slight_smile:

You could take a look at the save methods in these resources:

1 Like