| Modifier and Type | Method and Description |
|---|---|
Cable |
NotificationDTO.getCable() |
| Constructor and Description |
|---|
NotificationDTO(Cable cable,
Endpoint endpoint,
String cableName,
CableColumn cableColumn)
Constructs a new data transfer object for notification.
|
NotificationDTO(Cable cable,
Endpoint endpoint,
String cableName,
CableColumn cableColumn,
String comment)
Constructs a new data transfer object for notification.
|
NotificationDTO(Cable cable,
Endpoint endpoint,
String cableName,
CableColumn cableColumn,
String comment,
String oldValue,
String newValue)
Constructs a new data transfer object for notification.
|
| Modifier and Type | Method and Description |
|---|---|
List<Cable> |
InstallationPackage.getCables() |
| Modifier and Type | Method and Description |
|---|---|
void |
InstallationPackage.addCable(Cable cable) |
| Modifier and Type | Method and Description |
|---|---|
void |
InstallationPackage.setCables(List<Cable> cables) |
| Modifier and Type | Method and Description |
|---|---|
Cable |
CableService.createCable(CableParams newCable)
Creates a cable in the database and returns it.
|
Cable |
CableService.getCableById(Long id)
Returns a cable with the specified cable id.
|
Cable |
CableService.getCableByName(String name)
Returns a cable with the specified cable name.
|
Cable |
CableService.getCableByName(String name,
Boolean detached)
Returns a cable with the specified cable name.
|
Cable |
CableService.reuseCable(ReuseCableDetails cableDetails)
Validates parameter, and reuses cable.
|
| Modifier and Type | Method and Description |
|---|---|
List<Cable> |
CableService.createCables(Iterable<Cable> cables,
String userId,
boolean sendNotification)
Creates a bunch of cables in the database and returns them.
|
List<Cable> |
CableService.getCableEndpoints(Query customQuery)
Returns minimal data on cables
|
List<Cable> |
CableService.getCables() |
List<Cable> |
CableService.getCables(String system,
String subsystem)
Returns a list of cables associated with the specified parameters.
|
List<Cable> |
CableService.getCables(String system,
String subsystem,
String installationPackage)
Returns a list of cables associated with the specified parameters.
|
List<Cable> |
CableService.getCablesByName(Iterable<String> names,
Boolean detached,
boolean getDeleted)
Returns a list of cables with the specified names.
|
List<Cable> |
CableService.getFilteredCablesByRegExp(List<CableColumn> fields,
String regExp)
Returns a list of cables filtered by regural expression.
|
LazyService<Cable> |
CableService.getLazyService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CableService.deleteCable(Cable cable,
String userId)
Marks the cable deleted in the database.
|
boolean |
CableService.updateCable(Cable cable,
Cable oldCable,
String userId,
boolean sendNotification)
Updates the attributes on the given cable.
|
void |
CableService.updateValidity(String userId,
Cable cable)
Updates the validity of the cable.
|
| Modifier and Type | Method and Description |
|---|---|
List<Cable> |
CableService.createCables(Iterable<Cable> cables,
String userId,
boolean sendNotification)
Creates a bunch of cables in the database and returns them.
|
int |
CableService.deleteCables(Iterable<Cable> cables,
String userId)
Marks the cables deleted in the database.
|
int |
CableService.updateCables(Iterable<Cable> cables,
Iterable<Cable> oldCables,
String userId,
boolean sendNotification)
Updates the attributes on the given cables.
|
int |
CableService.updateCables(Iterable<Cable> cables,
Iterable<Cable> oldCables,
String userId,
boolean sendNotification)
Updates the attributes on the given 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.validateCables(String userId,
Iterable<Cable> cables)
Validates the consistency of cable data and updates the data and/or status.
|
| Modifier and Type | Method and Description |
|---|---|
LoaderResult<Cable> |
CableImportExportService.importCables(InputStream inputStream)
Imports cables from Excel spreadsheet.
|
LoaderResult<Cable> |
CableImportExportService.importCables(InputStream inputStream,
boolean test)
Imports cables from Excel spreadsheet.
|
LoaderResult<Cable> |
CableLoader.load(InputStream stream,
boolean test) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CableSaver.save(Cable cable) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
CableImportExportService.exportCables(Iterable<Cable> cables)
Exports cables to an Excel spreadsheet.
|
| Constructor and Description |
|---|
CableSaver(Iterable<Cable> objects)
Constructs an instance to save the given
Cable objects. |
CableSaver(Iterable<Cable> objects,
List<NotificationDTO> notificationDTOs)
Constructs an instance to save the given
Cable objects
and highlight information according to given list of NotificationDTO. |
| Modifier and Type | Method and Description |
|---|---|
Cable |
CableUI.getCable() |
| Modifier and Type | Method and Description |
|---|---|
List<Cable> |
CableRequestManager.getCablesToExport()
Returns the cables to be exported, which are the currently filtered and selected cables, or all filtered cables
without deleted ones if none selected.
|
LoaderResult<Cable> |
CableRequestManager.getImportResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CableRequestManager.isCableLocked(Cable cable)
Decides if a cable cable can be edited, or not.
|
| Constructor and Description |
|---|
CableUI(Cable cable)
Constructs UI object for given cable instance.
|
| Modifier and Type | Method and Description |
|---|---|
static List<NotificationDTO> |
ValidityUtil.getNotificationsForProblem(Cable cable,
Names names) |
static String |
ValidityUtil.getReasonsForProblem(Cable cable,
Names names)
Generates message with reason(s) for problem when there is a problem with cable.
|
static String |
ValidityUtil.getReasonsForProblem(Cable cable,
Names names,
String messageSeparator)
Generates message with reason(s) for problem when there is a problem with cable.
|
static boolean |
ValidityUtil.isCableArticleCableTypeActive(Cable cable)
Return boolean if cable article or cable type is active.
|
static boolean |
ValidityUtil.isCableArticleInvalid(Cable cable)
Return boolean if cable article is invalid.
|
static boolean |
ValidityUtil.isCableEndpointConnectorInvalid(Cable cable,
boolean isEndpointA)
Return boolean if cable endpoint connector is invalid.
|
static boolean |
ValidityUtil.isCableEndpointEssNameDeleted(Cable cable,
boolean isEndpointA,
Names names)
Return boolean if cable endpoint ESS name is invalid.
|
static boolean |
ValidityUtil.isCableEndpointEssNameFbsTagAvailable(Cable cable,
boolean isEndpointA)
Return boolean if cable ESS name or FBS tag is available.
|
static boolean |
ValidityUtil.isCableEndpointEssNameUuidInvalid(Cable cable,
boolean isEndpointA,
Names names)
Return boolean if cable endpoint ESS name uuid is invalid.
|
static boolean |
ValidityUtil.isCableTypeInvalid(Cable cable)
Return boolean if cable type is invalid.
|
static String |
ValidityUtil.uuidUpdateCableEndpointEssName(Cable cable,
boolean isEndpointA,
Names names)
Update cable endpoint ESS name based on uuid for name, if ESS name is outdated,
and return message to write to log (non-null if applicable).
|
| Modifier and Type | Method and Description |
|---|---|
static CableEndpointsElement |
CableEndpointsResourceImpl.getCableEndpointElement(Cable cable)
Creates an instance of
CableElement from database model object Cable. |
Copyright © 2025 European Spallation Source. All rights reserved.