Interface HealthStatusItemIdProvider
-
- All Known Implementing Classes:
HealthStatusItemIdProviderImpl
public interface HealthStatusItemIdProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HealthStatusItemId
findId(long internalId)
HealthStatusItemId
findId(HealthStatusItem item)
Map<HealthStatusItem,HealthStatusItemId>
findIds(Collection<HealthStatusItem> items)
Searches for items with ids the items passed as argument.HealthStatusItemId
getOrCreateId(String reportId, String categoryId, String itemId)
-
-
-
Method Detail
-
getOrCreateId
@NotNull HealthStatusItemId getOrCreateId(@NotNull String reportId, @NotNull String categoryId, @NotNull String itemId)
-
findId
@Nullable HealthStatusItemId findId(long internalId)
-
findId
@Nullable HealthStatusItemId findId(@NotNull HealthStatusItem item)
-
findIds
@NotNull Map<HealthStatusItem,HealthStatusItemId> findIds(@NotNull Collection<HealthStatusItem> items)
Searches for items with ids the items passed as argument. Resulting map will have items with assigned ids.- Parameters:
items
- items to search- Returns:
- see above
-
-