Class TableUtil
- java.lang.Object
-
- de.uplanet.lucy.server.auxiliaries.util.ValueUtil
-
- de.uplanet.lucy.server.auxiliaries.util.TableUtil
-
@VelocityCallable("singleton") public final class TableUtil extends de.uplanet.lucy.server.auxiliaries.util.ValueUtil
-
-
Constructor Summary
Constructors Constructor Description TableUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<de.uplanet.lucy.server.businesslogic.util.SortByInfo>
getDefaultSortByInfo(de.uplanet.lucy.server.rtcache.DataRangeControlInfo p_drInfo)
ITableData
getDynamicTable(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strDataGroupGuid, int p_iPage, int p_iPageSize, Object... p_columns)
ITableData
getDynamicTable(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strDataGroupGuid, Object... p_columns)
ITableData
getGenericTable(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid)
ITableData
getGenericTable(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid, int p_iPage, int p_iPageSize)
ITableData
getGenericTable(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid, int p_iPage, int p_iPageSize, boolean p_bExport)
ITableData
getTable(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid)
ITableData
getTable(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid, int p_iPage, int p_iPageSize)
de.uplanet.lucy.server.auxiliaries.util.ISortColumn
sortColumn(String p_strSortFieldGuid, boolean p_bAsc)
-
Methods inherited from class de.uplanet.lucy.server.auxiliaries.util.ValueUtil
dataRange, distributionColumn, dynamicViewColumn, dynamicViewColumn, fieldColumn, fieldColumn, fieldColumn, fieldColumn, fieldColumn, filterObject, filterString, formatColumn, formatColumn, formatColumn, formatColumn, formatColumn, formatColumn, formatColumn, formatColumn, formatColumn, formatColumn, formatColumn, formatColumn
-
-
-
-
Method Detail
-
getTable
public ITableData getTable(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid) throws Exception
- Parameters:
p_renderingCtx
- The rendering contextp_ctx
- The processing contextp_strGuid
- The datarange GUID- Returns:
- The table data
- Throws:
Exception
-
getTable
public ITableData getTable(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid, int p_iPage, int p_iPageSize) throws Exception
- Parameters:
p_renderingCtx
- The rendering contextp_ctx
- The processing contextp_strGuid
- The data range GUIDp_iPage
- The pagep_iPageSize
- The page size (-1 all records will be returned and the parameter p_iPage will be ignored, -2: page and pageSize will be ignored and the table default or the request state will be used).- Returns:
- The table data
- Throws:
Exception
-
getDynamicTable
public ITableData getDynamicTable(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strDataGroupGuid, Object... p_columns) throws Exception
- Parameters:
p_renderingCtx
- The rendering contextp_ctx
- The processing contextp_strDataGroupGuid
- The data group GUID.- Returns:
- The table data
- Throws:
Exception
-
getDynamicTable
public ITableData getDynamicTable(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strDataGroupGuid, int p_iPage, int p_iPageSize, Object... p_columns) throws Exception
- Parameters:
p_renderingCtx
- The rendering contextp_ctx
- The processing contextp_strDataGroupGuid
- The data group GUID.p_iPage
- The pagep_iPageSize
- The page size (-1 all records will be returned and the parameter p_iPage will be ignored)- Returns:
- The table data
- Throws:
Exception
-
getGenericTable
public ITableData getGenericTable(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid) throws Exception
- Parameters:
p_renderingCtx
- The rendering contextp_ctx
- The processing contextp_strGuid
- The data range GUID- Returns:
- The table data
- Throws:
Exception
-
getGenericTable
public ITableData getGenericTable(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid, int p_iPage, int p_iPageSize) throws Exception
- Parameters:
p_renderingCtx
- The rendering contextp_ctx
- The processing contextp_strGuid
- The data range GUID.p_iPage
- The pagep_iPageSize
- The page size (-1 all records will be returned and the parameter p_iPage will be ignored, -2: page and pageSize will be ignored and the table default or the request state will be used).- Returns:
- The table data
- Throws:
Exception
-
getGenericTable
public ITableData getGenericTable(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid, int p_iPage, int p_iPageSize, boolean p_bExport) throws Exception
- Parameters:
p_renderingCtx
- The rendering contextp_ctx
- The processing contextp_strGuid
- The data range GUID.p_iPage
- The pagep_iPageSize
- The page size (-1 all records will be returned and the parameter p_iPage will be ignored, -2: page and pageSize will be ignored and the table default or the request state will be used).- Returns:
- The table data
- Throws:
Exception
-
getDefaultSortByInfo
public List<de.uplanet.lucy.server.businesslogic.util.SortByInfo> getDefaultSortByInfo(de.uplanet.lucy.server.rtcache.DataRangeControlInfo p_drInfo)
- Parameters:
p_drInfo
- The datarange info object- Returns:
- A list of sortByInfo objects (not null, could be empty).
-
sortColumn
public de.uplanet.lucy.server.auxiliaries.util.ISortColumn sortColumn(String p_strSortFieldGuid, boolean p_bAsc)
-
-