Package de.espirit.firstspirit.access
Interface Host
public interface Host
Generic host definition.
- Since:
- 4.1.10
-
Method Summary
Modifier and TypeMethodDescription@Nullable ConnectionReturn theConnectionReturns the language which should be used for GUI rendering (e.g. tree labels)@Nullable ProjectReturn theResourceBundlefor the host.Return theUserServicebooleanIndicates whether theuidshould be used as tree label or not.
-
Method Details
-
getUserService
UserService getUserService()Return theUserService- Returns:
- A
UserServiceinstance - Since:
- 4.1.10
-
getProject
- Returns:
- shortcut for
getUserService().getProject() - Since:
- 4.1.10
-
getConnection
Return theConnection- Returns:
- A
Connectioninstance - Since:
- 4.1.10
-
showUidAsTreeLabel
boolean showUidAsTreeLabel()Indicates whether theuidshould be used as tree label or not.- Returns:
trueif 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 theResourceBundlefor the host.- Returns:
- The
ResourceBundlefor the host. - Since:
- 4.1.10
-