Class NewsControllerUtil
- java.lang.Object
-
- de.uplanet.lucy.server.auxiliaries.NewsControllerUtil
-
@VelocityCallable("instance") public final class NewsControllerUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description NewsControllerUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<INewsCategory>getCategories(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strLang)List<INewsCategory>getCategories(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strLang, String p_strCfgName)List<INewsCategory>getCategoriesByType(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strType, String p_strLang)List<INewsCategory>getCategoriesByType(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strType, String p_strLang, String p_strCfgName)INewsCategorygetCategoryByGuid(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strCategoryGuid, String p_strLang)INewsCategorygetCategoryByGuid(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strCategoryGuid, String p_strLang, String p_strCfgType)intgetCategoryItemCount(de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strCategoryGuid)intgetCategoryItemCount(de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strCategoryGuid, String p_strCfgType)intgetCategoryItemCount(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, INewsCategory p_category)intgetCategoryItemCount(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, INewsCategory p_category, String p_strCfgType)de.uplanet.lucy.server.news.INewsList<INewsCategoryItem>getCategoryItems(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, INewsCategory p_category, int p_iStartIdx, int p_iCount, String p_strLang)de.uplanet.lucy.server.news.INewsList<INewsCategoryItem>getCategoryItems(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, INewsCategory p_category, int p_iStartIdx, int p_iCount, String p_strLang, String p_strCfgName)de.uplanet.lucy.server.news.INewsList<INewsCategoryItem>getCategoryItems(de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strCategoryGuid, int p_iStartIdx, int p_iCount, String p_strLang)de.uplanet.lucy.server.news.INewsList<INewsCategoryItem>getCategoryItems(de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strCategoryGuid, int p_iStartIdx, int p_iCount, String p_strLang, String p_strCfgName)booleanisForMobile()voidsetForMobile(boolean p_bMobile)
-
-
-
Method Detail
-
setForMobile
public void setForMobile(boolean p_bMobile)
-
isForMobile
public boolean isForMobile()
-
getCategoriesByType
public List<INewsCategory> getCategoriesByType(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strType, String p_strLang) throws Exception
- Throws:
Exception
-
getCategoriesByType
public List<INewsCategory> getCategoriesByType(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strType, String p_strLang, String p_strCfgName) throws Exception
- Throws:
Exception
-
getCategories
public List<INewsCategory> getCategories(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strLang) throws Exception
- Throws:
Exception
-
getCategories
public List<INewsCategory> getCategories(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strLang, String p_strCfgName) throws Exception
- Throws:
Exception
-
getCategoryItems
public de.uplanet.lucy.server.news.INewsList<INewsCategoryItem> getCategoryItems(de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strCategoryGuid, int p_iStartIdx, int p_iCount, String p_strLang) throws Exception
- Throws:
Exception
-
getCategoryItems
public de.uplanet.lucy.server.news.INewsList<INewsCategoryItem> getCategoryItems(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, INewsCategory p_category, int p_iStartIdx, int p_iCount, String p_strLang) throws Exception
- Throws:
Exception
-
getCategoryItems
public de.uplanet.lucy.server.news.INewsList<INewsCategoryItem> getCategoryItems(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, INewsCategory p_category, int p_iStartIdx, int p_iCount, String p_strLang, String p_strCfgName) throws Exception
- Throws:
Exception
-
getCategoryItems
public de.uplanet.lucy.server.news.INewsList<INewsCategoryItem> getCategoryItems(de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strCategoryGuid, int p_iStartIdx, int p_iCount, String p_strLang, String p_strCfgName) throws Exception
- Throws:
Exception
-
getCategoryItemCount
public int getCategoryItemCount(de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strCategoryGuid) throws Exception- Throws:
Exception
-
getCategoryItemCount
public int getCategoryItemCount(de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strCategoryGuid, String p_strCfgType) throws Exception- Throws:
Exception
-
getCategoryItemCount
public int getCategoryItemCount(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, INewsCategory p_category) throws Exception- Throws:
Exception
-
getCategoryItemCount
public int getCategoryItemCount(de.uplanet.lucy.server.ISessionProcessingContext p_ctx, INewsCategory p_category, String p_strCfgType) throws Exception- Throws:
Exception
-
getCategoryByGuid
public INewsCategory getCategoryByGuid(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strCategoryGuid, String p_strLang) throws Exception
- Throws:
Exception
-
-