@Transactional(readOnly=false) public class UpdateImpl extends AbstractLevel1Service implements LocalUpdate
Modifier and Type | Field and Description |
---|---|
protected Executor |
executor |
protected FullTextBridge |
fullTextBridge |
protected IndexWatcher |
indexWatcher |
protected LocalAdmin |
localAdmin |
protected LocalQuery |
localQuery |
protected SessionManager |
sessionManager |
queryFactory, sessionFactory
Constructor and Description |
---|
UpdateImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteObject(ome.model.IObject row) |
void |
flush() |
java.lang.Class<? extends ome.api.ServiceInterface> |
getServiceInterface() |
void |
indexObject(ome.model.IObject row) |
protected void |
internalDelete(ome.model.IObject obj,
UpdateFilter filter,
org.hibernate.Session session) |
protected ome.model.IObject |
internalMerge(ome.model.IObject obj,
UpdateFilter filter,
org.hibernate.Session session)
Note if we use anything other than merge here, functionality from
MergeEventListener needs to be moved to
UpdateFilter or to another event listener. |
protected java.lang.Long |
internalSave(ome.model.IObject obj,
ReloadFilter filter,
org.hibernate.Session session)
Note if we use anything other than merge here, functionality from
MergeEventListener needs to be moved to
UpdateFilter or to another event listener. |
ome.model.IObject[] |
saveAndReturnArray(ome.model.IObject[] graph) |
java.util.List<java.lang.Long> |
saveAndReturnIds(ome.model.IObject[] graph) |
ome.model.IObject |
saveAndReturnObject(ome.model.IObject graph) |
void |
saveArray(ome.model.IObject[] graph) |
void |
saveCollection(java.util.Collection graph) |
void |
saveObject(ome.model.IObject graph) |
void |
setAdminService(LocalAdmin admin) |
void |
setExecutor(Executor executor) |
void |
setFullTextBridge(FullTextBridge fullTextBridge) |
void |
setIndexWatcher(IndexWatcher indexWatcher) |
void |
setQueryService(LocalQuery query) |
void |
setSessionManager(SessionManager sessionManager) |
getBeanHelper, getQueryFactory, getSessionFactory, selfConfigure, setQueryFactory, setSessionFactory
protected transient LocalAdmin localAdmin
protected transient LocalQuery localQuery
protected transient Executor executor
protected transient SessionManager sessionManager
protected transient FullTextBridge fullTextBridge
protected transient IndexWatcher indexWatcher
public final void setAdminService(LocalAdmin admin)
public final void setQueryService(LocalQuery query)
public void setExecutor(Executor executor)
public void setSessionManager(SessionManager sessionManager)
public void setFullTextBridge(FullTextBridge fullTextBridge)
public void setIndexWatcher(IndexWatcher indexWatcher)
public java.lang.Class<? extends ome.api.ServiceInterface> getServiceInterface()
getServiceInterface
in interface ome.system.SelfConfigurableService
public void flush()
flush
in interface LocalUpdate
public void saveObject(ome.model.IObject graph)
saveObject
in interface ome.api.IUpdate
public ome.model.IObject saveAndReturnObject(ome.model.IObject graph)
saveAndReturnObject
in interface ome.api.IUpdate
public void saveCollection(java.util.Collection graph)
saveCollection
in interface ome.api.IUpdate
public ome.model.IObject[] saveAndReturnArray(ome.model.IObject[] graph)
saveAndReturnArray
in interface ome.api.IUpdate
public java.util.List<java.lang.Long> saveAndReturnIds(ome.model.IObject[] graph)
saveAndReturnIds
in interface ome.api.IUpdate
public void saveArray(ome.model.IObject[] graph)
saveArray
in interface ome.api.IUpdate
public void deleteObject(ome.model.IObject row)
deleteObject
in interface ome.api.IUpdate
public void indexObject(ome.model.IObject row)
indexObject
in interface ome.api.IUpdate
protected java.lang.Long internalSave(ome.model.IObject obj, ReloadFilter filter, org.hibernate.Session session)
MergeEventListener
needs to be moved to
UpdateFilter
or to another event listener.protected ome.model.IObject internalMerge(ome.model.IObject obj, UpdateFilter filter, org.hibernate.Session session)
MergeEventListener
needs to be moved to
UpdateFilter
or to another event listener.protected void internalDelete(ome.model.IObject obj, UpdateFilter filter, org.hibernate.Session session)