Changeset 2622
- Timestamp:
- 07/14/08 15:29:34 (3 months ago)
- Location:
- trunk/components
- Files:
-
- 2 modified
-
blitz/resources/omero/API.ice (modified) (2 diffs)
-
common/src/ome/api/IShare.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/components/blitz/resources/omero/API.ice
r2620 r2622 284 284 }; 285 285 286 dictionary<omero::model::Experimenter, string> ConnMap;287 288 286 interface IShare extends ServiceInterface 289 287 { 290 288 void activate(long shareId); 291 omero::model::Session getShare(long sessionId) throws ServerError; 292 SessionList getAllShares(bool active) throws ServerError; 293 SessionList getOwnShares(bool active) throws ServerError; 294 SessionList getMemberShares(bool active) throws ServerError; 295 SessionList getSharesOwnedBy(omero::model::Experimenter user, bool active) throws ServerError; 296 SessionList getMemberSharesFor(omero::model::Experimenter user, bool active) throws ServerError; 297 298 IObjectList getContents(long shareId) throws ServerError; 299 IObjectList getContentSubList(long shareId, int start, int finish) throws ServerError; 300 int getContentSize(long shareId) throws ServerError; 301 IdListMap getContentMap(long shareId) throws ServerError; 289 omero::model::Session getShare(long sessionId); 290 SessionList getAllShares(bool active); 291 SessionList getOwnShares(bool active); 292 SessionList getMemberShares(bool active); 293 SessionList getSharesOwnedBy(omero::model::Experimenter user, bool active); 294 SessionList getMemberSharesFor(omero::model::Experimenter user, bool active); 295 IObjectList getContents(long shareId); 296 IObjectList getContentSubList(long shareId, int start, int finish); 297 int getContentSize(long shareId); 298 IdListMap getContentMap(long shareId); 302 299 303 300 long createShare(string description, … … 336 333 void removeGuest(long shareId, string emailAddress); 337 334 338 ConnMap getActiveConnections(long shareId) throws ServerError; 339 ConnMap getPastConnections(long shareId) throws ServerError; 340 void invalidateConnection(long shareId, omero::model::Experimenter exp) throws ServerError; 341 omero::model::Event getEvents(long shareId, omero::model::Experimenter exp, omero::RTime from, omero::RTime to) throws ServerError; 342 335 //dictionary<string, omero::model::Experimenter> getActiveConnections(long shareId); 336 //dictionary<string, omero::model::Experimenter> getPastConnections(long shareId); 337 void invalidateConnection(long shareId, omero::model::Experimenter exp); 338 IObjectList getEvents(long shareId, omero::model::Experimenter exp, omero::RTime from, omero::RTime to); 343 339 }; 344 340 -
trunk/components/common/src/ome/api/IShare.java
r2621 r2622 386 386 * @return map of experimenter and IP address 387 387 */ 388 Map< Experimenter, String> getActiveConnections(@NotNull388 Map<String, Experimenter> getActiveConnections(@NotNull 389 389 long shareId); 390 390 … … 395 395 * @return map of experimenter and IP address 396 396 */ 397 Map< Experimenter, String> getPastConnections(@NotNull397 Map<String, Experimenter> getPastConnections(@NotNull 398 398 long shareId); 399 399 … … 419 419 * @param to - 420 420 * time 421 * @return map of dates and type of actions422 */ 423 EventgetEvents(@NotNull421 * @return List of events 422 */ 423 List<Event> getEvents(@NotNull 424 424 long shareId, Experimenter experimenter, Timestamp from, Timestamp to); 425 425
