Package ubic.gemma.web.controller.common
Class CharacteristicBrowserController
- java.lang.Object
-
- ubic.gemma.web.controller.common.CharacteristicBrowserController
-
@Controller public class CharacteristicBrowserController extends Object
NOTE: Logging messages from this service are important for tracking changes to annotations.- Author:
- luke, paul
- See Also:
for related methods.
-
-
Constructor Summary
Constructors Constructor Description CharacteristicBrowserController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonReaderResponse<AnnotationValueObject>
browse(ListBatchCommand batch)
Long
count()
Collection<AnnotationValueObject>
findCharacteristics(String valuePrefix)
Collection<AnnotationValueObject>
findCharacteristicsCustom(String queryString, boolean searchNos, boolean searchEEs, boolean searchBMs, boolean searchFVs, boolean searchFVVs, boolean searchCategories, String categoryConstraint)
String
getView()
void
removeCharacteristics(Collection<AnnotationValueObject> chars)
void
updateCharacteristics(Collection<AnnotationValueObject> avos)
Update characteristics associated with entities.
-
-
-
Method Detail
-
browse
public JsonReaderResponse<AnnotationValueObject> browse(ListBatchCommand batch)
-
count
public Long count()
-
findCharacteristics
public Collection<AnnotationValueObject> findCharacteristics(String valuePrefix)
-
findCharacteristicsCustom
public Collection<AnnotationValueObject> findCharacteristicsCustom(String queryString, boolean searchNos, boolean searchEEs, boolean searchBMs, boolean searchFVs, boolean searchFVVs, boolean searchCategories, String categoryConstraint)
- Parameters:
searchFVs
- Search factor values that lack characteristics -- that is, search the factorValue.value.searchCategories
- Should the Category be searched, not just the Value?
-
getView
@RequestMapping(value="/characteristicBrowser.html", method={GET,HEAD}) public String getView()
-
removeCharacteristics
public void removeCharacteristics(Collection<AnnotationValueObject> chars)
-
updateCharacteristics
public void updateCharacteristics(Collection<AnnotationValueObject> avos)
Update characteristics associated with entities. This allows for the case of factor values that we are adding characteristics to for the first time, but the most common case is altering existing characteristics.
-
-