Interface ApplicationInfo
-
- All Superinterfaces:
de.uplanet.lucy.server.rtcache.ILanguageConstant,de.uplanet.lucy.server.util.ILanguageConstantOrTitle,de.uplanet.lucy.server.rtcache.IRtInfo,de.uplanet.lucy.server.rtcache.IRtInfoWithTitle
@Scriptable public interface ApplicationInfo extends de.uplanet.lucy.server.rtcache.IRtInfo, de.uplanet.lucy.server.rtcache.IRtInfoWithTitle, de.uplanet.lucy.server.util.ILanguageConstantOrTitleInformation about applications.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetApplicationLicense()Get the application license.StringgetApplicationName()The name of the application.intgetCreatedUser()Get the user that have created the application.DategetCreationDate()Get the creation date of the application.StringgetDefaultDescription()Get an application's default description.StringgetDescription(String p_strLang)Get the application description for the given language.Map<String,String>getDescriptions()Get the application's language specific descriptions.StringgetGuid()Get the GUID of the application.PathgetIcon()Get the application icon path.StringgetLanguageConstantNameDescription()StringgetLanguageConstantTypeDescription()List<String>getLanguages()Get the languages that are supported by this application.intgetLastChangedUser()Get the user that last changed the application.DategetLastModifiedDate()Get the date, when application was last modified.de.uplanet.lucy.server.property.ApplicationPropertyCollectiongetProperties()StringgetRuntimeClass()Get the runtime class of the application.StringgetStartFupGuid()Get the GUID of the start fup page.StringgetStartPageGuid()Get the GUID of the start page.StringgetTemplateGuid()Get the application template's GUID.booleanhasLanguageConstantDescription()booleanisSystemApplication()Determine, if application is a system application.booleansupportsLanguage(String p_strLang)Determines, if given language is supported.
-
-
-
Method Detail
-
getGuid
@NotNull String getGuid()
Get the GUID of the application.LCAPP.STRAPPGUID
- Returns:
- the GUID of the application (not
null).
-
getApplicationName
@NotNull String getApplicationName()
The name of the application.LCAPP.STRAPPNAME
- Returns:
- The application name (not
null)
-
getCreationDate
Date getCreationDate()
Get the creation date of the application.LCAPP.DTEDITCREATE
- Returns:
- creation date of the application.
-
getLastModifiedDate
Date getLastModifiedDate()
Get the date, when application was last modified.LCAPP.DTEDITCHANGED
- Returns:
- date, when application was last modified.
-
getStartFupGuid
String getStartFupGuid()
Get the GUID of the start fup page.LCAPP.STRAPPFUPGUID
- Returns:
- GUID of the start page.
-
getStartPageGuid
String getStartPageGuid()
Get the GUID of the start page.LCAPP.STRAPPPAGEGUID
- Returns:
- GUID of the start page (not
null=> in final implementation, now it could be null)).
-
getRuntimeClass
@NotNull String getRuntimeClass()
Get the runtime class of the application.LCAPPTEMPL.STRADMINCLASS (JOIN LCAPP.STRAPPTEMPLGUID = LCAPPTEMPL.STRGUID)
- Returns:
- The runtime class of the application (not
null).
-
isSystemApplication
boolean isSystemApplication()
Determine, if application is a system application.LCAPP.BISSYSTEM
- Returns:
trueif the application is a system application, orfalseotherwise.
-
getTemplateGuid
@NotNull String getTemplateGuid()
Get the application template's GUID.LCAPP.STRAPPTEMPLGUID
- Returns:
- The application template's GUID (not
null).
-
getDefaultDescription
String getDefaultDescription()
Get an application's default description.LCAPPTITLE.STRITEM (JOIN LCAPPTITLE.STRAPPGUID = LCAPP.STRGUID AND LCAPPTITLE.TYPE = "description")
- Returns:
- The default description of this application (could be
null).
-
getDescriptions
@NotNull Map<String,String> getDescriptions()
Get the application's language specific descriptions.LCAPPTITLE.STRITEM (JOIN LCAPPTITLE.STRAPPGUID = LCAPP.STRGUID AND LCAPPTITLE.TYPE = "description")
- Returns:
- The language specific descriptions (not
null).
-
getDescription
String getDescription(String p_strLang)
Get the application description for the given language.LCAPPTITLE.STRITEM (JOIN LCAPPTITLE.STRAPPGUID = LCAPP.STRGUID AND LCAPPTITLE.TYPE = "description")
- Parameters:
p_strLang- A language identifier.- Returns:
- The language-specific application description, or an
empty string if it does not exist (could be
null).
-
getIcon
Path getIcon()
Get the application icon path.- Returns:
- The path of the application icon (could be
null).
-
supportsLanguage
boolean supportsLanguage(String p_strLang)
Determines, if given language is supported.LCAPPTITLE.STRITEM (JOIN LCAPPTITLE.STRAPPGUID = LCAPP.STRGUID AND LCAPPTITLE.TYPE = "description")
- Returns:
trueif the given language is supported by this application, orfalseotherwise.
-
getLanguages
@NotNull List<String> getLanguages()
Get the languages that are supported by this application.LCAPPTITLE.STRITEM (JOIN LCAPPTITLE.STRAPPGUID = LCAPP.STRGUID AND LCAPPTITLE.TYPE = "description")
- Returns:
- The identifiers of the supported languages (not
null).
-
getLastChangedUser
int getLastChangedUser()
Get the user that last changed the application.LCAPP.LUSERIDCHANGED
- Returns:
- Id of user last changed the application.
-
getCreatedUser
int getCreatedUser()
Get the user that have created the application.LCAPP.LUSERIDCREATED
- Returns:
- Id of user last changed the application.
-
getApplicationLicense
String getApplicationLicense()
Get the application license.LCAPP.STRAPPLIC
- Returns:
- A string that represents the application license.
-
getProperties
de.uplanet.lucy.server.property.ApplicationPropertyCollection getProperties()
- Returns:
- The application specific properties.
-
getLanguageConstantNameDescription
String getLanguageConstantNameDescription()
- Returns:
- Returns if a language constant name if
hasLanguageConstantDescription()istrueotherwisefalse
-
getLanguageConstantTypeDescription
String getLanguageConstantTypeDescription()
- Returns:
- Returns if a language constant type if
hasLanguageConstantDescription()istrueotherwisefalse
-
hasLanguageConstantDescription
boolean hasLanguageConstantDescription()
- Returns:
- Returns if a language constant is set for the description otherwise
false
-
-