public class ShareI extends AbstractAmdServant implements _IShareOperations
IShare
Constructor and Description |
---|
ShareI(ome.api.IShare service,
BlitzExecutor be) |
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) |
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolder
public ShareI(ome.api.IShare service, BlitzExecutor be)
public void activate_async(AMD_IShare_activate __cb, long shareId, Ice.Current __current)
_IShareOperations
ValidationException
is thrown.activate_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void deactivate_async(AMD_IShare_deactivate __cb, Ice.Current __current)
_IShareOperations
deactivate_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void addComment_async(AMD_IShare_addComment __cb, long shareId, java.lang.String comment, Ice.Current __current)
_IShareOperations
TextAnnotation
comment for
Session
share.addComment_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void addGuest_async(AMD_IShare_addGuest __cb, long shareId, java.lang.String emailAddress, Ice.Current __current)
_IShareOperations
addGuest_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void addObject_async(AMD_IShare_addObject __cb, long shareId, IObject iobject, Ice.Current __current)
_IShareOperations
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.addObject_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void addObjects_async(AMD_IShare_addObjects __cb, long shareId, java.util.List<IObject> iobjects, Ice.Current __current)
_IShareOperations
IObject
items to
Session
share. Conceptually calls
addObjects
for every argument passed, but the
graphs will be merged.addObjects_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void addReply_async(AMD_IShare_addReply __cb, long shareId, java.lang.String comment, TextAnnotation replyTo, Ice.Current __current)
_IShareOperations
TextAnnotation
comment which
replies to an existing comment.addReply_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void addUser_async(AMD_IShare_addUser __cb, long shareId, Experimenter exp, Ice.Current __current)
_IShareOperations
Experimenter
experimenter to
Session
share.addUser_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void addUsers_async(AMD_IShare_addUsers __cb, long shareId, java.util.List<Experimenter> exps, Ice.Current __current)
_IShareOperations
Experimenter
experimenters to
Session
share.addUsers_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void closeShare_async(AMD_IShare_closeShare __cb, long shareId, Ice.Current __current)
_IShareOperations
Session
share. No further logins
will be possible and all getters (e.g.
getMemberShares
, getOwnShares
, ...) will
filter these results if onlyActive
is true.closeShare_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void deleteComment_async(AMD_IShare_deleteComment __cb, Annotation comment, Ice.Current __current)
_IShareOperations
Annotation
comment from the
database.deleteComment_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void getAllGuests_async(AMD_IShare_getAllGuests __cb, long shareId, Ice.Current __current)
_IShareOperations
getAllGuests_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void getAllMembers_async(AMD_IShare_getAllMembers __cb, long shareId, Ice.Current __current)
_IShareOperations
Experimenter
users who are a
member of the share.getAllMembers_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void getAllUsers_async(AMD_IShare_getAllUsers __cb, long shareId, Ice.Current __current) throws ValidationException
_IShareOperations
omero.model.Experimenter.getOmeName
login names
of the users as well email addresses for guests.getAllUsers_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ValidationException
public void getCommentCount_async(AMD_IShare_getCommentCount __cb, java.util.List<java.lang.Long> shareIds, Ice.Current __current) throws ServerError
_IShareOperations
getCommentCount_async
in interface _IShareOperations
__cb
- The callback object for the operation.shareIds
- Not null.__current
- The Current object for the invocation.ServerError
public void getComments_async(AMD_IShare_getComments __cb, long shareId, Ice.Current __current)
_IShareOperations
Annotation
comments which
belong to the Session
share.getComments_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void getContentMap_async(AMD_IShare_getContentMap __cb, long shareId, Ice.Current __current)
_IShareOperations
getContentMap_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void getContentSize_async(AMD_IShare_getContentSize __cb, long shareId, Ice.Current __current)
_IShareOperations
getContentSize_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void getContentSubList_async(AMD_IShare_getContentSubList __cb, long shareId, int start, int finish, Ice.Current __current)
_IShareOperations
getContentSubList_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void getContents_async(AMD_IShare_getContents __cb, long shareId, Ice.Current __current)
_IShareOperations
getContents_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void getMemberCount_async(AMD_IShare_getMemberCount __cb, java.util.List<java.lang.Long> shareIds, Ice.Current __current) throws ServerError
_IShareOperations
ShareMember
links.getMemberCount_async
in interface _IShareOperations
__cb
- The callback object for the operation.shareIds
- Not null.__current
- The Current object for the invocation.ServerError
public void getMemberSharesFor_async(AMD_IShare_getMemberSharesFor __cb, Experimenter user, boolean active, Ice.Current __current)
_IShareOperations
Experimenter
is a member.getMemberSharesFor_async
in interface _IShareOperations
__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.public void getMemberShares_async(AMD_IShare_getMemberShares __cb, boolean active, Ice.Current __current)
_IShareOperations
Experimenter
is a member.getMemberShares_async
in interface _IShareOperations
__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.public void getOwnShares_async(AMD_IShare_getOwnShares __cb, boolean active, Ice.Current __current)
_IShareOperations
Experimenter
.getOwnShares_async
in interface _IShareOperations
__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.public void getShare_async(AMD_IShare_getShare __cb, long shareId, Ice.Current __current)
_IShareOperations
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
.getShare_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void getSharesOwnedBy_async(AMD_IShare_getSharesOwnedBy __cb, Experimenter user, boolean active, Ice.Current __current)
_IShareOperations
Experimenter
.getSharesOwnedBy_async
in interface _IShareOperations
__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.public void removeGuest_async(AMD_IShare_removeGuest __cb, long shareId, java.lang.String emailAddress, Ice.Current __current)
_IShareOperations
removeGuest_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void removeObject_async(AMD_IShare_removeObject __cb, long shareId, IObject iobject, Ice.Current __current)
_IShareOperations
removeObject_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void removeObjects_async(AMD_IShare_removeObjects __cb, long shareId, java.util.List<IObject> iobjects, Ice.Current __current)
_IShareOperations
removeObjects_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void removeUser_async(AMD_IShare_removeUser __cb, long shareId, Experimenter exp, Ice.Current __current)
_IShareOperations
Experimenter
experimenter from
Session
share.removeUser_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void removeUsers_async(AMD_IShare_removeUsers __cb, long shareId, java.util.List<Experimenter> exps, Ice.Current __current)
_IShareOperations
Experimenter
experimenters from
Session
share.removeUsers_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.public void setActive_async(AMD_IShare_setActive __cb, long shareId, boolean active, Ice.Current __current)
setActive_async
in interface _IShareOperations
public void setDescription_async(AMD_IShare_setDescription __cb, long shareId, java.lang.String description, Ice.Current __current)
setDescription_async
in interface _IShareOperations
public void setExpiration_async(AMD_IShare_setExpiration __cb, long shareId, RTime expiration, Ice.Current __current)
setExpiration_async
in interface _IShareOperations
public void addGuests_async(AMD_IShare_addGuests __cb, long shareId, java.util.List<java.lang.String> emailAddresses, Ice.Current __current) throws ServerError
_IShareOperations
addGuests_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public 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) throws ServerError
_IShareOperations
createShare_async
in interface _IShareOperations
__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.ServerError
public void getActiveConnections_async(AMD_IShare_getActiveConnections __cb, long shareId, Ice.Current __current) throws ServerError
_IShareOperations
Session
share.getActiveConnections_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getEvents_async(AMD_IShare_getEvents __cb, long shareId, Experimenter exp, RTime from, RTime to, Ice.Current __current) throws ServerError
_IShareOperations
Session
share per
Experimenter
experimenter for period of
time.getEvents_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getPastConnections_async(AMD_IShare_getPastConnections __cb, long shareId, Ice.Current __current) throws ServerError
_IShareOperations
Session
share.getPastConnections_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void invalidateConnection_async(AMD_IShare_invalidateConnection __cb, long shareId, Experimenter exp, Ice.Current __current) throws ServerError
_IShareOperations
Session
share for specified user.invalidateConnection_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void notifyMembersOfShare_async(AMD_IShare_notifyMembersOfShare __cb, long shareId, java.lang.String subject, java.lang.String message, boolean html, Ice.Current __current) throws ServerError
_IShareOperations
notifyMembersOfShare_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void removeGuests_async(AMD_IShare_removeGuests __cb, long shareId, java.util.List<java.lang.String> emailAddresses, Ice.Current __current) throws ServerError
_IShareOperations
removeGuests_async
in interface _IShareOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError