public final class CASearchCore extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static PhotoList |
searchByContent(UserIdentity authenticatedUser,
java.util.EnumSet<PhotoParameters.AnalysisType> analysisTypes,
java.lang.String url,
DataGroups dataGroups,
Limits limits,
java.util.EnumSet<CAContentCore.ServiceType> serviceTypes,
long[] userIdFilters)
This will synchronously execute a content based search
The searchTask is not stored in the database
(because in case of server crash or other error the delay caused by restart will
probably make the search irrelevant to the user anyway)
|
static PhotoList |
searchByGUID(UserIdentity authenticatedUser,
java.util.EnumSet<PhotoParameters.AnalysisType> analysisTypes,
java.lang.String guid,
DataGroups dataGroups,
Limits limits,
java.util.EnumSet<CAContentCore.ServiceType> serviceTypes,
long[] userIdFilters) |
static PhotoList |
searchByKeyword(UserIdentity authenticatedUser,
java.util.List<java.lang.String> keywords,
DataGroups dataGroups,
Limits limits,
java.util.EnumSet<CAContentCore.ServiceType> serviceTypes,
long[] userIdFilters) |
static PhotoList |
similarPhotosByObject(UserIdentity authenticatedUser,
MediaObjectList objects,
DataGroups dataGroups,
Limits limits,
java.util.EnumSet<CAContentCore.ServiceType> serviceTypes,
long[] userIdFilters) |
public static PhotoList searchByKeyword(UserIdentity authenticatedUser, java.util.List<java.lang.String> keywords, DataGroups dataGroups, Limits limits, java.util.EnumSet<CAContentCore.ServiceType> serviceTypes, long[] userIdFilters)
authenticatedUser
- keywords
- dataGroups
- limits
- serviceTypes
- userIdFilters
- public static PhotoList searchByContent(UserIdentity authenticatedUser, java.util.EnumSet<PhotoParameters.AnalysisType> analysisTypes, java.lang.String url, DataGroups dataGroups, Limits limits, java.util.EnumSet<CAContentCore.ServiceType> serviceTypes, long[] userIdFilters)
authenticatedUser
- analysisTypes
- url
- dataGroups
- limits
- serviceTypes
- userIdFilters
- public static PhotoList similarPhotosByObject(UserIdentity authenticatedUser, MediaObjectList objects, DataGroups dataGroups, Limits limits, java.util.EnumSet<CAContentCore.ServiceType> serviceTypes, long[] userIdFilters) throws java.lang.IllegalArgumentException
authenticatedUser
- objects
- dataGroups
- limits
- serviceTypes
- userIdFilters
- java.lang.IllegalArgumentException
- on bad input datapublic static PhotoList searchByGUID(UserIdentity authenticatedUser, java.util.EnumSet<PhotoParameters.AnalysisType> analysisTypes, java.lang.String guid, DataGroups dataGroups, Limits limits, java.util.EnumSet<CAContentCore.ServiceType> serviceTypes, long[] userIdFilters) throws java.lang.IllegalArgumentException
authenticatedUser
- analysisTypes
- guid
- dataGroups
- limits
- serviceTypes
- userIdFilters
- java.lang.IllegalArgumentException
Copyright © 2015 Tampere University of Technology, Pori Department.