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 anObject
so that Hibernate proxies can be properly handled.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description X
doWork(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 theObject
return method.- Parameters:
session
- non null.sf
- non null.- Returns:
- Any results which will be used by non-wrapped code.
-
-