| Package | Description |
|---|---|
| org.openepics.cable.services | |
| org.openepics.cable.util.fbs |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CableService.getAndFbsTagUpdateCables(int start,
int size,
String userId,
Map<String,FbsElement> mappingsCableNameToFbsElement,
Map<String,FbsElement> mappingsEssNameToFbsElement,
Map<String,FbsElement> mappingsIdToFbsElement,
Map<String,FbsElement> mappingsTagToFbsElement,
Map<String,List<NotificationDTO>> mapOwnersCablesUnexpectedChanges)
Retrieves cables and updates FBS tag mappings in one transaction to ensure no other
changes happen in the mean time.
|
boolean |
CableService.getAndFbsTagUpdateCables(int start,
int size,
String userId,
Map<String,FbsElement> mappingsCableNameToFbsElement,
Map<String,FbsElement> mappingsEssNameToFbsElement,
Map<String,FbsElement> mappingsIdToFbsElement,
Map<String,FbsElement> mappingsTagToFbsElement,
Map<String,List<NotificationDTO>> mapOwnersCablesUnexpectedChanges)
Retrieves cables and updates FBS tag mappings in one transaction to ensure no other
changes happen in the mean time.
|
boolean |
CableService.getAndFbsTagUpdateCables(int start,
int size,
String userId,
Map<String,FbsElement> mappingsCableNameToFbsElement,
Map<String,FbsElement> mappingsEssNameToFbsElement,
Map<String,FbsElement> mappingsIdToFbsElement,
Map<String,FbsElement> mappingsTagToFbsElement,
Map<String,List<NotificationDTO>> mapOwnersCablesUnexpectedChanges)
Retrieves cables and updates FBS tag mappings in one transaction to ensure no other
changes happen in the mean time.
|
boolean |
CableService.getAndFbsTagUpdateCables(int start,
int size,
String userId,
Map<String,FbsElement> mappingsCableNameToFbsElement,
Map<String,FbsElement> mappingsEssNameToFbsElement,
Map<String,FbsElement> mappingsIdToFbsElement,
Map<String,FbsElement> mappingsTagToFbsElement,
Map<String,List<NotificationDTO>> mapOwnersCablesUnexpectedChanges)
Retrieves cables and updates FBS tag mappings in one transaction to ensure no other
changes happen in the mean time.
|
void |
CableService.updateFbsTagMappings(String userId,
Iterable<Cable> cables,
Map<String,FbsElement> mappingsCableNameToFbsElement,
Map<String,FbsElement> mappingsEssNameToFbsElement,
Map<String,FbsElement> mappingsIdToFbsElement,
Map<String,FbsElement> mappingsTagToFbsElement,
Map<String,List<NotificationDTO>> mapOwnersCablesUnexpectedChanges)
Update FBS tag mappings for cables.
|
void |
CableService.updateFbsTagMappings(String userId,
Iterable<Cable> cables,
Map<String,FbsElement> mappingsCableNameToFbsElement,
Map<String,FbsElement> mappingsEssNameToFbsElement,
Map<String,FbsElement> mappingsIdToFbsElement,
Map<String,FbsElement> mappingsTagToFbsElement,
Map<String,List<NotificationDTO>> mapOwnersCablesUnexpectedChanges)
Update FBS tag mappings for cables.
|
void |
CableService.updateFbsTagMappings(String userId,
Iterable<Cable> cables,
Map<String,FbsElement> mappingsCableNameToFbsElement,
Map<String,FbsElement> mappingsEssNameToFbsElement,
Map<String,FbsElement> mappingsIdToFbsElement,
Map<String,FbsElement> mappingsTagToFbsElement,
Map<String,List<NotificationDTO>> mapOwnersCablesUnexpectedChanges)
Update FBS tag mappings for cables.
|
void |
CableService.updateFbsTagMappings(String userId,
Iterable<Cable> cables,
Map<String,FbsElement> mappingsCableNameToFbsElement,
Map<String,FbsElement> mappingsEssNameToFbsElement,
Map<String,FbsElement> mappingsIdToFbsElement,
Map<String,FbsElement> mappingsTagToFbsElement,
Map<String,List<NotificationDTO>> mapOwnersCablesUnexpectedChanges)
Update FBS tag mappings for cables.
|
| Modifier and Type | Method and Description |
|---|---|
static FbsElement |
FbsUtil.getFbsElementForCableName(Collection<FbsElement> fbsElements,
String cableName)
Extract FbsElement that correspond to given cable name (exact match).
|
static FbsElement |
FbsUtil.getFbsElementForEssName(Collection<FbsElement> fbsElements,
String essName)
Extract FbsElement that correspond to given ESS name (exact match).
|
static FbsElement |
FbsUtil.getFbsElementForId(Collection<FbsElement> fbsElements,
String id)
Extract FbsElement that correspond to given id (exact match).
|
static FbsElement |
FbsUtil.getFbsElementForTag(Collection<FbsElement> fbsElements,
String tag)
Extract FbsElement that correspond to given tag (exact match).
|
| Modifier and Type | Method and Description |
|---|---|
List<FbsElement> |
FbsService.getAllFbsElements()
Read all FBS data and deserializes it into a
FbsElement list. |
static List<FbsElement> |
FbsUtil.getFbsElementsForCableName(Collection<FbsElement> fbsElements,
String cableName)
Extract list of FbsElement that correspond to given cable name (exact match).
|
static List<FbsElement> |
FbsUtil.getFbsElementsForEssName(Collection<FbsElement> fbsElements,
String essName)
Extract list of FbsElement that correspond to given ESS name (exact match).
|
static List<FbsElement> |
FbsUtil.getFbsElementsForId(Collection<FbsElement> fbsElements,
String id)
Extract list of FbsElement that correspond to given id (exact match).
|
static List<FbsElement> |
FbsUtil.getFbsElementsForTag(Collection<FbsElement> fbsElements,
String tag)
Extract list of FbsElement that correspond to given tag (exact match).
|
List<FbsElement> |
FbsClient.getFbsListing()
Retrieve (all) FBS data and deserializes it into a FbsElement list.
|
List<FbsElement> |
FbsClient.getFbsListingForCableName(String cableName)
Retrieve FBS data for cable name and deserializes it into a FbsElement list.
|
List<FbsElement> |
FbsClient.getFbsListingForEssName(String essName)
Retrieve FBS data for ESS name and deserializes it into a FbsElement list.
|
List<FbsElement> |
FbsClient.getFbsListingForId(String id)
Retrieve FBS data for id and deserializes it into a FbsElement list.
|
List<FbsElement> |
FbsClient.getFbsListingForTag(String tag)
Retrieve FBS data for FBS tag and deserializes it into a FbsElement list.
|
List<FbsElement> |
FbsClient.getFbsListingForTag(String tag,
int maxResults)
Retrieve FBS data for FBS tag and deserializes it into a FbsElement list of up to maxResults elements.
|
static Map<String,FbsElement> |
FbsUtil.readMappingsCableNameToFbsElement(List<FbsElement> fbsElements)
Converts a FbsElement list into a map with entries (key, value - cable name, FbsElement).
|
static Map<String,FbsElement> |
FbsUtil.readMappingsEssNameToFbsElement(List<FbsElement> fbsElements)
Converts a FbsElement list into a map with entries (key, value - ESS name, FbsElement).
|
static Map<String,FbsElement> |
FbsUtil.readMappingsIdToFbsElement(List<FbsElement> fbsElements)
Converts a FbsElement list into a map with entries (key, value - id, FbsElement).
|
static Map<String,FbsElement> |
FbsUtil.readMappingsTagToFbsElement(List<FbsElement> fbsElements)
Converts a FbsElement list into a map with entries (key, value - tag, FbsElement).
|
| Modifier and Type | Method and Description |
|---|---|
static FbsElement |
FbsUtil.getFbsElementForCableName(Collection<FbsElement> fbsElements,
String cableName)
Extract FbsElement that correspond to given cable name (exact match).
|
static FbsElement |
FbsUtil.getFbsElementForEssName(Collection<FbsElement> fbsElements,
String essName)
Extract FbsElement that correspond to given ESS name (exact match).
|
static FbsElement |
FbsUtil.getFbsElementForId(Collection<FbsElement> fbsElements,
String id)
Extract FbsElement that correspond to given id (exact match).
|
static FbsElement |
FbsUtil.getFbsElementForTag(Collection<FbsElement> fbsElements,
String tag)
Extract FbsElement that correspond to given tag (exact match).
|
static List<FbsElement> |
FbsUtil.getFbsElementsForCableName(Collection<FbsElement> fbsElements,
String cableName)
Extract list of FbsElement that correspond to given cable name (exact match).
|
static List<FbsElement> |
FbsUtil.getFbsElementsForEssName(Collection<FbsElement> fbsElements,
String essName)
Extract list of FbsElement that correspond to given ESS name (exact match).
|
static List<FbsElement> |
FbsUtil.getFbsElementsForId(Collection<FbsElement> fbsElements,
String id)
Extract list of FbsElement that correspond to given id (exact match).
|
static List<FbsElement> |
FbsUtil.getFbsElementsForTag(Collection<FbsElement> fbsElements,
String tag)
Extract list of FbsElement that correspond to given tag (exact match).
|
static Map<String,FbsElement> |
FbsUtil.readMappingsCableNameToFbsElement(List<FbsElement> fbsElements)
Converts a FbsElement list into a map with entries (key, value - cable name, FbsElement).
|
static Map<String,String> |
FbsUtil.readMappingsCableNameToFbsTag(List<FbsElement> fbsElements)
Converts a FbsElement list into a map with entries (key, value - cable name, FBS tag).
|
static Map<String,FbsElement> |
FbsUtil.readMappingsEssNameToFbsElement(List<FbsElement> fbsElements)
Converts a FbsElement list into a map with entries (key, value - ESS name, FbsElement).
|
static Map<String,String> |
FbsUtil.readMappingsEssNameToFbsTag(List<FbsElement> fbsElements)
Converts a FbsElement list into a map with entries (key, value - ESS name, FBS tag).
|
static Map<String,String> |
FbsUtil.readMappingsFbsTagToEssName(List<FbsElement> fbsElements)
Converts a FbsElement list into a map with entries (key, value - FBS tag, ESS name).
|
static Map<String,FbsElement> |
FbsUtil.readMappingsIdToFbsElement(List<FbsElement> fbsElements)
Converts a FbsElement list into a map with entries (key, value - id, FbsElement).
|
static Map<String,FbsElement> |
FbsUtil.readMappingsTagToFbsElement(List<FbsElement> fbsElements)
Converts a FbsElement list into a map with entries (key, value - tag, FbsElement).
|
static List<String> |
FbsUtil.readTags(List<FbsElement> fbsElements)
Converts a FbsElement list into a list of FBS tags.
|
Copyright © 2025 European Spallation Source. All rights reserved.