public interface _IShareOperationsNC extends _ServiceInterfaceOperationsNC
| Modifier and Type | Method and Description |
|---|---|
void |
activate_async(AMD_IShare_activate __cb,
long shareId)
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)
Creates
TextAnnotation comment for
Session share. |
void |
addGuest_async(AMD_IShare_addGuest __cb,
long shareId,
java.lang.String emailAddress)
Adds guest email address to the share.
|
void |
addGuests_async(AMD_IShare_addGuests __cb,
long shareId,
java.util.List<java.lang.String> emailAddresses)
Adds guest email addresses to the share.
|
void |
addObject_async(AMD_IShare_addObject __cb,
long shareId,
IObject iobject)
|
void |
addObjects_async(AMD_IShare_addObjects __cb,
long shareId,
java.util.List<IObject> iobjects)
|
void |
addReply_async(AMD_IShare_addReply __cb,
long shareId,
java.lang.String comment,
TextAnnotation replyTo)
Creates
TextAnnotation comment which
replies to an existing comment. |
void |
addUser_async(AMD_IShare_addUser __cb,
long shareId,
Experimenter exp)
Adds
Experimenter experimenter to
Session share. |
void |
addUsers_async(AMD_IShare_addUsers __cb,
long shareId,
java.util.List<Experimenter> exps)
Adds
Experimenter experimenters to
Session share. |
void |
closeShare_async(AMD_IShare_closeShare __cb,
long shareId)
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)
|
void |
deactivate_async(AMD_IShare_deactivate __cb)
Turns off the access control lists with the current share.
|
void |
deleteComment_async(AMD_IShare_deleteComment __cb,
Annotation comment)
Deletes
Annotation comment from the
database. |
void |
getActiveConnections_async(AMD_IShare_getActiveConnections __cb,
long shareId)
Gets actual active connections to
Session share. |
void |
getAllGuests_async(AMD_IShare_getAllGuests __cb,
long shareId)
Get the email addresses for all share guests.
|
void |
getAllMembers_async(AMD_IShare_getAllMembers __cb,
long shareId)
Get all
Experimenter users who are a
member of the share. |
void |
getAllUsers_async(AMD_IShare_getAllUsers __cb,
long shareId)
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)
Returns a map from share id to comment count.
|
void |
getComments_async(AMD_IShare_getComments __cb,
long shareId)
Looks up all
Annotation comments which
belong to the Session share. |
void |
getContentMap_async(AMD_IShare_getContentMap __cb,
long shareId)
Returns the contents of the share keyed by type.
|
void |
getContents_async(AMD_IShare_getContents __cb,
long shareId)
|
void |
getContentSize_async(AMD_IShare_getContentSize __cb,
long shareId)
Returns the number of items in the share.
|
void |
getContentSubList_async(AMD_IShare_getContentSubList __cb,
long shareId,
int start,
int finish)
Returns a range of items from the share.
|
void |
getEvents_async(AMD_IShare_getEvents __cb,
long shareId,
Experimenter exp,
RTime from,
RTime to)
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)
Returns a map from share id to the count of total members
(including the owner).
|
void |
getMemberShares_async(AMD_IShare_getMemberShares __cb,
boolean active)
Gets all shares where current
Experimenter is a member. |
void |
getMemberSharesFor_async(AMD_IShare_getMemberSharesFor __cb,
Experimenter user,
boolean active)
Gets all shares where given
Experimenter is a member. |
void |
getOwnShares_async(AMD_IShare_getOwnShares __cb,
boolean active)
Gets all owned shares for the current
Experimenter. |
void |
getPastConnections_async(AMD_IShare_getPastConnections __cb,
long shareId)
Gets previous connections to
Session share. |
void |
getShare_async(AMD_IShare_getShare __cb,
long shareId)
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)
Gets all shares owned by the given
Experimenter. |
void |
invalidateConnection_async(AMD_IShare_invalidateConnection __cb,
long shareId,
Experimenter exp)
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)
Notifies via email selected members of share.
|
void |
removeGuest_async(AMD_IShare_removeGuest __cb,
long shareId,
java.lang.String emailAddress)
Removes guest email address from share.
|
void |
removeGuests_async(AMD_IShare_removeGuests __cb,
long shareId,
java.util.List<java.lang.String> emailAddresses)
Removes guest email addresses from the share.
|
void |
removeObject_async(AMD_IShare_removeObject __cb,
long shareId,
IObject iobject)
|
void |
removeObjects_async(AMD_IShare_removeObjects __cb,
long shareId,
java.util.List<IObject> iobjects)
Remove existing items from the share.
|
void |
removeUser_async(AMD_IShare_removeUser __cb,
long shareId,
Experimenter exp)
Removes
Experimenter experimenter from
Session share. |
void |
removeUsers_async(AMD_IShare_removeUsers __cb,
long shareId,
java.util.List<Experimenter> exps)
Removes
Experimenter experimenters from
Session share. |
void |
setActive_async(AMD_IShare_setActive __cb,
long shareId,
boolean active) |
void |
setDescription_async(AMD_IShare_setDescription __cb,
long shareId,
java.lang.String description) |
void |
setExpiration_async(AMD_IShare_setExpiration __cb,
long shareId,
RTime expiration) |
void activate_async(AMD_IShare_activate __cb, long shareId) throws ServerError
ValidationException is thrown.__cb - The callback object for the operation.ServerErrorvoid deactivate_async(AMD_IShare_deactivate __cb) throws ServerError
__cb - The callback object for the operation.ServerErrorvoid getShare_async(AMD_IShare_getShare __cb, long shareId) 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.ServerErrorvoid getMemberCount_async(AMD_IShare_getMemberCount __cb, java.util.List<java.lang.Long> shareIds) throws ServerError
ShareMember links.__cb - The callback object for the operation.shareIds - Not null.ValidationException - if a given share does not existServerErrorvoid getOwnShares_async(AMD_IShare_getOwnShares __cb, boolean active) 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.ServerErrorvoid getMemberShares_async(AMD_IShare_getMemberShares __cb, boolean active) 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.ServerErrorvoid getSharesOwnedBy_async(AMD_IShare_getSharesOwnedBy __cb, Experimenter user, boolean active) 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.ServerErrorvoid getMemberSharesFor_async(AMD_IShare_getMemberSharesFor __cb, Experimenter user, boolean active) 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.ServerErrorvoid getContents_async(AMD_IShare_getContents __cb, long shareId) throws ServerError
__cb - The callback object for the operation.ServerErrorvoid getContentSubList_async(AMD_IShare_getContentSubList __cb, long shareId, int start, int finish) throws ServerError
__cb - The callback object for the operation.ServerErrorvoid getContentSize_async(AMD_IShare_getContentSize __cb, long shareId) throws ServerError
__cb - The callback object for the operation.ServerErrorvoid getContentMap_async(AMD_IShare_getContentMap __cb, long shareId) throws ServerError
__cb - The callback object for the operation.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) 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.ServerErrorvoid setDescription_async(AMD_IShare_setDescription __cb, long shareId, java.lang.String description) throws ServerError
ServerErrorvoid setExpiration_async(AMD_IShare_setExpiration __cb, long shareId, RTime expiration) throws ServerError
ServerErrorvoid setActive_async(AMD_IShare_setActive __cb, long shareId, boolean active) throws ServerError
ServerErrorvoid closeShare_async(AMD_IShare_closeShare __cb, long shareId) 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.ServerErrorvoid addObjects_async(AMD_IShare_addObjects __cb, long shareId, java.util.List<IObject> iobjects) 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.ServerErrorvoid addObject_async(AMD_IShare_addObject __cb, long shareId, IObject iobject) 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.ServerErrorvoid removeObjects_async(AMD_IShare_removeObjects __cb, long shareId, java.util.List<IObject> iobjects) throws ServerError
__cb - The callback object for the operation.ServerErrorvoid removeObject_async(AMD_IShare_removeObject __cb, long shareId, IObject iobject) throws ServerError
__cb - The callback object for the operation.ServerErrorvoid getCommentCount_async(AMD_IShare_getCommentCount __cb, java.util.List<java.lang.Long> shareIds) throws ServerError
__cb - The callback object for the operation.shareIds - Not null.ValidationException - if a given share does not existServerErrorvoid getComments_async(AMD_IShare_getComments __cb, long shareId) throws ServerError
Annotation comments which
belong to the Session share.__cb - The callback object for the operation.ServerErrorvoid addComment_async(AMD_IShare_addComment __cb, long shareId, java.lang.String comment) throws ServerError
TextAnnotation comment for
Session share.__cb - The callback object for the operation.ServerErrorvoid addReply_async(AMD_IShare_addReply __cb, long shareId, java.lang.String comment, TextAnnotation replyTo) throws ServerError
TextAnnotation comment which
replies to an existing comment.__cb - The callback object for the operation.ServerErrorvoid deleteComment_async(AMD_IShare_deleteComment __cb, Annotation comment) throws ServerError
Annotation comment from the
database.__cb - The callback object for the operation.ServerErrorvoid getAllMembers_async(AMD_IShare_getAllMembers __cb, long shareId) throws ServerError
Experimenter users who are a
member of the share.__cb - The callback object for the operation.ServerErrorvoid getAllGuests_async(AMD_IShare_getAllGuests __cb, long shareId) throws ServerError
__cb - The callback object for the operation.ServerErrorvoid getAllUsers_async(AMD_IShare_getAllUsers __cb, long shareId) 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 - ValidationException - if there is a conflict between email addresses and
user names.ServerErrorvoid addUsers_async(AMD_IShare_addUsers __cb, long shareId, java.util.List<Experimenter> exps) throws ServerError
Experimenter experimenters to
Session share.__cb - The callback object for the operation.ServerErrorvoid addGuests_async(AMD_IShare_addGuests __cb, long shareId, java.util.List<java.lang.String> emailAddresses) throws ServerError
__cb - The callback object for the operation.ServerErrorvoid removeUsers_async(AMD_IShare_removeUsers __cb, long shareId, java.util.List<Experimenter> exps) throws ServerError
Experimenter experimenters from
Session share.__cb - The callback object for the operation.ServerErrorvoid removeGuests_async(AMD_IShare_removeGuests __cb, long shareId, java.util.List<java.lang.String> emailAddresses) throws ServerError
__cb - The callback object for the operation.ServerErrorvoid addUser_async(AMD_IShare_addUser __cb, long shareId, Experimenter exp) throws ServerError
Experimenter experimenter to
Session share.__cb - The callback object for the operation.ServerErrorvoid addGuest_async(AMD_IShare_addGuest __cb, long shareId, java.lang.String emailAddress) throws ServerError
__cb - The callback object for the operation.ServerErrorvoid removeUser_async(AMD_IShare_removeUser __cb, long shareId, Experimenter exp) throws ServerError
Experimenter experimenter from
Session share.__cb - The callback object for the operation.ServerErrorvoid removeGuest_async(AMD_IShare_removeGuest __cb, long shareId, java.lang.String emailAddress) throws ServerError
__cb - The callback object for the operation.ServerErrorvoid getActiveConnections_async(AMD_IShare_getActiveConnections __cb, long shareId) throws ServerError
Session share.__cb - The callback object for the operation.ServerErrorvoid getPastConnections_async(AMD_IShare_getPastConnections __cb, long shareId) throws ServerError
Session share.__cb - The callback object for the operation.ServerErrorvoid invalidateConnection_async(AMD_IShare_invalidateConnection __cb, long shareId, Experimenter exp) throws ServerError
Session share for specified user.__cb - The callback object for the operation.ServerErrorvoid getEvents_async(AMD_IShare_getEvents __cb, long shareId, Experimenter exp, RTime from, RTime to) throws ServerError
Session share per
Experimenter experimenter for period of
time.__cb - The callback object for the operation.ServerErrorvoid notifyMembersOfShare_async(AMD_IShare_notifyMembersOfShare __cb, long shareId, java.lang.String subject, java.lang.String message, boolean html) throws ServerError
__cb - The callback object for the operation.ServerError