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.ILanguageConstantOrTitle
    Information about applications.
    • 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:
        true if the application is a system application, or false otherwise.
      • 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).
      • supportsLanguage

        boolean supportsLanguage​(String p_strLang)
        Determines, if given language is supported.

        LCAPPTITLE.STRITEM (JOIN LCAPPTITLE.STRAPPGUID = LCAPP.STRGUID AND LCAPPTITLE.TYPE = "description")

        Returns:
        true if the given language is supported by this application, or false otherwise.
      • 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.
      • hasLanguageConstantDescription

        boolean hasLanguageConstantDescription()
        Returns:
        Returns if a language constant is set for the description otherwise false