Class ListSubtractionService
- java.lang.Object
-
- org.intermine.webservice.server.WebService
-
- org.intermine.webservice.server.core.JSONService
-
- org.intermine.webservice.server.lists.AbstractListService
-
- org.intermine.webservice.server.lists.AuthenticatedListService
-
- org.intermine.webservice.server.lists.ListMakerService
-
- org.intermine.webservice.server.lists.ListOperationService
-
- org.intermine.webservice.server.lists.ListSubtractionService
-
public class ListSubtractionService extends ListOperationService
A service for subtracting one group of lists from another group of lists to produce a new list.- Author:
- Alexis Kalderimis
-
-
Field Summary
-
Fields inherited from class org.intermine.webservice.server.lists.ListMakerService
LIST_TYPE_KEY
-
Fields inherited from class org.intermine.webservice.server.lists.AbstractListService
LIST_DESCRIPTION_KEY, LIST_ID_KEY, LIST_NAME_KEY, LIST_SIZE_KEY
-
Fields inherited from class org.intermine.webservice.server.core.JSONService
bagManager, model
-
Fields inherited from class org.intermine.webservice.server.WebService
dataPackageOutput, DEFAULT_CALLBACK, im, os, out, output, request, response, webProperties
-
-
Constructor Summary
Constructors Constructor Description ListSubtractionService(InterMineAPI im)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ListInput
getInput()
protected RelativeComplement
getOperation(ListInput input)
Get the BagOperation that will create the list.-
Methods inherited from class org.intermine.webservice.server.lists.ListOperationService
getNewListType, makeList
-
Methods inherited from class org.intermine.webservice.server.lists.ListMakerService
canServe, execute, getDefaultFormat, getHeaderAttributes, initialiseDelendumAccumulator, validateState
-
Methods inherited from class org.intermine.webservice.server.lists.AbstractListService
getClassesForBags
-
Methods inherited from class org.intermine.webservice.server.core.JSONService
addOutputInfo, addResultEntries, addResultEntries, addResultEntry, addResultEntry, addResultItem, addResultItem, addResultValue, addResultValue, addResultValue, getResultsKey, lazyList, postInit
-
Methods inherited from class org.intermine.webservice.server.WebService
cleanUp, formatIsFlatFile, formatIsJSON, formatIsJSONP, formatIsXML, getAuthenticatedUser, getCallback, getColumnHeaderStyle, getDefaultFileName, getDefaultOutput, getDefaultOutput, getExtension, getFormat, getIntParameter, getIntParameter, getLineBreak, getListManager, getOptionalParameter, getOptionalParameter, getPermission, getProperty, getRawOutput, getRequestFileName, getRequiredParameter, hasCallback, initState, isAuthenticated, isGzip, isUncompressed, isZip, makeJSONOutput, makeXMLOutput, service, setFormat, setNameSpace, wantsColumnHeaders, wantsDataPackage
-
-
-
-
Constructor Detail
-
ListSubtractionService
public ListSubtractionService(InterMineAPI im)
Constructor- Parameters:
im
- A reference to the main settings bundle.
-
-
Method Detail
-
getInput
protected ListInput getInput()
- Overrides:
getInput
in classListOperationService
- Returns:
- The Input for this request.
-
getOperation
protected RelativeComplement getOperation(ListInput input)
Description copied from class:ListOperationService
Get the BagOperation that will create the list.- Specified by:
getOperation
in classListOperationService
- Parameters:
input
- The parameters provided by the user.- Returns:
- A BagOperation.
-
-