Class RelatedWorkSetTableViews

java.lang.Object
com.ptc.core.htmlcomp.tableview.AbstractConfigurableTable
com.ptc.core.htmlcomp.components.JCAConfigurableTable
com.ptc.windchill.enterprise.workSet.views.RelatedWorkSetTableViews
All Implemented Interfaces:
com.ptc.core.htmlcomp.components.JCAMappable, ConfigurableTable, com.ptc.core.htmlcomp.tableview.FreezableConfigurableTable, com.ptc.core.htmlcomp.tableview.RuntimeTableViewHolder

public class RelatedWorkSetTableViews extends JCAConfigurableTable
Configures the default views available for the Related Work Sets table.

Supported API: true

Extendable: true
  • Method Details

    • getClassTypes

      public Class[] getClassTypes()
      Get an array of classes available for display in the table views.

      Supported API: true
      Returns:
      List of classes that are supported by table.

      Supported API: true
    • getLabel

      public String getLabel(Locale locale)
      Get the label for the table views.

      Supported API: true
      Parameters:
      locale - Language for label.
      Returns:
      Returns label of object.

      Supported API: true
    • getOOTBTableViews

      public List getOOTBTableViews(String tableId, Locale locale) throws WTException
      Returns a list of out of the box table views.

      Supported API: true
      Parameters:
      tableId - Id of table.
      locale - Language for table.
      Returns:
      Get the Out Of The Box table views.
      Throws:
      WTException - Error thrown during execution.

      Supported API: true
    • createTableView

      public List<com.ptc.core.htmlcomp.tableview.TableViewDescriptor> createTableView(String tableId, String viewName, Locale locale, Vector<com.ptc.core.htmlcomp.tableview.TableViewCriterion> criterion) throws WTException
      Creates the table view descriptors for a new view. The criteria is provided within the input parameters.

      Supported API: true
      Parameters:
      tableId - The id of the table (used in encoding the table view)
      viewName - The unique name of the view
      locale - The locale to be used.
      criterion - The vector of criteria to set on the table.
      Returns:
      result Return a list of out of the box table view descriptors.
      Throws:
      WTException
    • setDefaultSortColumnOrder

      protected void setDefaultSortColumnOrder(com.ptc.core.htmlcomp.tableview.TableViewDescriptor tableViewDescriptor) throws WTException
      Method to set the sortable columns for a table view.

      Supported API: true
      Throws:
      WTException
    • getTableViewDescriptor

      protected com.ptc.core.htmlcomp.tableview.TableViewDescriptor getTableViewDescriptor(String viewName, Locale locale, Vector<com.ptc.core.htmlcomp.tableview.TableViewCriterion> criteria) throws WTException
      Method to initialize the table descriptor.

      Supported API: true
      Returns:
      TableViewDescriptor Returns the initialized the table view descriptor.
      Throws:
      WTException
    • getDefaultViewDescription

      protected String getDefaultViewDescription(String viewName)
      Method to get the default view description.

      Supported API: true
      Returns:
      String Returns the default view description.
    • getSpecialTableColumnsAttrDefinition

      public List getSpecialTableColumnsAttrDefinition(Locale locale)
      Get special table columns attribute definitions. There are no special table column attributes defined by this TableView.

      Supported API: true
      Parameters:
      locale - Language for attribute.
      Returns:
      Special Table Column Attribute for given locale.

      Supported API: true
    • getLockedColumns

      protected List<String> getLockedColumns()
      Retrieve the locked columns for the table view.

      Supported API: true
    • getDefaultColumns

      protected List<String> getDefaultColumns()
      Retrieve the default columns for the table view.

      Supported API: true
    • getOOTBActiveViewName

      public String getOOTBActiveViewName()
      Method to get the out of the box active table view name.

      Supported API: true
      Returns:
      String Returns the out of the box active table view name.