Class ParentConfigurationInfoIndex
java.lang.Object
com.e1c.g5.v8.dt.internal.library.distribution.index.ParentConfigurationInfoIndex
ParentConfigurationInfo
index implementation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
AddsParentConfigurationInfoItem
to index.ReturnsParentConfigurationInfoItem
by its user id.Returns support languages.getUserIds
(UUID parentId) Returns set of the user id corresponding to the configuration info items for parent with concrete id.boolean
insertLanguage
(String languageCode) Inserts support language code in upper case.
-
Constructor Details
-
ParentConfigurationInfoIndex
public ParentConfigurationInfoIndex()
-
-
Method Details
-
addItem
AddsParentConfigurationInfoItem
to index.- Parameters:
userId
- the configuration info item user id, cannot benull
parentId
- the configuration info item parent id, cannot benull
itemBmId
- theParentConfigurationInfoItem
instance bm id
-
getItem
ReturnsParentConfigurationInfoItem
by its user id.- Parameters:
userId
- the configuration info item user id, cannot benull
- Returns:
ParentConfigurationInfoItem
by its user id, nevernull
. Empty if there is no information about distribution support for item with this user id
-
getUserIds
Returns set of the user id corresponding to the configuration info items for parent with concrete id.- Returns:
- set of user id corresponding to the configuration info items for parent with concrete id, never
null
-
insertLanguage
Inserts support language code in upper case.- Parameters:
languageCode
- the language code in upper case, cannot benull
- Returns:
true
if this set did not already contain the specified element,false
otherwise
-
getLanguages
Returns support languages.- Returns:
- the support languages, cannot be
null
-