Class ApplicationCacheWrapper
java.lang.Object
de.uplanet.lucy.server.scripting.velocity.callables.legacy.ApplicationCacheWrapper
@Deprecated
@VelocityVariable("ApplicationLister")
@VelocityCallable("instance")
public final class ApplicationCacheWrapper
extends Object
Deprecated.
Do not use this class.
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationCacheWrapper
(de.uplanet.lucy.server.rtcache.IRtCacheProvider p_rtCacheProvider, de.uplanet.lucy.server.i18n.ILanguageConstantsProvider p_languageConstantsProvider, String p_strDefaultLanguage) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get a list of all applications the current user has access to.Comparator
<de.uplanet.lucy.server.rtcache.IRtInfoWithTitle> getAppInfoNameComparator
(String p_strLang) Deprecated.Use$RtCache.order.titled.getAscending($lang)
insteadgetApplication
(String p_strAppGuid) Deprecated.Get the application with the given unique identifier.getApplicationsWithTemplate
(String p_strTemplateGuid) Deprecated.Get a list of all application with the given template to which the current user has access to.getApplicationsWithTemplates
(Collection<String> p_templates) Deprecated.Get a list of all application with the given templates to which the current user has access to.getApplicationsWithType
(String p_strType) Deprecated.Get a list of all applications the current user has access to and with the setting of type: application:type.getDataGroup
(String p_strDgGuid) Deprecated.Get the datagroup with the given unique identifier.Comparator
<de.uplanet.lucy.server.rtcache.IRtInfoWithTitle> getPageInfoNameComparator
(String p_strLang) Deprecated.Use$RtCache.order.titled.getAscending($lang)
insteadgetPagesWithType
(String p_strAppGuid, String p_strType) Deprecated.Get a list of all pages the current user has access to for a specific application and with the setting of type: page:type.boolean
hasApplicationAdminPermission
(String p_strAppGuid) Deprecated.Checks whether a user has admin permissions for a given application.boolean
Deprecated.Get information whether the application should support an application menu for desktop layouts.boolean
Deprecated.Get information whether the application should support an application menu for the given layout.boolean
isAccessible
(String p_strPageGuid) Deprecated.Checks whether a user has access to a page.searchApplications
(String p_strQuery, String p_strLang) Deprecated.
-
Constructor Details
-
ApplicationCacheWrapper
public ApplicationCacheWrapper(de.uplanet.lucy.server.rtcache.IRtCacheProvider p_rtCacheProvider, de.uplanet.lucy.server.i18n.ILanguageConstantsProvider p_languageConstantsProvider, String p_strDefaultLanguage) Deprecated.
-
-
Method Details
-
getAllApplications
Deprecated.Get a list of all applications the current user has access to. -
getApplicationsWithType
Deprecated.Get a list of all applications the current user has access to and with the setting of type: application:type. -
isAccessible
Deprecated.Checks whether a user has access to a page.- Parameters:
p_strPageGuid
- The page GUID- Returns:
true
if the page could be reached from the user, otherwisefalse
.
-
hasApplicationAdminPermission
Deprecated.Checks whether a user has admin permissions for a given application.- Parameters:
p_strAppGuid
- The application GUID.- Returns:
true
if the application could be administrated from the user, otherwisefalse
.
-
getPagesWithType
Deprecated.Get a list of all pages the current user has access to for a specific application and with the setting of type: page:type. -
hasMenu
Deprecated.Get information whether the application should support an application menu for desktop layouts.- Parameters:
p_strAppGuid
- The application GUID.- Returns:
true
if the application supports the menu, otherwisefalse
.
-
hasMenu
Deprecated.Get information whether the application should support an application menu for the given layout.- Parameters:
p_strAppGuid
- The application GUiD.p_strMenuKey
-true
if the application supports the menu, otherwisefalse
.- Returns:
true
if the application supports the menu, otherwisefalse
.
-
getApplicationsWithTemplate
Deprecated.Get a list of all application with the given template to which the current user has access to.- Parameters:
p_strTemplateGuid
- The template GUID.
-
getApplicationsWithTemplates
Deprecated.Get a list of all application with the given templates to which the current user has access to.- Parameters:
p_templates
- A collection of template GUIDs.
-
getApplication
Deprecated.Get the application with the given unique identifier.Note: This method checks if the current user has access permissions to the requested application.
- Parameters:
p_strAppGuid
- The application's unque identifer.- Returns:
- The application info, or
null
.
-
getDataGroup
Deprecated.Get the datagroup with the given unique identifier.Note: This method checks if the current user has access permissions to the requested application.
- Parameters:
p_strDgGuid
- The datagroups unqiue identifer.- Returns:
- The datagroup info, or
null
.
-
getAppInfoNameComparator
@Deprecated public Comparator<de.uplanet.lucy.server.rtcache.IRtInfoWithTitle> getAppInfoNameComparator(String p_strLang) Deprecated.Use$RtCache.order.titled.getAscending($lang)
instead -
getPageInfoNameComparator
@Deprecated public Comparator<de.uplanet.lucy.server.rtcache.IRtInfoWithTitle> getPageInfoNameComparator(String p_strLang) Deprecated.Use$RtCache.order.titled.getAscending($lang)
instead -
searchApplications
Deprecated.- Parameters:
p_strQuery
- The query used for the search.p_strLang
- The language used for sorting the application names.
-