Package omero.api
Class _IShareDisp
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.api._IShareDisp
-
- All Implemented Interfaces:
Ice.Object
,java.io.Serializable
,java.lang.Cloneable
,_IShareOperations
,_IShareOperationsNC
,_ServiceInterfaceOperations
,_ServiceInterfaceOperationsNC
,IShare
,ServiceInterface
- Direct Known Subclasses:
_IShareTie
public abstract class _IShareDisp extends Ice.ObjectImpl implements IShare
Provides method for sharing - collaboration process for images, datasets, projects.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]
__ids
static long
serialVersionUID
-
Fields inherited from interface omero.api.IShare
ice_staticId
-
-
Constructor Summary
Constructors Constructor Description _IShareDisp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Ice.DispatchStatus
___activate(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___addComment(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___addGuest(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___addGuests(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___addObject(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___addObjects(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___addReply(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___addUser(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___addUsers(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___closeShare(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___createShare(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___deactivate(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___deleteComment(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getActiveConnections(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getAllGuests(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getAllMembers(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getAllUsers(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getCommentCount(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getComments(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getContentMap(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getContents(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getContentSize(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getContentSubList(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getEvents(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getMemberCount(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getMemberShares(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getMemberSharesFor(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getOwnShares(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getPastConnections(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getShare(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___getSharesOwnedBy(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___invalidateConnection(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___notifyMembersOfShare(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___removeGuest(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___removeGuests(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___removeObject(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___removeObjects(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___removeUser(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___removeUsers(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___setActive(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___setDescription(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___setExpiration(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
Ice.DispatchStatus
__dispatch(IceInternal.Incoming in, Ice.Current __current)
protected void
__readImpl(IceInternal.BasicStream __is)
protected void
__writeImpl(IceInternal.BasicStream __os)
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)
CreatesTextAnnotation
comment forSession
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)
CreatesTextAnnotation
comment which replies to an existing comment.void
addUser_async(AMD_IShare_addUser __cb, long shareId, Experimenter exp)
AddsExperimenter
experimenter toSession
share.void
addUsers_async(AMD_IShare_addUsers __cb, long shareId, java.util.List<Experimenter> exps)
AddsExperimenter
experimenters toSession
share.void
closeShare_async(AMD_IShare_closeShare __cb, long shareId)
ClosesSession
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)
DeletesAnnotation
comment from the database.void
getActiveConnections_async(AMD_IShare_getActiveConnections __cb, long shareId)
Gets actual active connections toSession
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 allExperimenter
users who are a member of the share.void
getAllUsers_async(AMD_IShare_getAllUsers __cb, long shareId)
Get a single set containing theomero.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 allAnnotation
comments which belong to theSession
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 forSession
share perExperimenter
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 currentExperimenter
is a member.void
getMemberSharesFor_async(AMD_IShare_getMemberSharesFor __cb, Experimenter user, boolean active)
Gets all shares where givenExperimenter
is a member.void
getOwnShares_async(AMD_IShare_getOwnShares __cb, boolean active)
Gets all owned shares for the currentExperimenter
.void
getPastConnections_async(AMD_IShare_getPastConnections __cb, long shareId)
Gets previous connections toSession
share.void
getShare_async(AMD_IShare_getShare __cb, long shareId)
Gets a share as aSession
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 givenExperimenter
.protected void
ice_copyStateFrom(Ice.Object __obj)
java.lang.String
ice_id()
java.lang.String
ice_id(Ice.Current __current)
java.lang.String[]
ice_ids()
java.lang.String[]
ice_ids(Ice.Current __current)
boolean
ice_isA(java.lang.String s)
boolean
ice_isA(java.lang.String s, Ice.Current __current)
static java.lang.String
ice_staticId()
void
invalidateConnection_async(AMD_IShare_invalidateConnection __cb, long shareId, Experimenter exp)
Makes the connection invalid forSession
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)
RemovesExperimenter
experimenter fromSession
share.void
removeUsers_async(AMD_IShare_removeUsers __cb, long shareId, java.util.List<Experimenter> exps)
RemovesExperimenter
experimenters fromSession
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)
-
Methods inherited from class Ice.ObjectImpl
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface omero.api._IShareOperations
activate_async, addComment_async, addGuest_async, addGuests_async, addObject_async, addObjects_async, addReply_async, addUser_async, addUsers_async, closeShare_async, createShare_async, deactivate_async, deleteComment_async, getActiveConnections_async, getAllGuests_async, getAllMembers_async, getAllUsers_async, getCommentCount_async, getComments_async, getContentMap_async, getContents_async, getContentSize_async, getContentSubList_async, getEvents_async, getMemberCount_async, getMemberShares_async, getMemberSharesFor_async, getOwnShares_async, getPastConnections_async, getShare_async, getSharesOwnedBy_async, invalidateConnection_async, notifyMembersOfShare_async, removeGuest_async, removeGuests_async, removeObject_async, removeObjects_async, removeUser_async, removeUsers_async, setActive_async, setDescription_async, setExpiration_async
-
-
-
-
Field Detail
-
__ids
public static final java.lang.String[] __ids
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
ice_copyStateFrom
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException
- Throws:
java.lang.CloneNotSupportedException
-
ice_isA
public boolean ice_isA(java.lang.String s)
- Specified by:
ice_isA
in interfaceIce.Object
- Overrides:
ice_isA
in classIce.ObjectImpl
-
ice_isA
public boolean ice_isA(java.lang.String s, Ice.Current __current)
- Specified by:
ice_isA
in interfaceIce.Object
- Overrides:
ice_isA
in classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids()
- Specified by:
ice_ids
in interfaceIce.Object
- Overrides:
ice_ids
in classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids(Ice.Current __current)
- Specified by:
ice_ids
in interfaceIce.Object
- Overrides:
ice_ids
in classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id()
- Specified by:
ice_id
in interfaceIce.Object
- Overrides:
ice_id
in classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id(Ice.Current __current)
- Specified by:
ice_id
in interfaceIce.Object
- Overrides:
ice_id
in classIce.ObjectImpl
-
ice_staticId
public static java.lang.String ice_staticId()
-
activate_async
public final void activate_async(AMD_IShare_activate __cb, long shareId) throws ServerError
Turns on the access control lists attached to the given share for the current session. Warning: this will slow down the execution of the current session for all database reads. Writing to the database will not be allowed. If share does not exist or is not accessible (non-members) or is disabled, then anValidationException
is thrown.- Specified by:
activate_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
addComment_async
public final void addComment_async(AMD_IShare_addComment __cb, long shareId, java.lang.String comment) throws ServerError
CreatesTextAnnotation
comment forSession
share.- Specified by:
addComment_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
addGuest_async
public final void addGuest_async(AMD_IShare_addGuest __cb, long shareId, java.lang.String emailAddress) throws ServerError
Adds guest email address to the share.- Specified by:
addGuest_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
addGuests_async
public final void addGuests_async(AMD_IShare_addGuests __cb, long shareId, java.util.List<java.lang.String> emailAddresses) throws ServerError
Adds guest email addresses to the share.- Specified by:
addGuests_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
addObject_async
public final void addObject_async(AMD_IShare_addObject __cb, long shareId, IObject iobject) throws ServerError
Adds newIObject
item toSession
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.- Specified by:
addObject_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
addObjects_async
public final void addObjects_async(AMD_IShare_addObjects __cb, long shareId, java.util.List<IObject> iobjects) throws ServerError
Adds newIObject
items toSession
share. Conceptually callsaddObjects
for every argument passed, but the graphs will be merged.- Specified by:
addObjects_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
addReply_async
public final void addReply_async(AMD_IShare_addReply __cb, long shareId, java.lang.String comment, TextAnnotation replyTo) throws ServerError
CreatesTextAnnotation
comment which replies to an existing comment.- Specified by:
addReply_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
addUser_async
public final void addUser_async(AMD_IShare_addUser __cb, long shareId, Experimenter exp) throws ServerError
AddsExperimenter
experimenter toSession
share.- Specified by:
addUser_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
addUsers_async
public final void addUsers_async(AMD_IShare_addUsers __cb, long shareId, java.util.List<Experimenter> exps) throws ServerError
AddsExperimenter
experimenters toSession
share.- Specified by:
addUsers_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
closeShare_async
public final void closeShare_async(AMD_IShare_closeShare __cb, long shareId) throws ServerError
ClosesSession
share. No further logins will be possible and all getters (e.g.getMemberShares
,getOwnShares
, ...) will filter these results ifonlyActive
is true.- Specified by:
closeShare_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
createShare_async
public final 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) throws ServerError
- Specified by:
createShare_async
in interface_IShareOperationsNC
- Parameters:
__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 exceptactivate
. Similarly, the share password cannot be used by guests to login.- Throws:
ServerError
-
deactivate_async
public final void deactivate_async(AMD_IShare_deactivate __cb) throws ServerError
Turns off the access control lists with the current share.- Specified by:
deactivate_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
deleteComment_async
public final void deleteComment_async(AMD_IShare_deleteComment __cb, Annotation comment) throws ServerError
DeletesAnnotation
comment from the database.- Specified by:
deleteComment_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
getActiveConnections_async
public final void getActiveConnections_async(AMD_IShare_getActiveConnections __cb, long shareId) throws ServerError
Gets actual active connections toSession
share.- Specified by:
getActiveConnections_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
getAllGuests_async
public final void getAllGuests_async(AMD_IShare_getAllGuests __cb, long shareId) throws ServerError
Get the email addresses for all share guests.- Specified by:
getAllGuests_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
getAllMembers_async
public final void getAllMembers_async(AMD_IShare_getAllMembers __cb, long shareId) throws ServerError
Get allExperimenter
users who are a member of the share.- Specified by:
getAllMembers_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
getAllUsers_async
public final void getAllUsers_async(AMD_IShare_getAllUsers __cb, long shareId) throws ServerError, ValidationException
Get a single set containing theomero.model.Experimenter.getOmeName
login names of the users as well email addresses for guests.- Specified by:
getAllUsers_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.shareId
-- Throws:
ValidationException
- if there is a conflict between email addresses and user names.ServerError
-
getCommentCount_async
public final void getCommentCount_async(AMD_IShare_getCommentCount __cb, java.util.List<java.lang.Long> shareIds) throws ServerError
Returns a map from share id to comment count.- Specified by:
getCommentCount_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.shareIds
- Not null.- Throws:
ValidationException
- if a given share does not existServerError
-
getComments_async
public final void getComments_async(AMD_IShare_getComments __cb, long shareId) throws ServerError
Looks up allAnnotation
comments which belong to theSession
share.- Specified by:
getComments_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
getContentMap_async
public final void getContentMap_async(AMD_IShare_getContentMap __cb, long shareId) throws ServerError
Returns the contents of the share keyed by type.- Specified by:
getContentMap_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
getContentSize_async
public final void getContentSize_async(AMD_IShare_getContentSize __cb, long shareId) throws ServerError
Returns the number of items in the share.- Specified by:
getContentSize_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
getContentSubList_async
public final void getContentSubList_async(AMD_IShare_getContentSubList __cb, long shareId, int start, int finish) throws ServerError
Returns a range of items from the share.- Specified by:
getContentSubList_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
getContents_async
public final void getContents_async(AMD_IShare_getContents __cb, long shareId) throws ServerError
- Specified by:
getContents_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
getEvents_async
public final void getEvents_async(AMD_IShare_getEvents __cb, long shareId, Experimenter exp, RTime from, RTime to) throws ServerError
Gets events forSession
share perExperimenter
experimenter for period of time.- Specified by:
getEvents_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
getMemberCount_async
public final void getMemberCount_async(AMD_IShare_getMemberCount __cb, java.util.List<java.lang.Long> shareIds) throws ServerError
Returns a map from share id to the count of total members (including the owner). This is represented byShareMember
links.- Specified by:
getMemberCount_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.shareIds
- Not null.- Throws:
ValidationException
- if a given share does not existServerError
-
getMemberShares_async
public final void getMemberShares_async(AMD_IShare_getMemberShares __cb, boolean active) throws ServerError
Gets all shares where currentExperimenter
is a member.- Specified by:
getMemberShares_async
in interface_IShareOperationsNC
- Parameters:
__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 (seecreateShare
) and closed shares (seecloseShare
) will be filtered.- Throws:
ServerError
-
getMemberSharesFor_async
public final void getMemberSharesFor_async(AMD_IShare_getMemberSharesFor __cb, Experimenter user, boolean active) throws ServerError
Gets all shares where givenExperimenter
is a member.- Specified by:
getMemberSharesFor_async
in interface_IShareOperationsNC
- Parameters:
__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 (seecreateShare
) and closed shares (seecloseShare
) will be filtered.- Throws:
ServerError
-
getOwnShares_async
public final void getOwnShares_async(AMD_IShare_getOwnShares __cb, boolean active) throws ServerError
Gets all owned shares for the currentExperimenter
.- Specified by:
getOwnShares_async
in interface_IShareOperationsNC
- Parameters:
__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 (seecreateShare
) and closed shares (seecloseShare
) will be filtered.- Throws:
ServerError
-
getPastConnections_async
public final void getPastConnections_async(AMD_IShare_getPastConnections __cb, long shareId) throws ServerError
Gets previous connections toSession
share.- Specified by:
getPastConnections_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
getShare_async
public final void getShare_async(AMD_IShare_getShare __cb, long shareId) throws ServerError
Gets a share as aSession
with all related:Annotation
comments,Experimenter
members, fully loaded. Unlike the other methods on this interface, if the sessionId is unknown, does not throw aValidationException
.- Specified by:
getShare_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
getSharesOwnedBy_async
public final void getSharesOwnedBy_async(AMD_IShare_getSharesOwnedBy __cb, Experimenter user, boolean active) throws ServerError
Gets all shares owned by the givenExperimenter
.- Specified by:
getSharesOwnedBy_async
in interface_IShareOperationsNC
- Parameters:
__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 (seecreateShare
) and closed shares (seecloseShare
) will be filtered.- Throws:
ServerError
-
invalidateConnection_async
public final void invalidateConnection_async(AMD_IShare_invalidateConnection __cb, long shareId, Experimenter exp) throws ServerError
Makes the connection invalid forSession
share for specified user.- Specified by:
invalidateConnection_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
notifyMembersOfShare_async
public final void notifyMembersOfShare_async(AMD_IShare_notifyMembersOfShare __cb, long shareId, java.lang.String subject, java.lang.String message, boolean html) throws ServerError
Notifies via email selected members of share.- Specified by:
notifyMembersOfShare_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
removeGuest_async
public final void removeGuest_async(AMD_IShare_removeGuest __cb, long shareId, java.lang.String emailAddress) throws ServerError
Removes guest email address from share.- Specified by:
removeGuest_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
removeGuests_async
public final void removeGuests_async(AMD_IShare_removeGuests __cb, long shareId, java.util.List<java.lang.String> emailAddresses) throws ServerError
Removes guest email addresses from the share.- Specified by:
removeGuests_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
removeObject_async
public final void removeObject_async(AMD_IShare_removeObject __cb, long shareId, IObject iobject) throws ServerError
- Specified by:
removeObject_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
removeObjects_async
public final void removeObjects_async(AMD_IShare_removeObjects __cb, long shareId, java.util.List<IObject> iobjects) throws ServerError
Remove existing items from the share.- Specified by:
removeObjects_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
removeUser_async
public final void removeUser_async(AMD_IShare_removeUser __cb, long shareId, Experimenter exp) throws ServerError
RemovesExperimenter
experimenter fromSession
share.- Specified by:
removeUser_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
removeUsers_async
public final void removeUsers_async(AMD_IShare_removeUsers __cb, long shareId, java.util.List<Experimenter> exps) throws ServerError
RemovesExperimenter
experimenters fromSession
share.- Specified by:
removeUsers_async
in interface_IShareOperationsNC
- Parameters:
__cb
- The callback object for the operation.- Throws:
ServerError
-
setActive_async
public final void setActive_async(AMD_IShare_setActive __cb, long shareId, boolean active) throws ServerError
- Specified by:
setActive_async
in interface_IShareOperationsNC
- Throws:
ServerError
-
setDescription_async
public final void setDescription_async(AMD_IShare_setDescription __cb, long shareId, java.lang.String description) throws ServerError
- Specified by:
setDescription_async
in interface_IShareOperationsNC
- Throws:
ServerError
-
setExpiration_async
public final void setExpiration_async(AMD_IShare_setExpiration __cb, long shareId, RTime expiration) throws ServerError
- Specified by:
setExpiration_async
in interface_IShareOperationsNC
- Throws:
ServerError
-
___activate
public static Ice.DispatchStatus ___activate(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___deactivate
public static Ice.DispatchStatus ___deactivate(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getShare
public static Ice.DispatchStatus ___getShare(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getMemberCount
public static Ice.DispatchStatus ___getMemberCount(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getOwnShares
public static Ice.DispatchStatus ___getOwnShares(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getMemberShares
public static Ice.DispatchStatus ___getMemberShares(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getSharesOwnedBy
public static Ice.DispatchStatus ___getSharesOwnedBy(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getMemberSharesFor
public static Ice.DispatchStatus ___getMemberSharesFor(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getContents
public static Ice.DispatchStatus ___getContents(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getContentSubList
public static Ice.DispatchStatus ___getContentSubList(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getContentSize
public static Ice.DispatchStatus ___getContentSize(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getContentMap
public static Ice.DispatchStatus ___getContentMap(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___createShare
public static Ice.DispatchStatus ___createShare(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___setDescription
public static Ice.DispatchStatus ___setDescription(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___setExpiration
public static Ice.DispatchStatus ___setExpiration(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___setActive
public static Ice.DispatchStatus ___setActive(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___closeShare
public static Ice.DispatchStatus ___closeShare(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___addObjects
public static Ice.DispatchStatus ___addObjects(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___addObject
public static Ice.DispatchStatus ___addObject(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___removeObjects
public static Ice.DispatchStatus ___removeObjects(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___removeObject
public static Ice.DispatchStatus ___removeObject(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getCommentCount
public static Ice.DispatchStatus ___getCommentCount(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getComments
public static Ice.DispatchStatus ___getComments(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___addComment
public static Ice.DispatchStatus ___addComment(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___addReply
public static Ice.DispatchStatus ___addReply(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___deleteComment
public static Ice.DispatchStatus ___deleteComment(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getAllMembers
public static Ice.DispatchStatus ___getAllMembers(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getAllGuests
public static Ice.DispatchStatus ___getAllGuests(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getAllUsers
public static Ice.DispatchStatus ___getAllUsers(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___addUsers
public static Ice.DispatchStatus ___addUsers(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___addGuests
public static Ice.DispatchStatus ___addGuests(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___removeUsers
public static Ice.DispatchStatus ___removeUsers(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___removeGuests
public static Ice.DispatchStatus ___removeGuests(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___addUser
public static Ice.DispatchStatus ___addUser(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___addGuest
public static Ice.DispatchStatus ___addGuest(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___removeUser
public static Ice.DispatchStatus ___removeUser(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___removeGuest
public static Ice.DispatchStatus ___removeGuest(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getActiveConnections
public static Ice.DispatchStatus ___getActiveConnections(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getPastConnections
public static Ice.DispatchStatus ___getPastConnections(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___invalidateConnection
public static Ice.DispatchStatus ___invalidateConnection(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getEvents
public static Ice.DispatchStatus ___getEvents(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___notifyMembersOfShare
public static Ice.DispatchStatus ___notifyMembersOfShare(IShare __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
__dispatch
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)
- Specified by:
__dispatch
in interfaceIce.Object
- Overrides:
__dispatch
in classIce.ObjectImpl
-
__writeImpl
protected void __writeImpl(IceInternal.BasicStream __os)
- Overrides:
__writeImpl
in classIce.ObjectImpl
-
__readImpl
protected void __readImpl(IceInternal.BasicStream __is)
- Overrides:
__readImpl
in classIce.ObjectImpl
-
-