public interface DataManager
SecurityContext.| Modifier and Type | Method and Description |
|---|---|
default void |
delete(Collection<? extends RemoteObject> objects)
Deletes multiple objects from OMERO.
|
default void |
delete(IObject object)
Deletes an object from OMERO.
|
default void |
delete(List<IObject> objects)
Deletes multiple objects from OMERO.
|
default void |
delete(RemoteObject object)
Deletes an object from OMERO.
|
default void |
delete(Table table)
Deletes a table from OMERO.
|
default void |
deleteFile(Long id)
Deletes a file from OMERO
|
SecurityContext |
getCtx()
Returns the current
SecurityContext. |
DataManagerFacility |
getDMFacility()
Gets the
DataManagerFacility to handle/write data on OMERO. |
ROIFacility |
getRoiFacility()
Gets the
ROIFacility used to manipulate ROIs from OMERO. |
TablesFacility |
getTablesFacility()
Gets the
TablesFacility used to manipulate tables on OMERO. |
default IObject |
save(IObject object)
Saves an object on OMERO.
|
SecurityContext getCtx()
SecurityContext.DataManagerFacility getDMFacility() throws ExecutionException
DataManagerFacility to handle/write data on OMERO. AExecutionException - If the DataManagerFacility can't be retrieved or instantiated.ROIFacility getRoiFacility() throws ExecutionException
ROIFacility used to manipulate ROIs from OMERO.ExecutionException - If the ROIFacility can't be retrieved or instantiated.TablesFacility getTablesFacility() throws ExecutionException
TablesFacility used to manipulate tables on OMERO.ExecutionException - If the TablesFacility can't be retrieved or instantiated.default IObject save(IObject object) throws ServiceException, AccessException, ExecutionException
object - The OMERO object.ServiceException - Cannot connect to OMERO.AccessException - Cannot access data.ExecutionException - A Facility can't be retrieved or instantiated.default void delete(IObject object) throws ServiceException, AccessException, ExecutionException, InterruptedException
object - The OMERO object.ServiceException - Cannot connect to OMERO.AccessException - Cannot access data.ExecutionException - A Facility can't be retrieved or instantiated.InterruptedException - If block(long) does not return.default void delete(List<IObject> objects) throws ServiceException, AccessException, ExecutionException, InterruptedException
objects - The OMERO objects.ServiceException - Cannot connect to OMERO.AccessException - Cannot access data.ExecutionException - A Facility can't be retrieved or instantiated.InterruptedException - If block(long) does not return.default void deleteFile(Long id) throws ServiceException, AccessException, ExecutionException, InterruptedException
id - ID of the file to delete.ServiceException - Cannot connect to OMERO.AccessException - Cannot access data.ExecutionException - A Facility can't be retrieved or instantiated.InterruptedException - If block(long) does not return.default void delete(Collection<? extends RemoteObject> objects) throws ServiceException, AccessException, ExecutionException, InterruptedException
objects - The OMERO object.ServiceException - Cannot connect to OMERO.AccessException - Cannot access data.ExecutionException - A Facility can't be retrieved or instantiated.InterruptedException - If block(long) does not return.default void delete(RemoteObject object) throws ServiceException, AccessException, ExecutionException, InterruptedException
Make sure a folder is loaded before deleting it.
object - The OMERO object.ServiceException - Cannot connect to OMERO.AccessException - Cannot access data.ExecutionException - A Facility can't be retrieved or instantiated.InterruptedException - If block(long) does not return.default void delete(Table table) throws ServiceException, AccessException, ExecutionException, InterruptedException
table - Table to delete.ServiceException - Cannot connect to OMERO.AccessException - Cannot access data.ExecutionException - A Facility can't be retrieved or instantiated.IllegalArgumentException - ID not defined.InterruptedException - If block(long) does not return.Copyright © 2020–2023 GReD. All rights reserved.