de.uplanet.lucy.server.rtcache
Interface ApplicationInfo


@Scriptable
public interface ApplicationInfo

Information about applications.

Version:
$Revision: 78066 $

Method Summary
 java.lang.String getAdminClass()
          Get the administration class of the application.
 java.lang.String getApplicationLicense()
          Get the application license.
 java.lang.String getApplicationName()
          The name of the application.
 int getCreatedUser()
          Get the user that have created the application.
 java.util.Date getCreationDate()
          Get the creation date of the application.
 java.lang.String getDefaultDescription()
          Get an application's default description.
 java.lang.String getDefaultTitle()
          Get the default title of this application.
 java.lang.String getDescription(java.lang.String p_strLang)
          Get the application description for the given language.
 java.util.Map<java.lang.String,java.lang.String> getDescriptions()
          Get the application's language specific descriptions.
 java.lang.String getGuid()
          Get the GUID of the application.
 java.util.List<java.lang.String> getLanguages()
          Get the languages that are supported by this application.
 int getLastChangedUser()
          Get the user that last changed the application.
 java.util.Date getLastModifiedDate()
          Get the date, when application was last modified.
 de.uplanet.lucy.server.property.ApplicationPropertyCollection getProperties()
           
 java.lang.String getRuntimeClass()
          Get the runtime class of the application.
 java.lang.String getStartFupGuid()
          Get the GUID of the start fup page.
 java.lang.String getStartPageGuid()
          Get the GUID of the start page.
 java.lang.String getTemplateGuid()
          Get the application template's GUID.
 java.lang.String getTitle(java.lang.String p_strLang)
          Get the application title for the given language.
 java.util.Map<java.lang.String,java.lang.String> getTitles()
          Get the application's language specific titles.
 boolean isSystemApplication()
          Determine, if application is a system application.
 boolean supportsLanguage(java.lang.String p_strLang)
          Determines, if given language is supported.
 

Method Detail

getGuid

java.lang.String getGuid()
Get the GUID of the application.

LCAPP.STRAPPGUID

Returns:
the GUID of the application (not null).

getApplicationName

java.lang.String getApplicationName()
The name of the application.

LCAPP.STRAPPNAME

Returns:
The application name (not null)

getCreationDate

java.util.Date getCreationDate()
Get the creation date of the application.

LCAPP.DTEDITCREATE

Returns:
creation date of the application.

getLastModifiedDate

java.util.Date getLastModifiedDate()
Get the date, when application was last modified.

LCAPP.DTEDITCHANGED

Returns:
date, when application was last modified.

getStartFupGuid

java.lang.String getStartFupGuid()
Get the GUID of the start fup page.

LCAPP.STRAPPFUPGUID

Returns:
GUID of the start page.

getStartPageGuid

java.lang.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

java.lang.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).

getAdminClass

java.lang.String getAdminClass()
Get the administration class of the application.

LCAPPTEMPL.STRADMINCLASS (JOIN LCAPP.STRAPPTEMPLGUID = LCAPPTEMPL.STRGUID)

Returns:
The administration 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

java.lang.String getTemplateGuid()
Get the application template's GUID.

LCAPP.STRAPPTEMPLGUID

Returns:
The application template's GUID (not null).

getDefaultTitle

java.lang.String getDefaultTitle()
Get the default title of this application.

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

Returns:
The default title of this application (could be null).

getTitles

java.util.Map<java.lang.String,java.lang.String> getTitles()
Get the application's language specific titles.

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

Returns:
The language specific titles (not null).

getTitle

java.lang.String getTitle(java.lang.String p_strLang)
Get the application title for the given language.

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

Parameters:
p_strLang - A language identifier.
Returns:
The language-specific application name, or the default name if the requested name does not exist (could be null).

getDefaultDescription

java.lang.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

java.util.Map<java.lang.String,java.lang.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

java.lang.String getDescription(java.lang.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(java.lang.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

java.util.List<java.lang.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

java.lang.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.


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.