Package de.espirit.firstspirit.access
Interface Host
public interface Host
Generic host definition.
- Since:
- 4.1.10
-
Method Summary
Modifier and TypeMethodDescription@Nullable Connection
Return theConnection
Returns the language which should be used for GUI rendering (e.g. tree labels)@Nullable Project
Return theResourceBundle
for the host.Return theUserService
boolean
Indicates whether theuid
should be used as tree label or not.
-
Method Details
-
getUserService
UserService getUserService()Return theUserService
- Returns:
- A
UserService
instance - Since:
- 4.1.10
-
getProject
- Returns:
- shortcut for
getUserService()
.getProject()
- Since:
- 4.1.10
-
getConnection
Return theConnection
- Returns:
- A
Connection
instance - Since:
- 4.1.10
-
showUidAsTreeLabel
boolean showUidAsTreeLabel()Indicates whether theuid
should be used as tree label or not.- Returns:
true
if the uid should be used as tree label,- Since:
- 4.0.36
-
getGuiLanguage
Language getGuiLanguage()Returns the language which should be used for GUI rendering (e.g. tree labels)- Returns:
- the gui language
- Since:
- 4.1.10
- See Also:
-
getResourceBundle
ResourceBundle getResourceBundle()Return theResourceBundle
for the host.- Returns:
- The
ResourceBundle
for the host. - Since:
- 4.1.10
-