@Transactional public class PojosImpl extends AbstractLevel2Service implements IContainer
iQuery, iUpdate, metadata, queryFactory, sec| Constructor and Description |
|---|
PojosImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkProperty(String type,
String property) |
protected void |
checkType(String type) |
ome.model.IObject |
createDataObject(ome.model.IObject arg0,
ome.parameters.Parameters arg1)
Implemented as specified by the
IContainer I/F |
ome.model.IObject[] |
createDataObjects(ome.model.IObject[] arg0,
ome.parameters.Parameters arg1)
Implemented as specified by the
IContainer I/F |
void |
deleteDataObject(ome.model.IObject row,
ome.parameters.Parameters arg1)
Implemented as specified by the
IContainer I/F |
void |
deleteDataObjects(ome.model.IObject[] rows,
ome.parameters.Parameters options)
Implemented as specified by the
IContainer I/F |
Set |
findContainerHierarchies(Class rootNodeType,
Set imageIds,
ome.parameters.Parameters options)
Implemented as specified by the
IContainer I/F |
Map |
getCollectionCount(String type,
String property,
Set ids,
ome.parameters.Parameters options)
Implemented as specified by the
IContainer I/F |
Set |
getImages(Class rootNodeType,
Set rootNodeIds,
ome.parameters.Parameters options)
Implemented as specified by the
IContainer I/F |
Set |
getImagesByOptions(ome.parameters.Parameters options)
Implemented as specified by the
IContainer I/F |
Map<Long,Map<Boolean,List<Long>>> |
getImagesBySplitFilesets(Map<Class<? extends ome.model.IObject>,List<Long>> included,
ome.parameters.Parameters options)
Implemented as specified by the
IContainer I/F |
Class<? extends ServiceInterface> |
getServiceInterface()
Returns the Interface implemented by this class.
|
Set |
getUserImages(ome.parameters.Parameters options)
Implemented as specified by the
IContainer I/F |
ome.model.ILink[] |
link(ome.model.ILink[] arg0,
ome.parameters.Parameters arg1)
Implemented as specified by the
IContainer I/F |
Set |
loadContainerHierarchy(Class rootNodeType,
Set rootNodeIds,
ome.parameters.Parameters options)
Implemented as specified by the
IContainer I/F |
Collection |
retrieveCollection(ome.model.IObject arg0,
String arg1,
ome.parameters.Parameters arg2)
Implemented as specified by the
IContainer I/F |
void |
unlink(ome.model.ILink[] arg0,
ome.parameters.Parameters arg1)
Implemented as specified by the
IContainer I/F |
ome.model.IObject |
updateDataObject(ome.model.IObject arg0,
ome.parameters.Parameters arg1)
Implemented as specified by the
IContainer I/F |
ome.model.IObject[] |
updateDataObjects(ome.model.IObject[] arg0,
ome.parameters.Parameters arg1)
Implemented as specified by the
IContainer I/F |
getBeanHelper, getExtendedMetadata, getQueryFactory, getSecuritySystem, selfConfigure, setExtendedMetadata, setQueryFactory, setQueryService, setSecuritySystem, setUpdateServicepublic final Class<? extends ServiceInterface> getServiceInterface()
getServiceInterface in interface SelfConfigurableService@Transactional(readOnly=true) public Set loadContainerHierarchy(Class rootNodeType, Set rootNodeIds, ome.parameters.Parameters options)
IContainer I/FloadContainerHierarchy in interface IContainerrootNodeType - The type of the root node. Can be Project,
Dataset, Screen or Plate.
Cannot be null.rootNodeIds - The ids of the root nodes. Can be null if an Experimenter is
specified in options, otherwise an Exception
is thrown to prevent all images in the entire database from
being downloaded.options - Parameters as above. annotator, leaves,
orphan, acquisition data used.
acquisition data is only relevant for images
and taken into account if the images are loaded.
If rootNodeIds==null,
experimenter|group must be set and filtering
will be applied at the Class-level; e.g. to retrieve a
user's Projects, or user's Datasets. If
rootNodeIds!=null, the result will be filtered
by the experimenter|group at the
Image and intermediate levels if available.
Due to the amount of data potentially linked a Screen/Plate,
the leaves option is not taken into account.
when the root node is a Screen.
orphan implies that objects which are not contained
in an object of rootNodeType should also be returned.rootNodeType, unless orphan is specified
in which case objects of type rootNodeType and below
may be returned.IContainer.loadContainerHierarchy(Class, Set, Parameters)@Transactional(readOnly=true) public Set findContainerHierarchies(Class rootNodeType, Set imageIds, ome.parameters.Parameters options)
IContainer I/FfindContainerHierarchies in interface IContainerrootNodeType - top-most type which will be searched for Can be
Project. Not null.imageIds - Contains the ids of the Images that sit at the bottom of the
trees. Not null.options - Parameters as above. annotator used.
experimenter|group may be applied at the
top-level only or at each level in the hierarchy, but will not
apply to the leaf (Image) level.Set with all root nodes that were found.IContainer.findContainerHierarchies(Class, Set, Parameters)@Transactional(readOnly=true) public Set getImages(Class rootNodeType, Set rootNodeIds, ome.parameters.Parameters options)
IContainer I/FgetImages in interface IContainerrootNodeType - A Class which will have its hierarchy searched for Images. Not
null. TODO types?rootNodeIds - A set of ids of type rootNodeType Not null.options - Parameters as above. No notion of leaves.
experimenter|group apply at the Image level.
OPTIONS: - startTime and/or endTime should be
Timestamp.valueOf("YYYY-MM-DD hh:mm:ss.ms");
limit and offset are applied at
the Image-level. That is, calling with Dataset.class,
limit == 10 and offset == 0 will
first perform one query to get an effective set of
rootNodeIds, then getImages will be called with an effective
rootNodeType of Image.class and the new ids.
acquisition data is only relevant for images.IContainer#getImages(Class, Set, Map)@Transactional(readOnly=true) public Set getImagesByOptions(ome.parameters.Parameters options)
IContainer I/FgetImagesByOptions in interface IContaineroptions - Parameters as above. No notion of leaves.
experimenter|group apply at the Image level and
must be present. OPTIONS: - startTime and/or endTime
should be Timestamp.valueOf("YYYY-MM-DD hh:mm:ss.ms").
acquisition data is only relevant for images.IContainer.getImagesByOptions(Parameters)@Transactional(readOnly=true) public Map<Long,Map<Boolean,List<Long>>> getImagesBySplitFilesets(Map<Class<? extends ome.model.IObject>,List<Long>> included, ome.parameters.Parameters options)
IContainer I/FgetImagesBySplitFilesets in interface IContainerincluded - the entities includedoptions - parameters, presently ignoredIContainer#getImagesBySplitFilesets(Map)@Transactional(readOnly=true) public Set getUserImages(ome.parameters.Parameters options)
IContainer I/FgetUserImages in interface IContaineroptions - Parameters as above. No notion of leaves.
experimenter|group apply at the Image level and
must be present.IContainer.getUserImages(Parameters)@Transactional(readOnly=true) public Map getCollectionCount(String type, String property, Set ids, ome.parameters.Parameters options)
IContainer I/FgetCollectionCount in interface IContainertype - The fully-qualified classname of the object to be testedproperty - Name of the property on that class, omitting getters and
setters.ids - Set of Longs, the ids of the objects to testoptions - Parameters. Unused.IContainer.getCollectionCount(String, String, Set, Parameters)@Transactional(readOnly=true) public Collection retrieveCollection(ome.model.IObject arg0, String arg1, ome.parameters.Parameters arg2)
IContainer I/FretrieveCollection in interface IContainerarg0 - Can be "unloaded".arg1 - public final static String from the
IObject.classarg2 - Parameters. Unused.IContainer.retrieveCollection(IObject, String, Parameters)@Transactional(readOnly=false)
public ome.model.IObject createDataObject(ome.model.IObject arg0,
ome.parameters.Parameters arg1)
IContainer I/FcreateDataObject in interface IContainerarg0 - IObject. Supported: Project, Dataset,
Annotation, Group, Experimenter. Not null.IContainer.createDataObject(IObject, Parameters)@Transactional(readOnly=false)
public ome.model.IObject[] createDataObjects(ome.model.IObject[] arg0,
ome.parameters.Parameters arg1)
IContainer I/FcreateDataObjects in interface IContainerarg0 - Array of Omero IObjectsarg1 - Parameters as above.IContainer#createDataObject(IObject[], Parameters)@Transactional(readOnly=false)
public void unlink(ome.model.ILink[] arg0,
ome.parameters.Parameters arg1)
IContainer I/Funlink in interface IContainerarg1 - Parameters as above.IContainer.unlink(ILink[], Parameters)@Transactional(readOnly=false)
public ome.model.ILink[] link(ome.model.ILink[] arg0,
ome.parameters.Parameters arg1)
IContainer I/Flink in interface IContainerarg0 - Array of links to be created.arg1 - Parameters as above.IContainer.link(ILink[], Parameters)@Transactional(readOnly=false)
public ome.model.IObject updateDataObject(ome.model.IObject arg0,
ome.parameters.Parameters arg1)
IContainer I/FupdateDataObject in interface IContainerarg0 - Pojos-based IObject. Supported: supported: Project, Dataset,
Annotation, Group, Experimenter.arg1 - Parameters as above.IContainer.updateDataObject(IObject, Parameters)@Transactional(readOnly=false)
public ome.model.IObject[] updateDataObjects(ome.model.IObject[] arg0,
ome.parameters.Parameters arg1)
IContainer I/FupdateDataObjects in interface IContainerarg1 - Parameters as above.IContainer#updateDataObject(IObject[], Parameters)@Transactional(readOnly=false)
public void deleteDataObject(ome.model.IObject row,
ome.parameters.Parameters arg1)
IContainer I/FIContainer#deleteDataObject(IObject, Parameters)@Transactional(readOnly=false)
public void deleteDataObjects(ome.model.IObject[] rows,
ome.parameters.Parameters options)
IContainer I/FIContainer#deleteDataObjects(IObject[], Parameters)protected void checkType(String type)
Version: 5.1.1-ice35-b43
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.