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.voidsetSelectedTenant(String p_strValue) Set the selected tenant value.voidsetSelectedTenants(String p_strValues) Set the selected tenants.voidsetSelectedTenants(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"
-