public interface _IShareOperations extends _ServiceInterfaceOperations
| Modifier and Type | Method and Description |
|---|---|
void |
activate_async(AMD_IShare_activate __cb,
long shareId,
Ice.Current __current)
Turns on the access control lists attached to the given
share for the current session.
|
void |
addComment_async(AMD_IShare_addComment __cb,
long shareId,
java.lang.String comment,
Ice.Current __current)
Creates
TextAnnotation comment for
Session share. |
void |
addGuest_async(AMD_IShare_addGuest __cb,
long shareId,
java.lang.String emailAddress,
Ice.Current __current)
Adds guest email address to the share.
|
void |
addGuests_async(AMD_IShare_addGuests __cb,
long shareId,
java.util.List<java.lang.String> emailAddresses,
Ice.Current __current)
Adds guest email addresses to the share.
|
void |
addObject_async(AMD_IShare_addObject __cb,
long shareId,
IObject iobject,
Ice.Current __current)
|
void |
addObjects_async(AMD_IShare_addObjects __cb,
long shareId,
java.util.List<IObject> iobjects,
Ice.Current __current)
|
void |
addReply_async(AMD_IShare_addReply __cb,
long shareId,
java.lang.String comment,
TextAnnotation replyTo,
Ice.Current __current)
Creates
TextAnnotation comment which
replies to an existing comment. |
void |
addUser_async(AMD_IShare_addUser __cb,
long shareId,
Experimenter exp,
Ice.Current __current)
Adds
Experimenter experimenter to
Session share. |
void |
addUsers_async(AMD_IShare_addUsers __cb,
long shareId,
java.util.List<Experimenter> exps,
Ice.Current __current)
Adds
Experimenter experimenters to
Session share. |
void |
closeShare_async(AMD_IShare_closeShare __cb,
long shareId,
Ice.Current __current)
Closes
Session share. |
void |
createShare_async(AMD_IShare_createShare __cb,
java.lang.String description,
RTime expiration,
java.util.List<IObject> items,
java.util.List<Experimenter> exps,
java.util.List<java.lang.String> guests,
boolean enabled,
Ice.Current __current)
|
void |
deactivate_async(AMD_IShare_deactivate __cb,
Ice.Current __current)
Turns off the access control lists with the current share.
|
void |
deleteComment_async(AMD_IShare_deleteComment __cb,
Annotation comment,
Ice.Current __current)
Deletes
Annotation comment from the
database. |
void |
getActiveConnections_async(AMD_IShare_getActiveConnections __cb,
long shareId,
Ice.Current __current)
Gets actual active connections to
Session share. |
void |
getAllGuests_async(AMD_IShare_getAllGuests __cb,
long shareId,
Ice.Current __current)
Get the email addresses for all share guests.
|
void |
getAllMembers_async(AMD_IShare_getAllMembers __cb,
long shareId,
Ice.Current __current)
Get all
Experimenter users who are a
member of the share. |
void |
getAllUsers_async(AMD_IShare_getAllUsers __cb,
long shareId,
Ice.Current __current)
Get a single set containing the
omero.model.Experimenter.getOmeName login names
of the users as well email addresses for guests. |
void |
getCommentCount_async(AMD_IShare_getCommentCount __cb,
java.util.List<java.lang.Long> shareIds,
Ice.Current __current)
Returns a map from share id to comment count.
|
void |
getComments_async(AMD_IShare_getComments __cb,
long shareId,
Ice.Current __current)
Looks up all
Annotation comments which
belong to the Session share. |
void |
getContentMap_async(AMD_IShare_getContentMap __cb,
long shareId,
Ice.Current __current)
Returns the contents of the share keyed by type.
|
void |
getContents_async(AMD_IShare_getContents __cb,
long shareId,
Ice.Current __current)
|
void |
getContentSize_async(AMD_IShare_getContentSize __cb,
long shareId,
Ice.Current __current)
Returns the number of items in the share.
|
void |
getContentSubList_async(AMD_IShare_getContentSubList __cb,
long shareId,
int start,
int finish,
Ice.Current __current)
Returns a range of items from the share.
|
void |
getEvents_async(AMD_IShare_getEvents __cb,
long shareId,
Experimenter exp,
RTime from,
RTime to,
Ice.Current __current)
Gets events for
Session share per
Experimenter experimenter for period of
time. |
void |
getMemberCount_async(AMD_IShare_getMemberCount __cb,
java.util.List<java.lang.Long> shareIds,
Ice.Current __current)
Returns a map from share id to the count of total members
(including the owner).
|
void |
getMemberShares_async(AMD_IShare_getMemberShares __cb,
boolean active,
Ice.Current __current)
Gets all shares where current
Experimenter is a member. |
void |
getMemberSharesFor_async(AMD_IShare_getMemberSharesFor __cb,
Experimenter user,
boolean active,
Ice.Current __current)
Gets all shares where given
Experimenter is a member. |
void |
getOwnShares_async(AMD_IShare_getOwnShares __cb,
boolean active,
Ice.Current __current)
Gets all owned shares for the current
Experimenter. |
void |
getPastConnections_async(AMD_IShare_getPastConnections __cb,
long shareId,
Ice.Current __current)
Gets previous connections to
Session share. |
void |
getShare_async(AMD_IShare_getShare __cb,
long shareId,
Ice.Current __current)
Gets a share as a
Session with all
related: Annotation comments,
Experimenter members, fully loaded. |
void |
getSharesOwnedBy_async(AMD_IShare_getSharesOwnedBy __cb,
Experimenter user,
boolean active,
Ice.Current __current)
Gets all shares owned by the given
Experimenter. |
void |
invalidateConnection_async(AMD_IShare_invalidateConnection __cb,
long shareId,
Experimenter exp,
Ice.Current __current)
Makes the connection invalid for
Session share for specified user. |
void |
notifyMembersOfShare_async(AMD_IShare_notifyMembersOfShare __cb,
long shareId,
java.lang.String subject,
java.lang.String message,
boolean html,
Ice.Current __current)
Notifies via email selected members of share.
|
void |
removeGuest_async(AMD_IShare_removeGuest __cb,
long shareId,
java.lang.String emailAddress,
Ice.Current __current)
Removes guest email address from share.
|
void |
removeGuests_async(AMD_IShare_removeGuests __cb,
long shareId,
java.util.List<java.lang.String> emailAddresses,
Ice.Current __current)
Removes guest email addresses from the share.
|
void |
removeObject_async(AMD_IShare_removeObject __cb,
long shareId,
IObject iobject,
Ice.Current __current)
|
void |
removeObjects_async(AMD_IShare_removeObjects __cb,
long shareId,
java.util.List<IObject> iobjects,
Ice.Current __current)
Remove existing items from the share.
|
void |
removeUser_async(AMD_IShare_removeUser __cb,
long shareId,
Experimenter exp,
Ice.Current __current)
Removes
Experimenter experimenter from
Session share. |
void |
removeUsers_async(AMD_IShare_removeUsers __cb,
long shareId,
java.util.List<Experimenter> exps,
Ice.Current __current)
Removes
Experimenter experimenters from
Session share. |
void |
setActive_async(AMD_IShare_setActive __cb,
long shareId,
boolean active,
Ice.Current __current) |
void |
setDescription_async(AMD_IShare_setDescription __cb,
long shareId,
java.lang.String description,
Ice.Current __current) |
void |
setExpiration_async(AMD_IShare_setExpiration __cb,
long shareId,
RTime expiration,
Ice.Current __current) |
void activate_async(AMD_IShare_activate __cb, long shareId, Ice.Current __current) throws ServerError
ValidationException is thrown.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid deactivate_async(AMD_IShare_deactivate __cb, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid getShare_async(AMD_IShare_getShare __cb, long shareId, Ice.Current __current) throws ServerError
Session with all
related: Annotation comments,
Experimenter members, fully loaded.
Unlike the other methods on this interface, if the
sessionId is unknown, does not throw a
ValidationException.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid getMemberCount_async(AMD_IShare_getMemberCount __cb, java.util.List<java.lang.Long> shareIds, Ice.Current __current) throws ServerError
ShareMember links.__cb - The callback object for the operation.shareIds - Not null.__current - The Current object for the invocation.ServerErrorvoid getOwnShares_async(AMD_IShare_getOwnShares __cb, boolean active, Ice.Current __current) throws ServerError
Experimenter.__cb - The callback object for the operation.active - if true, then only shares which can be used for
login will be returned. All draft shares
(see createShare) and closed shares (see
closeShare) will be filtered.__current - The Current object for the invocation.ServerErrorvoid getMemberShares_async(AMD_IShare_getMemberShares __cb, boolean active, Ice.Current __current) throws ServerError
Experimenter is a member.__cb - The callback object for the operation.active - if true, then only shares which can be used for
login will be returned. All draft shares
(see createShare) and closed shares (see
closeShare) will be filtered.__current - The Current object for the invocation.ServerErrorvoid getSharesOwnedBy_async(AMD_IShare_getSharesOwnedBy __cb, Experimenter user, boolean active, Ice.Current __current) throws ServerError
Experimenter.__cb - The callback object for the operation.user - the experimenteractive - if true, then only shares which can be used for
login will be returned. All draft shares
(see createShare) and closed shares (see
closeShare) will be filtered.__current - The Current object for the invocation.ServerErrorvoid getMemberSharesFor_async(AMD_IShare_getMemberSharesFor __cb, Experimenter user, boolean active, Ice.Current __current) throws ServerError
Experimenter is a member.__cb - The callback object for the operation.user - the experimenteractive - if true, then only shares which can be used for
login will be returned. All draft shares
(see createShare) and closed shares (see
closeShare) will be filtered.__current - The Current object for the invocation.ServerErrorvoid getContents_async(AMD_IShare_getContents __cb, long shareId, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid getContentSubList_async(AMD_IShare_getContentSubList __cb, long shareId, int start, int finish, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid getContentSize_async(AMD_IShare_getContentSize __cb, long shareId, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid getContentMap_async(AMD_IShare_getContentMap __cb, long shareId, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid createShare_async(AMD_IShare_createShare __cb, java.lang.String description, RTime expiration, java.util.List<IObject> items, java.util.List<Experimenter> exps, java.util.List<java.lang.String> guests, boolean enabled, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.enabled - if true, then the share is immediately available
for use. If false, then the share is in draft
state. All methods on this interface will work
for shares except activate.
Similarly, the share password cannot be used by
guests to login.__current - The Current object for the invocation.ServerErrorvoid setDescription_async(AMD_IShare_setDescription __cb, long shareId, java.lang.String description, Ice.Current __current) throws ServerError
ServerErrorvoid setExpiration_async(AMD_IShare_setExpiration __cb, long shareId, RTime expiration, Ice.Current __current) throws ServerError
ServerErrorvoid setActive_async(AMD_IShare_setActive __cb, long shareId, boolean active, Ice.Current __current) throws ServerError
ServerErrorvoid closeShare_async(AMD_IShare_closeShare __cb, long shareId, Ice.Current __current) throws ServerError
Session share. No further logins
will be possible and all getters (e.g.
getMemberShares, getOwnShares, ...) will
filter these results if onlyActive is true.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid addObjects_async(AMD_IShare_addObjects __cb, long shareId, java.util.List<IObject> iobjects, Ice.Current __current) throws ServerError
IObject items to
Session share. Conceptually calls
addObjects for every argument passed, but the
graphs will be merged.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid addObject_async(AMD_IShare_addObject __cb, long shareId, IObject iobject, Ice.Current __current) throws ServerError
IObject item to
Session share. The entire object graph
with the exception of all Details will be loaded into the
share. If you would like to load a single object, then pass
an unloaded reference.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid removeObjects_async(AMD_IShare_removeObjects __cb, long shareId, java.util.List<IObject> iobjects, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid removeObject_async(AMD_IShare_removeObject __cb, long shareId, IObject iobject, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid getCommentCount_async(AMD_IShare_getCommentCount __cb, java.util.List<java.lang.Long> shareIds, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.shareIds - Not null.__current - The Current object for the invocation.ServerErrorvoid getComments_async(AMD_IShare_getComments __cb, long shareId, Ice.Current __current) throws ServerError
Annotation comments which
belong to the Session share.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid addComment_async(AMD_IShare_addComment __cb, long shareId, java.lang.String comment, Ice.Current __current) throws ServerError
TextAnnotation comment for
Session share.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid addReply_async(AMD_IShare_addReply __cb, long shareId, java.lang.String comment, TextAnnotation replyTo, Ice.Current __current) throws ServerError
TextAnnotation comment which
replies to an existing comment.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid deleteComment_async(AMD_IShare_deleteComment __cb, Annotation comment, Ice.Current __current) throws ServerError
Annotation comment from the
database.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid getAllMembers_async(AMD_IShare_getAllMembers __cb, long shareId, Ice.Current __current) throws ServerError
Experimenter users who are a
member of the share.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid getAllGuests_async(AMD_IShare_getAllGuests __cb, long shareId, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid getAllUsers_async(AMD_IShare_getAllUsers __cb, long shareId, Ice.Current __current) throws ServerError, ValidationException
omero.model.Experimenter.getOmeName login names
of the users as well email addresses for guests.__cb - The callback object for the operation.shareId - __current - The Current object for the invocation.ServerErrorValidationExceptionvoid addUsers_async(AMD_IShare_addUsers __cb, long shareId, java.util.List<Experimenter> exps, Ice.Current __current) throws ServerError
Experimenter experimenters to
Session share.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid addGuests_async(AMD_IShare_addGuests __cb, long shareId, java.util.List<java.lang.String> emailAddresses, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid removeUsers_async(AMD_IShare_removeUsers __cb, long shareId, java.util.List<Experimenter> exps, Ice.Current __current) throws ServerError
Experimenter experimenters from
Session share.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid removeGuests_async(AMD_IShare_removeGuests __cb, long shareId, java.util.List<java.lang.String> emailAddresses, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid addUser_async(AMD_IShare_addUser __cb, long shareId, Experimenter exp, Ice.Current __current) throws ServerError
Experimenter experimenter to
Session share.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid addGuest_async(AMD_IShare_addGuest __cb, long shareId, java.lang.String emailAddress, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid removeUser_async(AMD_IShare_removeUser __cb, long shareId, Experimenter exp, Ice.Current __current) throws ServerError
Experimenter experimenter from
Session share.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid removeGuest_async(AMD_IShare_removeGuest __cb, long shareId, java.lang.String emailAddress, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid getActiveConnections_async(AMD_IShare_getActiveConnections __cb, long shareId, Ice.Current __current) throws ServerError
Session share.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid getPastConnections_async(AMD_IShare_getPastConnections __cb, long shareId, Ice.Current __current) throws ServerError
Session share.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid invalidateConnection_async(AMD_IShare_invalidateConnection __cb, long shareId, Experimenter exp, Ice.Current __current) throws ServerError
Session share for specified user.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid getEvents_async(AMD_IShare_getEvents __cb, long shareId, Experimenter exp, RTime from, RTime to, Ice.Current __current) throws ServerError
Session share per
Experimenter experimenter for period of
time.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid notifyMembersOfShare_async(AMD_IShare_notifyMembersOfShare __cb, long shareId, java.lang.String subject, java.lang.String message, boolean html, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.__current - The Current object for the invocation.ServerError