Class GroovyPortalInfo
java.lang.Object
de.uplanet.lucy.server.scripting.groovy.GroovyPortalInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the portal's base URL.Get the default locale of the portal.Get the Intrexx semantic version.intGet the Intrexx Share version.intGet the Intrexx version as an integer (e.g.Get the Intrexx version as a string (e.g.Get the portal's display name.Get the portal name (server/<GUID>).intGet the process id (PID) of the running portal server.longGet the portal start time.longGet the portal uptime in milliseconds.booleanTest if the Application API is supported in this portal.booleanTest if external authentication is supported in this portal.booleanTest if horizontal scaling is supported in this portal.booleanCheck if Intrexx Share is available in the current portal.booleanTest if multitenancy is supported in this portal.booleanTest if user synchronization is supported in this portal.booleanTest if WebDAV services are supported in this portal.
-
Constructor Details
-
GroovyPortalInfo
public GroovyPortalInfo() -
GroovyPortalInfo
public GroovyPortalInfo(org.springframework.context.ApplicationContext p_appCtx)
-
-
Method Details
-
getProcessId
public int getProcessId()Get the process id (PID) of the running portal server.- Returns:
- The process id.
-
getUptimeMillis
public long getUptimeMillis()Get the portal uptime in milliseconds.- Returns:
- The uptime in milliseconds.
-
getStartTime
public long getStartTime()Get the portal start time.- Returns:
- The start time of the JVM in milliseconds since 1970-01-01T00:00:00Z.
-
getPortalName
Get the portal name (server/<GUID>).- Returns:
- The portal name.
-
getPortalDisplayName
Get the portal's display name.- Returns:
- The portal's display name.
-
getBaseUrl
Get the portal's base URL.- Returns:
- The portal's base URL, or
nullif it is not configured.
-
getDefaultLocale
Get the default locale of the portal.- Returns:
- The default locale of the portal.
-
getIntrexxSemanticVersion
Get the Intrexx semantic version.See https://semver.org/.
- Returns:
- The Intrexx semantic version.
-
getIntrexxVersion
public int getIntrexxVersion()Get the Intrexx version as an integer (e.g. 10000000).- Returns:
- The Intrexx version as an integer.
- See Also:
-
getIntrexxVersionStr
Get the Intrexx version as a string (e.g. 21.03).- Returns:
- The Intrexx version as a string.
- See Also:
-
isExternalAuthenticationSupported
public boolean isExternalAuthenticationSupported()Test if external authentication is supported in this portal.- Returns:
trueif external authentication is supported in this portal, orfalseotherwise.
-
isUserSynchronizationSupported
public boolean isUserSynchronizationSupported()Test if user synchronization is supported in this portal.- Returns:
trueif user synchronization is supported in this portal, orfalseotherwise.
-
isApplicationApiSupported
public boolean isApplicationApiSupported()Test if the Application API is supported in this portal.- Returns:
trueif the Application API is supported in this portal, orfalseotherwise.
-
isMultitenancySupported
public boolean isMultitenancySupported()Test if multitenancy is supported in this portal.- Returns:
trueif multitenancy is supported in this portal, orfalseotherwise.
-
isWebdavServicesSupported
public boolean isWebdavServicesSupported()Test if WebDAV services are supported in this portal.- Returns:
trueif WebDAV services are supported in this portal, orfalseotherwise.
-
isHorizontalScalabilitySupported
public boolean isHorizontalScalabilitySupported()Test if horizontal scaling is supported in this portal.- Returns:
trueif horizontal scaling is supported in this portal, orfalseotherwise.
-