01: // .//GEN-BEGIN:_1_be
02: package org.jaffa.applications.test.modules.material.components.itemfinder;
03:
04: import org.jaffa.exceptions.ApplicationExceptions;
05: import org.jaffa.exceptions.FrameworkException;
06: import org.jaffa.applications.test.modules.material.components.itemfinder.dto.ItemFinderInDto;
07: import org.jaffa.applications.test.modules.material.components.itemfinder.dto.ItemFinderOutDto;
08:
09: // .//GEN-END:_1_be
10: // Add additional imports//GEN-FIRST:_imports
11:
12: // .//GEN-LAST:_imports
13: // .//GEN-BEGIN:_2_be
14: /** Interface for ItemFinder components.
15: */
16: public interface IItemFinder {
17:
18: /** Searches for Item objects.
19: * @param input The criteria based on which the search will be performed.
20: * @throws ApplicationExceptions This will be thrown if the criteria contains invalid data.
21: * @throws FrameworkException Indicates some system error
22: * @return The search results.
23: */
24: public ItemFinderOutDto find(ItemFinderInDto input)
25: throws FrameworkException, ApplicationExceptions;
26:
27: /**
28: * This should be invoked, when done with the component.
29: */
30: public void destroy();
31:
32: // .//GEN-END:_2_be
33: // All the custom code goes here //GEN-FIRST:_custom
34:
35: // .//GEN-LAST:_custom
36: }
|