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
Constructors Constructor Description ApplicationCacheWrapper(de.uplanet.lucy.server.rtcache.IRtCacheProvider p_rtCacheProvider, de.uplanet.lucy.server.i18n.ILanguageConstantsProvider p_languageConstantsProvider, String p_strDefaultLanguage)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<ApplicationInfo>
getAllApplications()
Deprecated.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)
insteadApplicationInfo
getApplication(String p_strAppGuid)
Deprecated.Get the application with the given unique identifier.List<ApplicationInfo>
getApplicationsWithTemplate(String p_strTemplateGuid)
Deprecated.Get a list of all application with the given template to which the current user has access to.List<ApplicationInfo>
getApplicationsWithTemplates(Collection<String> p_templates)
Deprecated.Get a list of all application with the given templates to which the current user has access to.List<ApplicationInfo>
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.DataGroupInfo
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)
insteadList<PageInfo>
getPagesWithType(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
hasMenu(String p_strAppGuid)
Deprecated.Get information whether the application should support an application menu for desktop layouts.boolean
hasMenu(String p_strAppGuid, String p_strMenuKey)
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.List<ApplicationInfo>
searchApplications(String p_strQuery, String p_strLang)
Deprecated.
-
-
-
Constructor Detail
-
ApplicationCacheWrapper
public ApplicationCacheWrapper(de.uplanet.lucy.server.rtcache.IRtCacheProvider p_rtCacheProvider, de.uplanet.lucy.server.i18n.ILanguageConstantsProvider p_languageConstantsProvider, String p_strDefaultLanguage)
Deprecated.
-
-
Method Detail
-
getAllApplications
public List<ApplicationInfo> getAllApplications()
Deprecated.Get a list of all applications the current user has access to.
-
getApplicationsWithType
public List<ApplicationInfo> 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.
-
isAccessible
public boolean isAccessible(String p_strPageGuid)
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
public boolean hasApplicationAdminPermission(String p_strAppGuid)
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
public List<PageInfo> getPagesWithType(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.
-
hasMenu
public boolean hasMenu(String p_strAppGuid)
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
public boolean hasMenu(String p_strAppGuid, String p_strMenuKey)
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
public List<ApplicationInfo> getApplicationsWithTemplate(String p_strTemplateGuid)
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
public List<ApplicationInfo> getApplicationsWithTemplates(Collection<String> p_templates)
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
public ApplicationInfo getApplication(String p_strAppGuid)
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
public DataGroupInfo getDataGroup(String p_strDgGuid)
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
public List<ApplicationInfo> searchApplications(String p_strQuery, String p_strLang)
Deprecated.- Parameters:
p_strQuery
- The query used for the search.p_strLang
- The language used for sorting the application names.
-
-