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
-
Method Summary
Modifier and TypeMethodDescriptionList
<de.uplanet.lucy.server.businesslogic.util.SortByInfo> getDefaultSortByInfo
(de.uplanet.lucy.server.rtcache.DataRangeControlInfo p_drInfo) 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) getDynamicTable
(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strDataGroupGuid, Object... p_columns) getGenericTable
(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid) getGenericTable
(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid, int p_iPage, int p_iPageSize) 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) getTable
(IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid) 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
-
Constructor Details
-
TableUtil
public TableUtil()
-
-
Method Details
-
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)
-