Package ome.services.util
Interface Executor.Work<X>
-
- All Known Subinterfaces:
Executor.LoggedWork<X>
- All Known Implementing Classes:
AnnotatedWith,Complement,Executor.SimpleWork,FullText,FullTextIndexer,HqlQuery,Intersection,PixelDataHandler,ProcessManager.Work,SearchAction,SimilarTerms,SomeMustNone,TagsAndGroups,Union
- Enclosing interface:
- Executor
public static interface Executor.Work<X>Work SPI to perform actions within the server as if they were fully wrapped in our service logic. Note: any results which are coming from Hibernate may not be assigned directly to a field, rather must be returned as anObjectso that Hibernate proxies can be properly handled.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XdoWork(org.hibernate.Session session, ome.system.ServiceFactory sf)Work method.
-
-
-
Method Detail
-
doWork
X doWork(org.hibernate.Session session, ome.system.ServiceFactory sf)
Work method. Must return all results coming from Hibernate via theObjectreturn method.- Parameters:
session- non null.sf- non null.- Returns:
- Any results which will be used by non-wrapped code.
-
-