Class DsTenantCallable
java.lang.Object
de.uplanet.lucy.server.auxiliaries.ds.DsTenantCallable
@VelocityVariable("Tenants")
@VelocityCallable("singleton")
public final class DsTenantCallable
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAllTenantValues
(ISession p_session) Get the list of all tenant values as String with double pipe separator.int
getSelectedCount
(ISession p_session) Return the count of selected tenants.List
<de.uplanet.lucy.server.usermanager.Tenant> getSelectedTenants
(ISession p_session) Get a list of all selected tenants.getSelectedTenantValues
(ISession p_session) Get the list of selected tenant values as String with double pipe separator.List
<de.uplanet.lucy.server.usermanager.Tenant> getTenants
(ISession p_session) Get a list of all available tenants.
-
Constructor Details
-
DsTenantCallable
public DsTenantCallable()
-
-
Method Details
-
getTenants
public List<de.uplanet.lucy.server.usermanager.Tenant> getTenants(ISession p_session) throws Exception Get a list of all available tenants.- Parameters:
p_session
- The session.- Returns:
- The list of tenants.
- Throws:
Exception
-
getSelectedCount
Return the count of selected tenants.- Parameters:
p_session
- The session.- Returns:
- The count.
- Throws:
Exception
-
getSelectedTenants
public List<de.uplanet.lucy.server.usermanager.Tenant> getSelectedTenants(ISession p_session) throws Exception Get a list of all selected tenants.- Parameters:
p_session
- The session.- Returns:
- The list of selected tenants.
- Throws:
Exception
-
getAllTenantValues
Get the list of all tenant values as String with double pipe separator.- Parameters:
p_session
- The session.- Returns:
- The available tenant values.
- Throws:
Exception
-
getSelectedTenantValues
Get the list of selected tenant values as String with double pipe separator.- Parameters:
p_session
- The session.- Returns:
- The selected tenant values.
- Throws:
Exception
-