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
(de.uplanet.lucy.server.session.ISession p_session) Get the list of all tenant values as String with double pipe separator.int
getSelectedCount
(de.uplanet.lucy.server.session.ISession p_session) Return the count of selected tenants.List<de.uplanet.lucy.server.usermanager.Tenant>
getSelectedTenants
(de.uplanet.lucy.server.session.ISession p_session) Get a list of all selected tenants.getSelectedTenantValues
(de.uplanet.lucy.server.session.ISession p_session) Get the list of selected tenant values as String with double pipe separator.List<de.uplanet.lucy.server.usermanager.Tenant>
getTenants
(de.uplanet.lucy.server.session.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(de.uplanet.lucy.server.session.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(de.uplanet.lucy.server.session.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
public String getAllTenantValues(de.uplanet.lucy.server.session.ISession p_session) throws Exception 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
public String getSelectedTenantValues(de.uplanet.lucy.server.session.ISession p_session) throws Exception 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
-