Class GroovyTenantHelper
java.lang.Object
de.uplanet.lucy.server.usermanager.groovy.GroovyTenantHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the list of available tenant values as String with double pipe separator.Get a list of all selected tenants.Get the list of selected tenant values as String with double pipe separator.Get all available tenants.void
setSelectedTenant
(String p_strValue) Set the selected tenant value.void
setSelectedTenants
(String p_strValues) Set the selected tenants.void
setSelectedTenants
(Set<String> p_values) Set the selected tenant values.
-
Constructor Details
-
GroovyTenantHelper
-
-
Method Details
-
getTenants
Get all available tenants.- Returns:
- The available tenant values.
- Throws:
Exception
-
getSelectedTenants
Get a list of all selected tenants.- Returns:
- The list of selected tenant values.
- Throws:
Exception
-
getAllTenantValues
Get the list of available tenant values as String with double pipe separator.- Returns:
- The selected tenant values.
- Throws:
Exception
-
getSelectedTenantValues
Get the list of selected tenant values as String with double pipe separator.- Returns:
- The selected tenant values.
- Throws:
Exception
-
setSelectedTenant
Set the selected tenant value.- Parameters:
p_strValue
- The value to select.
-
setSelectedTenants
Set the selected tenant values.- Parameters:
p_values
- The values to select.
-
setSelectedTenants
Set the selected tenants. The tenant values must be separated by double pipe.- Parameters:
p_strValues
- The The values to select as piped separated string. Example: "tenant1||tenant2"
-