public abstract class _IUpdateDisp extends Ice.ObjectImpl implements IUpdate
All the save* methods act recursively on the entire object graph, replacing placeholders and details where necessary, and then merging the final graph. This means that the objects that are passed into IUpdate.save* methods are copied over to new instances which are then returned. The original objects should be discarded.
saveAndReturnIds
behaves slightly differently in that
it does not handle object modifications. The graph of
objects passed in can consist ONLY if either newly created
objects without ids or of unloaded objects with ids. Note:
The ids of the saved values may not be in order. This is caused by
persistence-by-transitivity. Hibernate may detect an item later in
the array if they are interconnected and therefore choose to save
it first.
All methods throw ValidationException
if the input
objects do not pass validation, and
OptimisticLockException
if the version of a given has
already been incremented.
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
__ids |
static long |
serialVersionUID |
ice_staticId
Constructor and Description |
---|
_IUpdateDisp() |
Modifier and Type | Method and Description |
---|---|
static Ice.DispatchStatus |
___deleteObject(IUpdate __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___indexObject(IUpdate __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___saveAndReturnArray(IUpdate __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___saveAndReturnIds(IUpdate __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___saveAndReturnObject(IUpdate __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___saveArray(IUpdate __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___saveCollection(IUpdate __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___saveObject(IUpdate __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
Ice.DispatchStatus |
__dispatch(IceInternal.Incoming in,
Ice.Current __current) |
protected void |
__readImpl(IceInternal.BasicStream __is) |
protected void |
__writeImpl(IceInternal.BasicStream __os) |
void |
deleteObject_async(AMD_IUpdate_deleteObject __cb,
IObject row)
Deprecated.
use omero::cmd::Delete2 instead
|
protected void |
ice_copyStateFrom(Ice.Object __obj) |
java.lang.String |
ice_id() |
java.lang.String |
ice_id(Ice.Current __current) |
java.lang.String[] |
ice_ids() |
java.lang.String[] |
ice_ids(Ice.Current __current) |
boolean |
ice_isA(java.lang.String s) |
boolean |
ice_isA(java.lang.String s,
Ice.Current __current) |
static java.lang.String |
ice_staticId() |
void |
indexObject_async(AMD_IUpdate_indexObject __cb,
IObject row)
Initiates full-text indexing for the given object.
|
void |
saveAndReturnArray_async(AMD_IUpdate_saveAndReturnArray __cb,
java.util.List<IObject> graph) |
void |
saveAndReturnIds_async(AMD_IUpdate_saveAndReturnIds __cb,
java.util.List<IObject> graph) |
void |
saveAndReturnObject_async(AMD_IUpdate_saveAndReturnObject __cb,
IObject obj) |
void |
saveArray_async(AMD_IUpdate_saveArray __cb,
java.util.List<IObject> graph) |
void |
saveCollection_async(AMD_IUpdate_saveCollection __cb,
java.util.List<IObject> objs) |
void |
saveObject_async(AMD_IUpdate_saveObject __cb,
IObject obj) |
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deleteObject_async, indexObject_async, saveAndReturnArray_async, saveAndReturnIds_async, saveAndReturnObject_async, saveArray_async, saveCollection_async, saveObject_async
public static final java.lang.String[] __ids
public static final long serialVersionUID
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public boolean ice_isA(java.lang.String s)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public boolean ice_isA(java.lang.String s, Ice.Current __current)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public java.lang.String[] ice_ids()
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String[] ice_ids(Ice.Current __current)
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String ice_id()
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public java.lang.String ice_id(Ice.Current __current)
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public static java.lang.String ice_staticId()
public final void deleteObject_async(AMD_IUpdate_deleteObject __cb, IObject row) throws ServerError
deleteObject_async
in interface _IUpdateOperationsNC
__cb
- The callback object for the operation.ServerError
public final void indexObject_async(AMD_IUpdate_indexObject __cb, IObject row) throws ServerError
FullTextThread
to finish.
Can only be executed by an admin. Other users must wait for
the background Thread
to complete.indexObject_async
in interface _IUpdateOperationsNC
__cb
- The callback object for the operation.row
- a persistent IObject
to be deletedValidationException
- if the object does not exist or is nulServerError
public final void saveAndReturnArray_async(AMD_IUpdate_saveAndReturnArray __cb, java.util.List<IObject> graph) throws ServerError
saveAndReturnArray_async
in interface _IUpdateOperationsNC
ServerError
public final void saveAndReturnIds_async(AMD_IUpdate_saveAndReturnIds __cb, java.util.List<IObject> graph) throws ServerError
saveAndReturnIds_async
in interface _IUpdateOperationsNC
ServerError
public final void saveAndReturnObject_async(AMD_IUpdate_saveAndReturnObject __cb, IObject obj) throws ServerError
saveAndReturnObject_async
in interface _IUpdateOperationsNC
ServerError
public final void saveArray_async(AMD_IUpdate_saveArray __cb, java.util.List<IObject> graph) throws ServerError
saveArray_async
in interface _IUpdateOperationsNC
ServerError
public final void saveCollection_async(AMD_IUpdate_saveCollection __cb, java.util.List<IObject> objs) throws ServerError
saveCollection_async
in interface _IUpdateOperationsNC
ServerError
public final void saveObject_async(AMD_IUpdate_saveObject __cb, IObject obj) throws ServerError
saveObject_async
in interface _IUpdateOperationsNC
ServerError
public static Ice.DispatchStatus ___saveObject(IUpdate __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___saveCollection(IUpdate __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___saveAndReturnObject(IUpdate __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___saveArray(IUpdate __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___saveAndReturnArray(IUpdate __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___saveAndReturnIds(IUpdate __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___deleteObject(IUpdate __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___indexObject(IUpdate __obj, IceInternal.Incoming __inS, Ice.Current __current)
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)
__dispatch
in interface Ice.Object
__dispatch
in class Ice.ObjectImpl
protected void __writeImpl(IceInternal.BasicStream __os)
__writeImpl
in class Ice.ObjectImpl
protected void __readImpl(IceInternal.BasicStream __is)
__readImpl
in class Ice.ObjectImpl