Task #854 (assigned)
Opened 16 years ago
Last modified 14 years ago
Rendering Settings Service Missing Return Values
Reported by: | cxallan | Owned by: | cxallan |
---|---|---|---|
Priority: | major | Milestone: | Unscheduled |
Component: | Services | Version: | n.a. |
Keywords: | n.a. | Cc: | jburel, atarkowska |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
The paradigm of the existing return values for methods located in IRenderingSettings is that certain settings applications could fail or succeed. As such, we have methods such as:
Map applySettingsToDataset(@NotNull long from, @NotNull long to);
where the <k,v> pairs are {true, List<Long>} and {false, List<Long>} signifying the above failure and success conditions. The methods in the service which reset rendering settings do not follow the paradigm because reseting of rendering settings should never fail. Failure conditions during methods which reset rendering settings are handled by throwing exceptions; in this case the entire transaction fails.
This said, it would be convenient for application developers to be able to know exactly which images have had their rendering settings reset when calling methods which take a Dataset, Category, etc.
Change History (3)
comment:1 Changed 16 years ago by cxallan
- Cc jburel atarkowska added
- Owner changed from jmoore to callan
- Status changed from new to assigned
comment:2 Changed 14 years ago by jmoore
- Milestone set to Unscheduled
comment:3 Changed 14 years ago by jburel
- Type changed from User Story to Task
Initial implementation for review available in r1985.