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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<de.uplanet.lucy.server.businesslogic.util.SortByInfo>
    getDefaultSortByInfo(de.uplanet.lucy.server.rtcache.DataRangeControlInfo p_drInfo)
     
    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)
     
    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)
     
    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)
     
    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)
     
    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)
     
    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)
     
    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)
     
    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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TableUtil

      public TableUtil()
  • Method Details

    • getTable

      public 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
    • getTable

      public 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
    • getDynamicTable

      public 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
    • getDynamicTable

      public 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
    • getGenericTable

      public 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
    • getGenericTable

      public 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
    • getGenericTable

      public 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
    • 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)