Class JcaTableConfig

All Implemented Interfaces:
JcaComponentConfig, BasicTableConfig, ComponentConfig, CustomizableViewConfig, com.ptc.mvc.components.ds.DataSourceComponentConfig, TableConfig, Serializable, Cloneable
Direct Known Subclasses:
com.ptc.jca.mvc.components.JcaPropertyPanelConfig, JcaTreeConfig

public class JcaTableConfig extends AbstractJcaTableConfig implements TableConfig, com.ptc.mvc.components.ds.DataSourceComponentConfig
Describes a JCA table.

Instances of this class should typically be created by a ComponentConfigFactory

Supported API: true

Extendable: false

See Also:
  • Method Details

    • setDataSourceMode

      public final void setDataSourceMode(DataSourceMode dataSourceMode)
      For detailed description check: DataSourceComponentConfig.setDataSourceMode(DataSourceMode)

      Supported API: true
      Specified by:
      setDataSourceMode in interface com.ptc.mvc.components.ds.DataSourceComponentConfig
    • setInitialRows

      public final void setInitialRows(boolean initialRows)
      If set true, initial rows are generated for table. By default, it is set to false.

      Supported API: true
      Parameters:
      initialRows -
    • setSingleSelect

      public final void setSingleSelect(boolean singleSelect)
      For detailed description check: TableConfig.setSingleSelect(boolean)

      Supported API: true
      Specified by:
      setSingleSelect in interface TableConfig
    • setNonSelectables

      public void setNonSelectables(String className, String methodName)
      The static method in the class should return an array of NmOids. The rows that contain these NmOids will be made non-selectable

      Supported API: true
      Parameters:
      className - The name of the Class that will get an ArrayList of nonSelectable NmOid's.
      methodName - The name of the static method that will return an ArrayList of nonSelectable NmOid's.
    • getNonSelectablesClassName

      public String getNonSelectablesClassName()
      The name of the Class that will get an ArrayList of nonSelectable NmOid's.

      Supported API: true
      Returns:
      String
    • getNonSelectablesMethodName

      public String getNonSelectablesMethodName()
      The name of the static method that will return an ArrayList of nonSelectable NmOid's.

      Supported API: true
      Returns:
      String
    • setNonSelectableColumn

      public void setNonSelectableColumn(ColumnConfig nonSelectableColumn)
      This will set column whose values can be considered to decide wheather row is selectable or not.

      Supported API: true
      Specified by:
      setNonSelectableColumn in interface TableConfig
      Parameters:
      nonSelectableColumn -
    • getNonSelectableColumn

      public ColumnConfig getNonSelectableColumn()
      This will return the column Id which is deciding the row would be selectable or not.

      Supported API: true
      Specified by:
      getNonSelectableColumn in interface TableConfig
      Returns:
    • isAutoGenerateRowId

      public boolean isAutoGenerateRowId()
      Returns true if table is supposed to get the row ids generated by Ext at client side

      Supported API: true
      Returns:
    • setAutoGenerateRowId

      public void setAutoGenerateRowId(boolean autoGenerateRowId)
      If set to true, the row id which uniquely identifies a row will be auto generated at client side during rendering Default value is false.

      Supported API: true
      Parameters:
      autoGenerateRowId -
    • getTrailIdColumns

      public String getTrailIdColumns()
      Get the comma separated column ids which are party in creating a unique row id in trail replay.

      Supported API: true
      Returns:
      the trailIdColumns
    • setTrailIdColumns

      public void setTrailIdColumns(String trailIdColumns)
      Set the comma separated column ids which are party in creating a unique row id in trail replay.

      Supported API: true
      Parameters:
      trailIdColumns - the trailIdColumns to set
    • getPreSelectableColumn

      public ColumnConfig getPreSelectableColumn()
      This will return column whose values can be considered to decide whether row is pre selected or not.

      Supported API: true
      Specified by:
      getPreSelectableColumn in interface TableConfig
      Returns:
    • setPreSelectableColumn

      public void setPreSelectableColumn(ColumnConfig preSelectableColumn)
      This will set column whose values can be considered to decide whether row is pre selected or not.

      Supported API: true
      Specified by:
      setPreSelectableColumn in interface TableConfig
      Parameters:
      nonSelectableColumn -