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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionList<de.uplanet.lucy.server.businesslogic.util.SortByInfo>getDefaultSortByInfo(de.uplanet.lucy.server.rtcache.DataRangeControlInfo p_drInfo) de.uplanet.lucy.server.auxiliaries.util.ITableDatagetDynamicTable(de.uplanet.lucy.server.renderer.IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strDataGroupGuid, int p_iPage, int p_iPageSize, Object... p_columns) de.uplanet.lucy.server.auxiliaries.util.ITableDatagetDynamicTable(de.uplanet.lucy.server.renderer.IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strDataGroupGuid, Object... p_columns) de.uplanet.lucy.server.auxiliaries.util.ITableDatagetGenericTable(de.uplanet.lucy.server.renderer.IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid) de.uplanet.lucy.server.auxiliaries.util.ITableDatagetGenericTable(de.uplanet.lucy.server.renderer.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.ITableDatagetGenericTable(de.uplanet.lucy.server.renderer.IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid, int p_iPage, int p_iPageSize, boolean p_bExport) de.uplanet.lucy.server.auxiliaries.util.ITableDatagetTable(de.uplanet.lucy.server.renderer.IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid) de.uplanet.lucy.server.auxiliaries.util.ITableDatagetTable(de.uplanet.lucy.server.renderer.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.ISortColumnsortColumn(String p_strSortFieldGuid, boolean p_bAsc) Methods inherited from class de.uplanet.lucy.server.auxiliaries.util.ValueUtildataRange, distributionColumn, dynamicViewColumn, dynamicViewColumn, fieldColumn, fieldColumn, fieldColumn, fieldColumn, fieldColumn, filterObject, filterString, formatColumn, formatColumn, formatColumn, formatColumn, formatColumn, formatColumn, formatColumn, formatColumn, formatColumn, formatColumn, formatColumn, formatColumn
- 
Constructor Details- 
TableUtilpublic TableUtil()
 
- 
- 
Method Details- 
getTablepublic de.uplanet.lucy.server.auxiliaries.util.ITableData getTable(de.uplanet.lucy.server.renderer.IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid) throws Exception - Parameters:
- p_renderingCtx- The rendering context
- p_ctx- The processing context
- p_strGuid- The datarange GUID
- Returns:
- The table data
- Throws:
- Exception
 
- 
getTablepublic de.uplanet.lucy.server.auxiliaries.util.ITableData getTable(de.uplanet.lucy.server.renderer.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 context
- p_ctx- The processing context
- p_strGuid- The data range GUID
- p_iPage- The page
- p_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
 
- 
getDynamicTablepublic de.uplanet.lucy.server.auxiliaries.util.ITableData getDynamicTable(de.uplanet.lucy.server.renderer.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 context
- p_ctx- The processing context
- p_strDataGroupGuid- The data group GUID.
- Returns:
- The table data
- Throws:
- Exception
 
- 
getDynamicTablepublic de.uplanet.lucy.server.auxiliaries.util.ITableData getDynamicTable(de.uplanet.lucy.server.renderer.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 context
- p_ctx- The processing context
- p_strDataGroupGuid- The data group GUID.
- p_iPage- The page
- p_iPageSize- The page size (-1 all records will be returned and the parameter p_iPage will be ignored)
- Returns:
- The table data
- Throws:
- Exception
 
- 
getGenericTablepublic de.uplanet.lucy.server.auxiliaries.util.ITableData getGenericTable(de.uplanet.lucy.server.renderer.IRenderingContext p_renderingCtx, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strGuid) throws Exception - Parameters:
- p_renderingCtx- The rendering context
- p_ctx- The processing context
- p_strGuid- The data range GUID
- Returns:
- The table data
- Throws:
- Exception
 
- 
getGenericTablepublic de.uplanet.lucy.server.auxiliaries.util.ITableData getGenericTable(de.uplanet.lucy.server.renderer.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 context
- p_ctx- The processing context
- p_strGuid- The data range GUID.
- p_iPage- The page
- p_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
 
- 
getGenericTablepublic de.uplanet.lucy.server.auxiliaries.util.ITableData getGenericTable(de.uplanet.lucy.server.renderer.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 context
- p_ctx- The processing context
- p_strGuid- The data range GUID.
- p_iPage- The page
- p_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
 
- 
getDefaultSortByInfopublic 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).
 
- 
sortColumnpublic de.uplanet.lucy.server.auxiliaries.util.ISortColumn sortColumn(String p_strSortFieldGuid, boolean p_bAsc) 
 
-