public class DataBoxSearchServiceImpl extends Object implements DataBoxSearchService
| Modifier and Type | Field and Description |
|---|---|
protected static Map<String,SearchResult.Status> |
codeToStatus |
protected static int |
MIN_PREFIX_LENGHT |
protected static String |
NO_UNIQUE_RESULT |
protected static String |
NOTHING_FOUND |
protected static String |
OK |
protected static String |
SEARCH_LIMIT_REACHED |
protected static List<String> |
searchOKCodes |
protected DataBoxManipulationPortType |
service |
protected static Map<DataBoxType,TDbType> |
types |
protected static Map<TDbType,DataBoxType> |
typesInverted |
| Constructor and Description |
|---|
DataBoxSearchServiceImpl(DataBoxManipulationPortType serv) |
| Modifier and Type | Method and Description |
|---|---|
List<DataBoxWithDetails> |
find(DataBoxType type,
DataBoxWithDetails what) |
SearchResult |
find(DataBoxWithDetails what) |
DataBoxWithDetails |
findDataBoxByID(String id) |
List<DataBoxWithDetails> |
findOVMsByName(String prefix) |
DataBoxState |
checkDataBox(DataBox db) |
protected static final int MIN_PREFIX_LENGHT
protected static final String OK
protected static final String SEARCH_LIMIT_REACHED
protected static final String NOTHING_FOUND
protected static final String NO_UNIQUE_RESULT
protected static final Map<String,SearchResult.Status> codeToStatus
protected static final Map<DataBoxType,TDbType> types
protected static final Map<TDbType,DataBoxType> typesInverted
protected DataBoxManipulationPortType service
public DataBoxSearchServiceImpl(DataBoxManipulationPortType serv)
public DataBoxState checkDataBox(DataBox db)
checkDataBox in interface DataBoxSearchServicepublic List<DataBoxWithDetails> findOVMsByName(String prefix)
findOVMsByName in interface DataBoxSearchServicepublic SearchResult find(DataBoxWithDetails what)
find in interface DataBoxSearchServicepublic List<DataBoxWithDetails> find(DataBoxType type, DataBoxWithDetails what)
find in interface DataBoxSearchServicepublic DataBoxWithDetails findDataBoxByID(String id)
findDataBoxByID in interface DataBoxSearchServiceCopyright © 2016. All rights reserved.