Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
d5b1d49
Add get OriginalFileContent.m for possible consumption by getFileAnno…
imunro Feb 29, 2016
1efe4b6
Address typo in Input check
imunro Feb 29, 2016
2da784e
Modify getFileAnnotationContent to consume new function.
imunro Mar 1, 2016
b064fb6
Don't disable P/D/I right-click menu and toolbar in tags tree
will-moore Mar 7, 2016
91b4c25
Right-click menu items to create Tag and Tagset
will-moore Mar 7, 2016
76e3a43
Handle creation of tags and tagsets from context menu
will-moore Mar 7, 2016
1756926
Add Tag and Tagset buttons to toolbar
will-moore Mar 7, 2016
ac34196
Handle Tags linking/deleting in api_link
will-moore Mar 7, 2016
46624c2
Fix editname/tagset in manage_action_containers
will-moore Mar 8, 2016
7dcf0f4
Fix Robot tests for right-click on P/D. Create P/D/S enabled
will-moore Mar 8, 2016
6b89ab7
Remove print statement
will-moore Mar 8, 2016
f63d419
Don't try to cut link between tag on image 'Cut'
will-moore Mar 8, 2016
73714d5
flake8 fix
will-moore Mar 9, 2016
887a4cd
Enable cut & copy in Tag Tree correctly
will-moore Mar 9, 2016
88666b8
Delete of Tagset leaves Tags as orphans in tree
will-moore Mar 9, 2016
65703f7
flake8 fix
will-moore Mar 9, 2016
f945e05
Don't show cut Dataset etc as orphans in Tag Tree
will-moore Mar 10, 2016
a92dd7c
On tagset delete, don't orphan tags if still under other tagsets
will-moore Mar 10, 2016
6f34f6f
Enable multi-selection of tags and tagsets in jsTree
will-moore Mar 10, 2016
60e8f4d
Don't allow right-click 'New' if not canLink()
will-moore Mar 10, 2016
9d8b0ed
Don't allow toolbar 'New' if not canLink()
will-moore Mar 10, 2016
66a5dff
Fix Copy / Paste enabled for robot tests
will-moore Mar 11, 2016
8ef4c61
Updates and fixes to Robot tests
will-moore Mar 11, 2016
8fa3d05
Toolbar 'Copy' button disabled for orphan Tag etc
will-moore Mar 12, 2016
6f9170a
Cut tags show up as orphaned in tag tree
will-moore Mar 12, 2016
c489535
Better fix for previous commit
will-moore Mar 12, 2016
97b6f9f
Switch order of Tagset and Tag buttons in toolbar
will-moore Mar 13, 2016
6ac4020
Allow Copy in toolbar of Tagged ds/img/plate
will-moore Mar 13, 2016
0e82666
New Dataset/Tag as sibling of selected Dataset/Tag
will-moore Mar 14, 2016
f04e22e
Update 'Create Dataset' tests according to previous commit
will-moore Mar 14, 2016
e3457dd
Tweak tags icon to be more different than tag icon
will-moore Mar 14, 2016
a95fbcd
Remove Robot 'Test Copy Paste Orphaned Image'. Not supported now
will-moore Mar 15, 2016
3f4c353
Disable Cut and Copy of P/D/I/S/P in Tag Tree
will-moore Mar 17, 2016
ac92389
Remove un-needed handling of unloaded links in api_links()
will-moore Mar 18, 2016
a67e6be
Move 4 manage_action_container tests to test_containers
will-moore Mar 18, 2016
b260289
Remove unused imports from test_containers.py
will-moore Mar 18, 2016
e8b8fd7
Moved 2 manage_action_container tests to test_tags.py
will-moore Mar 18, 2016
20228b4
Add test_create_tag_and_tagset() to test_tags.py
will-moore Mar 18, 2016
afa2cd2
Add test_edit_tag_and_tagset() to test_tags.py
will-moore Mar 18, 2016
0cb5f5b
Add test_link_unlink_tagset_tags() to test_links.py
will-moore Mar 18, 2016
7464dd2
Move create_link() out of api_links() in views.py
will-moore Mar 18, 2016
4da68f8
Split api_links() to handle POST and DELETE separately
will-moore Mar 18, 2016
8c16c4f
flake8
will-moore Mar 18, 2016
cd9c6c4
jsTree sort plugin handles images and acquisitions (under tags)
will-moore Mar 23, 2016
99f7bfe
Add test for regex import of nested directory
Mar 25, 2016
edfebfa
Use the annotation with the highest id
Mar 24, 2016
91e95a8
Add tests to check discriminator for regex templates
Mar 25, 2016
d2eb073
Fix bug in Dataset choice for regex import
Mar 25, 2016
b00d883
Use image links for thumbnails and Full Viewer button
will-moore Apr 7, 2016
6965b1d
Preview 'Full Viewer' button also is a link
will-moore Apr 7, 2016
2d4dbd2
Fix Robot tests with full viewer <a> button
will-moore Apr 8, 2016
cb092c9
Robot keyword cleanup
will-moore Apr 8, 2016
e18f3ea
Copy ome.api.IMetadata Javadoc to omero.api.IMetadata
sbesson Apr 11, 2016
7c070c1
Copy ome.api.IPixels Javadoc to omero.api.IPixels
sbesson Apr 11, 2016
e51b23c
Copy ome.api.IProjection Javadoc to omero.api.IProjection
sbesson Apr 11, 2016
13ff8ac
Copy ome.api.IQuery Javadoc to omero.api.IQuery
sbesson Apr 11, 2016
e459820
Copy ome.api.IRepositoryInfo Javadoc to omero.api.IRepositoryInfo
sbesson Apr 11, 2016
b7e096c
Address Colin's comments
sbesson Apr 12, 2016
88ba3f2
Fix TagSets spelling
sbesson Apr 13, 2016
c8a933e
Missing semi-colon
imunro Apr 13, 2016
d89f4bf
Merge pull request #4569 from sbesson/ome_omero_apidoc_2
jburel Apr 14, 2016
1e6e688
Merge pull request #4502 from imunro/orignalFileContent
jburel Apr 14, 2016
fc797e0
choose server id when logging in
atarkowska Apr 17, 2016
27edb54
Script menu and activities panel handle long lists
will-moore Apr 18, 2016
384709f
Merge pull request #4563 from will-moore/full_viewer_button_link
jburel Apr 18, 2016
17dd6b3
Merge pull request #4581 from aleksandra-tarkowska/robot_improvement
jburel Apr 18, 2016
d9d545b
Merge pull request #4543 from ximenesuk/server-template-fixes
jburel Apr 19, 2016
ec80710
Merge pull request #4584 from will-moore/scripts_menu_scrollbar
jburel Apr 19, 2016
20aa573
Merge pull request #4518 from will-moore/tag_tree_actions
jburel Apr 20, 2016
c363a05
fix out-of-sync Javadoc
mtbc Apr 20, 2016
4d7cc91
fix minor typo in comment
mtbc Apr 20, 2016
7910e17
add integration test for duplication via skip-head
mtbc Apr 20, 2016
12cc1fe
switch test teardown from using deprecated request builder
mtbc Apr 20, 2016
ef019cc
have SkipHead pass through underlying request's call context
mtbc Apr 20, 2016
45e0b55
break long line (whitespace only)
mtbc Apr 20, 2016
1ff6eae
Merge pull request #4593 from mtbc/trac-13197-skiphead-duplicate
jburel Apr 22, 2016
3fdb099
Merge remote-tracking branch 'remotes/origin/develop' into HEAD
mtbc Apr 25, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
177 changes: 176 additions & 1 deletion components/blitz/resources/omero/api/IMetadata.ice
Original file line number Diff line number Diff line change
Expand Up @@ -18,37 +18,212 @@ module omero {

module api {
/**
* See <a href="http://downloads.openmicroscopy.org/latest/omero5.2/api/ome/api/IMetadata.html">IMetadata.html</a>
* Provides method to interact with acquisition metadata and
* annotations.
**/
["ami", "amd"] interface IMetadata extends ServiceInterface
{
/**
* Loads the logical channels and the acquisition metadata
* related to them.
*
* @param ids The collection of logical channel's ids.
* Mustn't be <code>null</code>.
* @return The collection of loaded logical channels.
**/
idempotent LogicalChannelList loadChannelAcquisitionData(omero::sys::LongList ids) throws ServerError;

/**
* Loads all the annotations of given types, that have been
* attached to the specified <code>rootNodes</code> for the
* specified <code>annotatorIds</code>.
* If no types specified, all annotations will be loaded.
* This method looks for the annotations that have been
* attached to each of the specified objects. It then maps
* each <code>rootId</code> onto the set of annotations
* that were found for that node. If no annotations were found
* for that node, then the entry will be <code>null</code>.
* Otherwise it will be a <code>Map</code> containing
* {@link omero.model.Annotation} objects.
*
* @param rootType
* The type of the nodes the annotations are linked to.
* Mustn't be <code>null</code>.
* @param rootIds
* Ids of the objects of type <code>rootType</code>.
* Mustn't be <code>null</code>.
* @param annotationType
* The types of annotation to retrieve. If
* <code>null</code> all annotations will be loaded.
* String of the type
* <code>omero.model.annotations.*</code>.
* @param annotatorIds
* Ids of the users for whom annotations should be
* retrieved. If <code>null</code>, all annotations
* returned.
* @param options
* @return A map whose key is rootId and value the
* <code>Map</code> of all annotations for that node
* or <code>null</code>.
**/
idempotent LongIObjectListMap loadAnnotations(string rootType, omero::sys::LongList rootIds,
omero::api::StringSet annotationTypes, omero::sys::LongList annotatorIds,
omero::sys::Parameters options) throws ServerError;

/**
* Loads all the annotations of a given type.
* It is possible to filter the annotations by including or
* excluding name spaces set on the annotations.
*
* @param annotationType The type of annotations to load.
* @param include
* Include the annotations with the specified name spaces.
* @param exclude
* Exclude the annotations with the specified name spaces.
* @param options The POJO options.
* @return A collection of found annotations.
**/
idempotent AnnotationList loadSpecifiedAnnotations(string annotationType,
omero::api::StringSet include,
omero::api::StringSet exclude,
omero::sys::Parameters options) throws ServerError;
//idempotent omero::metadata::TagSetContainerList loadTagSets(long id, bool withObjects, omero::sys::Parameters options) throws ServerError;
//idempotent omero::metadata::TagContainerList loadTags(long id, bool withObjects, omero::sys::Parameters options) throws ServerError;

/**
* Loads the TagSet if the id is specified otherwise loads
* all the TagSet.
*
* @param ids The id of the tag to load or <code>-1</code>.
* @return Map whose key is a <code>Tag/TagSet</code> and the
* value either a Map or a list of related
* <code>DataObject</code>.
**/
idempotent LongIObjectListMap loadTagContent(omero::sys::LongList ids, omero::sys::Parameters options) throws ServerError;

/**
* Loads all the TagSets. Returns a collection of
* <code>AnnotationAnnotatioLink</code> objects and, if the
* <code>orphan</code> parameters is <code>true</code>, the
* <code>TagAnnotation</code> object.
* Note that the difference between a TagSet and a Tag is made
* using the NS_INSIGHT_TAG_SET namespace.
*
* @param options The POJO options.
* @return See above.
**/
idempotent IObjectList loadTagSets(omero::sys::Parameters options) throws ServerError;

/**
* Returns a map whose key is a tag id and the value the
* number of Projects, Datasets, and Images linked to that tag.
*
* @param ids The collection of ids.
* @param options The POJO options.
* @return See above.
**/
idempotent omero::sys::CountMap getTaggedObjectsCount(omero::sys::LongList ids, omero::sys::Parameters options) throws ServerError;

/**
* Counts the number of annotation of a given type.
*
* @param annotationType The type of annotations to load.
* @param include The collection of name space, one of the
* constants defined by this class.
* @param exclude The collection of name space, one of the
* constants defined by this class.
* @param options The POJO options.
* @return See above.
**/
omero::RLong countSpecifiedAnnotations(string annotationType,
omero::api::StringSet include,
omero::api::StringSet exclude,
omero::sys::Parameters options) throws ServerError;

/**
* Loads the specified annotations.
*
* @param annotationIds The collection of annotation ids.
* @return See above.
*/
idempotent AnnotationList loadAnnotation(omero::sys::LongList annotationIds) throws ServerError;

/**
* Loads the instrument and its components i.e. detectors,
* objectives, etc.
*
* @param id The id of the instrument to load.
* @return See above
*/
idempotent omero::model::Instrument loadInstrument(long id) throws ServerError;

/**
* Loads the annotations of a given type used by the specified
* user but not owned by the user.
*
* @param annotationType The type of annotations to load.
* @param userID The identifier of the user.
* @return See above.
*/
idempotent IObjectList loadAnnotationsUsedNotOwned(string annotationType, long userID) throws ServerError;

/**
* Counts the number of annotation of a given type used by the
* specified user but not owned by the user.
*
* @param annotationType The type of annotations to load.
* @param userID The identifier of the user.
* @return See above.
*/
omero::RLong countAnnotationsUsedNotOwned(string annotationType, long userID) throws ServerError;

/**
* Loads the annotations of a given type linked to the
* specified objects. It is possible to filter the annotations
* by including or excluding name spaces set on the
* annotations.
*
* This method looks for the annotations that have been
* attached to each of the specified objects. It then maps
* each <code>rootNodeId</code> onto the set of annotations
* that were found for that node. If no annotations were found
* for that node, the map will not contain an entry for that
* node. Otherwise it will be a <code>Set</code> containing
* {@link omero.model.Annotation} objects.
* The <code>rootNodeType</code> supported are:
* Project, Dataset, Image, Pixels, Screen, Plate,
* PlateAcquisition, Well, Fileset.
*
* @param annotationType The type of annotations to load.
* @param include
* Include the annotations with the specified name spaces.
* @param exclude
* Exclude the annotations with the specified name spaces.
* @param rootNodeType
* The type of objects the annotations are linked to.
* @param rootNodeIds The identifiers of the objects.
* @param options The POJO options.
* @return A collection of found annotations.
*/
idempotent LongAnnotationListMap loadSpecifiedAnnotationsLinkedTo(string annotationType,
omero::api::StringSet include,
omero::api::StringSet exclude,
string rootNodeType,
omero::sys::LongList rootNodeIds,
omero::sys::Parameters options) throws ServerError;

/**
* Finds the original file IDs for the import logs
* corresponding to the given Image or Fileset IDs.
*
* @param rootNodeType
* the root node type, may be {@link omero.model.Image}
* or {@link omero.model.Fileset}
* @param ids
* the IDs of the entities for which the import log
* original file IDs are required
* @return the original file IDs of the import logs
**/
idempotent LongIObjectListMap loadLogFiles(string rootType, omero::sys::LongList ids) throws ServerError;
};

Expand Down
Loading