Class ExpressionExperimentSetController
- java.lang.Object
- 
- ubic.gemma.web.controller.BaseController
- 
- ubic.gemma.web.controller.expression.experiment.ExpressionExperimentSetController
 
 
- 
 @Controller @RequestMapping("/expressionExperimentSet") public class ExpressionExperimentSetController extends BaseControllerFor fetching and manipulating ExpressionExperimentSets. Methods take collections to be compatible with Store interfaces.- Author:
- paul
 
- 
- 
Field Summary- 
Fields inherited from class ubic.gemma.web.controller.BaseControllerlog
 
- 
 - 
Constructor SummaryConstructors Constructor Description ExpressionExperimentSetController()
 - 
Method Summary- 
Methods inherited from class ubic.gemma.web.controller.BaseControlleraddMessage, getMessageUtil, getText, getText, saveMessage, saveMessage, sendConfirmationEmail, setMessageUtil
 
- 
 
- 
- 
- 
Method Detail- 
addSessionGroups@Deprecated public Collection<SessionBoundExpressionExperimentSetValueObject> addSessionGroups(Collection<SessionBoundExpressionExperimentSetValueObject> eeSetVos, Boolean modificationBased) Deprecated.AJAX adds the Expression Experiment group to the session- Parameters:
- eeSetVos- value object constructed on the client.
- modificationBased- whether the set was modified by the user
- Returns:
- collection of added session groups (with updated reference.id etc)
 
 - 
addSessionGrouppublic SessionBoundExpressionExperimentSetValueObject addSessionGroup(SessionBoundExpressionExperimentSetValueObject eesvo, Boolean modificationBased) AJAX adds the Expression Experiment group to the session
 - 
addUserAndSessionGroupspublic Collection<ExpressionExperimentSetValueObject> addUserAndSessionGroups(Collection<ExpressionExperimentSetValueObject> sets) AJAX adds the experiment group to the session- Returns:
- the new gene groups
 
 - 
canCurrentUserEditGrouppublic String canCurrentUserEditGroup(ExpressionExperimentSetValueObject eesvo) AJAX returns a JSON string encoding whether the current user owns the group and whether the group is db-backed
 - 
createpublic Collection<ExpressionExperimentSetValueObject> create(Collection<ExpressionExperimentSetValueObject> entities) 
 - 
getExperimentIdsInSetpublic Collection<Long> getExperimentIdsInSet(Long id) 
 - 
getExperimentsInSetpublic Collection<ExpressionExperimentDetailsValueObject> getExperimentsInSet(Long groupId, Integer limit) - Parameters:
- limit- to return only up to a given number of experiments, e.g. for a preview of the set.
 
 - 
loadpublic ExpressionExperimentSetValueObject load(Long id) AJAX- Parameters:
- id- of the set
- Returns:
- the ExpressionExperimentSetValueObject for the id param
- Throws:
- IllegalArgumentException- if the id param is null
- org.springframework.security.access.AccessDeniedException- if the id param is not null but the loading function returns a null value
 
 - 
loadAllpublic Collection<ExpressionExperimentSetValueObject> loadAll() AJAX returns all available sets that have a taxon value (so not really all) sets can have *any* number of experiments- Returns:
- all available sets that have a taxon value
 
 - 
loadAllSessionGroupspublic Collection<SessionBoundExpressionExperimentSetValueObject> loadAllSessionGroups() AJAX- Returns:
- all available session backed sets
 
 - 
loadAllUserAndSessionGroupspublic Collection<ExpressionExperimentSetValueObject> loadAllUserAndSessionGroups() AJAX- Returns:
- all available sets from db and also session backed sets
 
 - 
loadAllUserOwnedAndSessionGroupspublic Collection<ExpressionExperimentSetValueObject> loadAllUserOwnedAndSessionGroups() AJAX- Returns:
- all available sets that have a taxon value from db and also session backed sets
 
 - 
loadByNamepublic ExpressionExperimentSetValueObject loadByName(String name) 
 - 
removepublic Collection<ExpressionExperimentSetValueObject> remove(Collection<ExpressionExperimentSetValueObject> entities) - Returns:
- the entities which were removed.
 
 - 
removeSessionGroupspublic Collection<SessionBoundExpressionExperimentSetValueObject> removeSessionGroups(Collection<SessionBoundExpressionExperimentSetValueObject> vos) AJAX Given a valid experiment group will remove it from the session.
 - 
removeUserAndSessionGroupspublic Collection<ExpressionExperimentSetValueObject> removeUserAndSessionGroups(Collection<ExpressionExperimentSetValueObject> vos) AJAX Given valid experiment groups will remove them from the session or the database appropriately.
 - 
showExpressionExperimentSet@RequestMapping(value="/showExpressionExperimentSet.html", method={GET,HEAD}) public org.springframework.web.servlet.ModelAndView showExpressionExperimentSet(javax.servlet.http.HttpServletRequest request)
 - 
updatepublic Collection<ExpressionExperimentSetValueObject> update(Collection<ExpressionExperimentSetValueObject> entities) - Returns:
- the entities which were updated (even if they weren't actually updated)
 
 - 
updateMemberspublic String updateMembers(Long groupId, Collection<Long> eeIds) AJAX Updates the given group (permission permitting) with the given list of memberIds. Will not allow the same experiment to be added to the set twice. Will not update name or description, just members.- Parameters:
- groupId- id of the gene set being updated
- Returns:
- error message or null if no errors
 
 - 
updateNameDescpublic ExpressionExperimentSetValueObject updateNameDesc(ExpressionExperimentSetValueObject eeSetVO) AJAX Updates the database record for the param experiment set value object (permission permitting) with the value object's name and description.- Parameters:
- eeSetVO- the value object that represents the database record to update
- Returns:
- a value object for the updated set
 
 - 
updateSessionGroupspublic Collection<SessionBoundExpressionExperimentSetValueObject> updateSessionGroups(Collection<SessionBoundExpressionExperimentSetValueObject> vos) AJAX Updates the session group.
 - 
updateUserAndSessionGroupspublic Collection<ExpressionExperimentSetValueObject> updateUserAndSessionGroups(Collection<ExpressionExperimentSetValueObject> vos) AJAX Updates the session group and user database groups.
 
- 
 
-