Trees | Indices | Help |
|
---|
|
|
|||
|
|||
Long |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
String |
|
||
ExperimenterWrapper generator |
|
||
|
|||
|
|||
|
|||
|
|||
ImageWrapper generator |
|
||
AnnotationWrapper |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
ShareWrapper |
|
||
ShareWrapper generator |
|
||
ShareWrapper generator |
|
||
Dict of long: long |
|
||
Dict of long: long |
|
||
omero.gateway.BlitzObjectWrapper generator |
|
||
AnnotationWrapper generator |
|
||
ExperimenterWrapper generator |
|
||
List of Strings |
|
||
List of Strings |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
ImageWrapper generator |
|
||
ShareWrapper generator |
|
||
SessionCommentWrapper generator
|
|
||
BlitzObjectWrapper generator |
|
||
BlitzObjectWrapper generator |
|
||
Map |
|
||
Long |
|
||
List |
|
||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
Create the connection wrapper. Does not attempt to connect at this stage Initialises the omero.client
|
Returns active share id .
|
Every time session is created default group becomes active group and is loaded with the security for the current user and thread. Public data has to be created in the context of the group where user, who would like to look at these data, is a member of. Public data can be only visible by the member of group and owners.
|
Retrieves a configuration value "omero.resetpassword.config" for Forgotten password form from the backend store.
|
Allows to reset the password (temporary password is sent). The given email must match the email for the user listed under the name argument.
|
Checks if any of the experimenter was created before
|
Lists all IDs of experimenters who are authenticated by LDAP (has set dn on password table). @return: List of experimetner IDs @rtype: L{Dict of String: Long} |
Return DN of the specific experimenter if uses LDAP authentication (has set dn on password table) or None.
|
Return all experimenters apart from current user.
|
Retrieves a configuration value "omero.version" from the backend store.
|
List Images in the given Dataset. Optinally filter by experimenter 'eid'
|
Retrieves Tag by given Name and description @param name name of tag @type name String @param desc description of tag @type desc String
|
Uploads a photo for the user which will be displayed on his/her profile. This photo will be saved as an OriginalFile object with the given format, and attached to the user's Experimenter object via an File Annotation with the namespace: "openmicroscopy.org/omero/experimenter/photo" (NSEXPERIMENTERPHOTO). If such an OriginalFile instance already exists, it will be overwritten. If more than one photo is present, the oldest version will be modified (i.e. the highest updateEvent id). Note: as outlined in ticket:1794, this photo will be placed in the "user" group and therefore will be visible to everyone on the system. @param filename name which will be used. @type filename String @param format Format.value string. 'image/jpeg' and 'image/png' are common values. @type format String @param data Data from the image. This will be written to disk. @type data String @return ID of the overwritten or newly created user photo OriginalFile object. @rtype Long |
Check if File annotation with the namespace: "openmicroscopy.org/omero/experimenter/photo" (NSEXPERIMENTERPHOTO) is linked to the given user ID. If user id not set, owned by the current user. @param oid experimenter ID @type oid Long @return True or False @rtype Boolean |
Get File annotation with the namespace: "openmicroscopy.org/omero/experimenter/photo" (NSEXPERIMENTERPHOTO) linked to the given user ID. If user id not set, owned by the current user. @param oid experimenter ID @type oid Long @return Data from the image. @rtype String |
Get size of File annotation with the namespace: "openmicroscopy.org/omero/experimenter/photo" (NSEXPERIMENTERPHOTO) linked to the given user ID. If user id not set, owned by the current user. @param oid experimenter ID @type oid Long @return Tuple including dimention and size of the file @rtype Tuple |
Crop File annotation with the namespace: "openmicroscopy.org/omero/experimenter/photo" (NSEXPERIMENTERPHOTO) linked to the given user ID. If user id not set, owned by the current user. New dimentions are defined by squer positions box = (x1,y1,x2,y2) @param box tuple of new square positions @type box Tuple @param oid experimenter ID @type oid Long |
If file annotation with the namespace: "openmicroscopy.org/omero/experimenter/photo" (NSEXPERIMENTERPHOTO) is not linked to experimenter this method generate default picture of the person. @return Data from the image. @rtype String |
Get file annotation format for the given value. @return Omero File format @rtype String |
Counts the number of members in a collection for a given object. @param parent The fully-qualified classname of the object to be tested @type parent String @param child Name of the property on that class, omitting getters and setters. @type child String @param ids Set of Longs, the ids of the objects to test @type ids L{Long} @return A map from id integer to count integer @rtype L{(Long, Long)} |
Change the password for the a given user. @param omeName Experimetner omename @type omeName String @param password Must pass validation in the security sub-system. @type password String @param my_password Must pass validation in the security sub-system. @type my_password String |
Change the password for the current user by passing the old password. @param password Must pass validation in the security sub-system. @type password String @param old_password Old password @type old_password String @return None or error message if password could not be changed @rtype String |
Create and return a new user in the given groups with password. @param omeName A new username. @type omeName String @param firstName A new first name. @type firstName String @param lastName A new last name. @type lastName String @param email A new email. @type email String @param isAdmin An Admin permission. @type isAdmin Boolean @param isActive Active user (user can log in). @type isActive Boolean @param defaultGroup Instance of ExperimenterGroup selected as a first active group. @type defaultGroup ExperimenterGroupI @param otherGroups List of ExperimenterGroup instances. Can be empty. @type otherGroups ExperimenterGroupI @param password Must pass validation in the security sub-system. @type password String @param middleName A middle name. @type middleName String @param institution An institution. @type institution String @return ID of the newly created Experimenter Not null. @rtype Long |
Update an existing user including groups user is a member of. Password cannot be changed by calling that method. @param experimenter An existing Experimenter instance. @type experimenter ExperimenterWrapper @param omeName A new username. @type omeName String @param firstName A new first name. @type firstName String @param lastName A new last name. @type lastName String @param email A new email. @type email String @param isAdmin An Admin permission. @type isAdmin Boolean @param isActive Active user (user can log in). @type isActive Boolean @param defaultGroup Instance of ExperimenterGroup selected as a first active group. @type defaultGroup ExperimenterGroupI @param otherGroups List of ExperimenterGroup instances. Can be empty. @type otherGroups ExperimenterGroupI @param middleName A middle name. @type middleName String @param institution An institution. @type institution String |
Change members of the group. Returns a list of existing group members that could not be removed from the group because it is their only group. @param group An existing ExperimenterGroup instance. @type group ExperimenterGroupI @param new_members List of new new Experimenter Ids. @type new_members Long @return List of Experimenters not removed from group @rtype List of ExperimenterWrapper |
Change members of the group. @param group An existing ExperimenterGroup instance. @type group ExperimenterGroupI @param new_members List of new new Experimenter Ids. @type new_members Long |
Create and return a new group with the given owners. @param group A new ExperimenterGroup instance. @type group
ExperimenterGroupI @param owners List of Experimenter instances.
Can be empty. @type owners ExperimenterI @param permissions
Permissions instances. @type permissions
|
Update an existing user including groups user is a member of. Password cannot be changed by calling that method. @param group A new ExperimenterGroup instance. @type group
ExperimenterGroupI @param name A new group name. @type name
String @param permissions Permissions instances. @type permissions
|
Allows a user to update his/her own information and set the default group for a given user. @param experimenter A data transfer object. Only the fields: firstName, middleName, lastName, email, and institution are checked. Not null. @type experimenter ExperimenterWrapper @param firstName A new first name. @type firstName String @param lastName A new last name. @type lastName String @param email A new email. @type email String @param defaultGroup Instance of ExperimenterGroup selected as a first active group. @type defaultGroup ExperimenterGroupI @param middleName A middle name. @type middleName String @param institution An institution. @type institution String |
Allow to change the permission on the object. @param obj A wrapped entity or an unloaded reference to an entity. Not null. @type obj BlitzObjectWrapper @param perm The permissions value for this entity. Not null. @type perm PermissionsI |
Provide method for directly updating object graphs. Act recursively on the entire object graph, replacing placeholders and details where necessary, and then "merging" the final graph. This means that the objects that are passed into methods are copied over to new instances which are then returned. The original objects should be discarded. @param obj An entity or an unloaded reference to an entity. Not null. @type obj ObjectI |
Provide method for directly updating list of object graphs. Act recursively on the entire object graph, replacing placeholders and details where necessary, and then "merging" the final graph. This means that the objects that are passed into methods are copied over to new instances which are then returned. The original objects should be discarded. @param obj List of entities or an unloaded references to an
entity. Not null. @type obj |
Provide method for directly updating object graphs and return it. Act recursively on the entire object graph, replacing placeholders and details where necessary, and then "merging" the final graph. This means that the objects that are passed into methods are copied over to new instances which are then returned. The original objects should be discarded. @param obj An entity or an unloaded reference to an entity. Not null. @type obj ObjectI @return Saved object @rtype ObjectI |
Provide method for directly updating object graphs and return ID. Act recursively on the entire object graph, replacing placeholders and details where necessary, and then "merging" the final graph. This means that the objects that are passed into methods are copied over to new instances which are then returned. The original objects should be discarded. @param obj An entity or an unloaded reference to an entity. Not null. @type obj ObjectI @return ID of saved object @rtype Long |
Provide method for directly updating a file object and return binary. @param binary Binary. Not null. @type binary String @param oFile_id File Id in order to manage the state of the service. Not null. @type oFile_id Long @return Shallow copy of file. |
Gets share for the given share id.
|
Gets all owned shares for the current user.
|
Gets all shares where current user is a member.
|
Returns a map from share id to the count of total members (including the owner). This is represented by ome.model.meta.ShareMember links.
|
Returns a map from share id to comment count.
|
Looks up all items belonging to the share, wrapped in object wrapper
|
Looks up all comments which belong to the share, wrapped in object wrapper
|
Get all {@link Experimenter users} who are a member of the share.
|
Get the email addresses for all share guests.
|
Get a single set containing the login names of the users as well email addresses for guests.
|
Retrieve most recent imported images controlled by the security system.
|
Retrieve most recent shares controlled by the security system.
|
Retrieve most recent share comments controlled by the security system.
|
Retrieve most recent comment annotations controlled by the security system.
|
Retrieve most recent tag annotations controlled by the security system.
|
Retrieve given data objects by the given period of time controlled by the security system. @param start Starting data @type start Long @param end Finishing data @type end Long
|
Counts given data objects by the given period of time controlled by the security system. @param start Starting data @type start Long @param end Finishing data @type end Long
|
Retrieve event log objects by the given period of time controlled by the security system. @param start Starting data @type start Long @param end Finishing data @type end Long
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Sep 23 15:04:54 2014 | http://epydoc.sourceforge.net |