Class TaxonArrayArg
- java.lang.Object
-
- ubic.gemma.web.services.rest.util.args.AbstractArg<List<T>>
-
- ubic.gemma.web.services.rest.util.args.AbstractArrayArg<A>
-
- ubic.gemma.web.services.rest.util.args.AbstractEntityArrayArg<String,Taxon,TaxonService>
-
- ubic.gemma.web.services.rest.util.args.TaxonArrayArg
-
public class TaxonArrayArg extends AbstractEntityArrayArg<String,Taxon,TaxonService>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectFilter[]
getObjectFilters(TaxonService service)
Obtain anObjectFilter
disjunction clause for this entity.static TaxonArrayArg
valueOf(String s)
Used by RS to parse value of request parameters.-
Methods inherited from class ubic.gemma.web.services.rest.util.args.AbstractEntityArrayArg
getEntities, getPropertyName
-
Methods inherited from class ubic.gemma.web.services.rest.util.args.AbstractArg
getValue, toString
-
-
-
-
Method Detail
-
getObjectFilters
public ObjectFilter[] getObjectFilters(TaxonService service) throws MalformedArgException
Description copied from class:AbstractEntityArrayArg
Obtain anObjectFilter
disjunction clause for this entity. By applying this to a query, only the entities defined in this argument will be retrieved. By default, this is constructing a single,- Overrides:
getObjectFilters
in classAbstractEntityArrayArg<String,Taxon,TaxonService>
- Parameters:
service
- a service which provide the- Returns:
- Throws:
MalformedArgException
-
valueOf
public static TaxonArrayArg valueOf(String s)
Used by RS to parse value of request parameters.- Parameters:
s
- the request arrayTaxon argument- Returns:
- an instance of ArrayTaxonArg representing an array of Taxon identifiers from the input string, or a
malformed ArrayTaxonArg that will throw an
BadRequestException
when accessing its value, if the input String can not be converted into an array of Taxon identifiers.
-
-