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 TypeMethodDescriptionvoidAddsParentConfigurationInfoItemto index.ReturnsParentConfigurationInfoItemby 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.booleaninsertLanguage(String languageCode) Inserts support language code in upper case.
-
Constructor Details
-
ParentConfigurationInfoIndex
public ParentConfigurationInfoIndex()
-
-
Method Details
-
addItem
AddsParentConfigurationInfoItemto index.- Parameters:
userId- the configuration info item user id, cannot benullparentId- the configuration info item parent id, cannot benullitemBmId- theParentConfigurationInfoIteminstance bm id
-
getItem
ReturnsParentConfigurationInfoItemby its user id.- Parameters:
userId- the configuration info item user id, cannot benull- Returns:
ParentConfigurationInfoItemby 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:
trueif this set did not already contain the specified element,falseotherwise
-
getLanguages
Returns support languages.- Returns:
- the support languages, cannot be
null
-