Class GroovyPortalInfo
- java.lang.Object
-
- de.uplanet.lucy.server.scripting.groovy.GroovyPortalInfo
-
@Scriptable public final class GroovyPortalInfo extends Object
-
-
Constructor Summary
Constructors Constructor Description GroovyPortalInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBaseUrl()
Get the portal's base URL.ILocale
getDefaultLocale()
Get the default locale of the portal.int
getIntrexxShareVersion()
Get the Intrexx Share version.int
getIntrexxVersion()
Get the Intrexx version as an integer (e.g.String
getIntrexxVersionStr()
Get the Intrexx version as a string (e.g.String
getPortalDisplayName()
Get the portal's display name.String
getPortalName()
Get the portal name (server/<GUID>).int
getProcessId()
Get the process id (PID) of the running portal server.boolean
isIntrexxShareAvailable()
Check if Intrexx Share is available in the current portal.
-
-
-
Method Detail
-
getProcessId
public int getProcessId()
Get the process id (PID) of the running portal server.- Returns:
- The process id.
-
getPortalName
public String getPortalName()
Get the portal name (server/<GUID>).- Returns:
- The portal name.
-
getPortalDisplayName
public String getPortalDisplayName()
Get the portal's display name.- Returns:
- The portal's display name.
-
getBaseUrl
public String getBaseUrl()
Get the portal's base URL.- Returns:
- The portal's base URL, or
null
if it is not configured.
-
getDefaultLocale
public ILocale getDefaultLocale()
Get the default locale of the portal.- Returns:
- The default locale of the portal.
-
getIntrexxVersion
public int getIntrexxVersion()
Get the Intrexx version as an integer (e.g. 10000000).- Returns:
- The Intrexx version as an integer.
- See Also:
VERSION.CURRENT
-
getIntrexxVersionStr
public String getIntrexxVersionStr()
Get the Intrexx version as a string (e.g. 21.03).- Returns:
- The Intrexx version as a string.
- See Also:
VERSION.CURRENT
-
isIntrexxShareAvailable
public boolean isIntrexxShareAvailable()
Check if Intrexx Share is available in the current portal.- Returns:
true
if Intrexx Share is available, orfalse
otherwise.
-
getIntrexxShareVersion
public int getIntrexxShareVersion()
Get the Intrexx Share version.- Returns:
- The Intrexx Share version, or
-1
if Intrexx Share is notavailable
.
-
-