public class PhotoSearchTask extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static AnalysisBackend.Capability |
SEARCH_CAPABILITY
Back-end capability required for search tasks
|
Modifier and Type | Method and Description |
---|---|
PhotoList |
execute()
Execute this task
|
static PhotoSearchTask |
getTaskByGUID(UserIdentity authenticatedUser,
java.util.EnumSet<PhotoParameters.AnalysisType> analysisTypes,
DataGroups dataGroups,
java.lang.String guid,
Limits limits,
java.util.EnumSet<CAContentCore.ServiceType> serviceTypeFilter,
long[] userIdFilter)
Create new search task using the GUID as a reference, the GUID is assumed to exist, no database lookup is going to be done to confirm it
|
static PhotoSearchTask |
getTaskByUrl(UserIdentity authenticatedUser,
java.util.EnumSet<PhotoParameters.AnalysisType> analysisTypes,
DataGroups dataGroups,
Limits limits,
java.util.EnumSet<CAContentCore.ServiceType> serviceTypeFilter,
java.lang.String url,
long[] userIdFilter)
Create new search task using the URL as a search parameter.
|
public static final AnalysisBackend.Capability SEARCH_CAPABILITY
public PhotoList execute()
public static PhotoSearchTask getTaskByGUID(UserIdentity authenticatedUser, java.util.EnumSet<PhotoParameters.AnalysisType> analysisTypes, DataGroups dataGroups, java.lang.String guid, Limits limits, java.util.EnumSet<CAContentCore.ServiceType> serviceTypeFilter, long[] userIdFilter) throws java.lang.IllegalArgumentException
authenticatedUser
- optional authenticated useranalysisTypes
- dataGroups
- optional data groupsguid
- limits
- optional limitsserviceTypeFilter
- optional service type filteruserIdFilter
- optional user id filter, if given only the content for the specific users will searched forjava.lang.IllegalArgumentException
- on bad GUIDpublic static PhotoSearchTask getTaskByUrl(UserIdentity authenticatedUser, java.util.EnumSet<PhotoParameters.AnalysisType> analysisTypes, DataGroups dataGroups, Limits limits, java.util.EnumSet<CAContentCore.ServiceType> serviceTypeFilter, java.lang.String url, long[] userIdFilter) throws java.lang.IllegalArgumentException
authenticatedUser
- optional authenticated useranalysisTypes
- dataGroups
- optional data groupslimits
- optional limitsserviceTypeFilter
- optional service type filterurl
- userIdFilter
- optional user id filter, if given only the content for the specific users will searched forjava.lang.IllegalArgumentException
- on bad URLCopyright © 2015 Tampere University of Technology, Pori Department.