|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.core.htmlcomp.tableview.AbstractConfigurableTable
com.ptc.core.htmlcomp.components.JCAConfigurableTable
com.ptc.windchill.enterprise.change2.tableViews.ChangeTableViews
com.ptc.windchill.enterprise.change2.tableViews.list.AbstractListChangeItemTableViews
public abstract class AbstractListChangeItemTableViews
Abstract class to support the view definitions of the Change tables which
appear under the change tab. This class currently supports the
Problem Reports, Change Requests and Change Notices tables however
could be subclasses to support additional tables. These table view
classes would be called by the listChangeItems.xml TAG.
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
abstract Class[] |
getClassTypes()
Method to get an Array of Class types for the table views. |
String |
getDefaultSortColumn()
Method to get the default column to sort on table views. |
protected abstract String |
getDefaultViewDescription(String viewName)
Provide the description for the default view. |
protected String |
getGeneratedDefaultViewDescription(String type,
String viewName)
Provide the generated description for a specific view and type. |
String |
getGeneratedViewName(String type,
String viewName)
Provide the generated name for a specific view and type. |
abstract String |
getLabel(Locale locale)
Provide a label that describes the table which these table views belong. |
protected List<String> |
getLockedColumns()
Retrieve the locked columns for the table view. |
protected com.ptc.core.htmlcomp.tableview.TableViewCriterion |
getNonResolvedCriteria()
Criteria for the non-resolved change objects. |
abstract String |
getOOTBActiveViewName()
Provide the out of the box active view name. |
List |
getOOTBTableViews(String tableId,
Locale locale)
Sets the default table view and returns a list of out of the box table views. |
abstract String |
getOOTBViewName(String viewName)
Provide the out of the box view name for the defined view name. |
| Methods inherited from class com.ptc.windchill.enterprise.change2.tableViews.ChangeTableViews |
|---|
createCommonTableViews, createTableView, getChangeableClasses, isColumnLocked, setDefaultSortColumnOrder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public abstract Class[] getClassTypes()
getClassTypes in class ChangeTableViews
public List getOOTBTableViews(String tableId,
Locale locale)
throws WTException
getOOTBTableViews in class ChangeTableViewstableId - Passes in the table idlocale - Passes in the Locale
WTException
protected com.ptc.core.htmlcomp.tableview.TableViewCriterion getNonResolvedCriteria()
throws WTException
WTExceptionpublic abstract String getOOTBActiveViewName()
getOOTBActiveViewName in class ChangeTableViewspublic abstract String getOOTBViewName(String viewName)
viewName - The name of the view (for example "ALL_OPEN")
getGeneratedViewName(String,String)
public String getGeneratedViewName(String type,
String viewName)
listResource
using the form: <type>_<viewName>_NAME. If this
resource does not exist it will look for a resource entry for:
<viewName>_NAME. Finally if this is not resolved
the view name will be returned as the fully qualified path to the resource
bundle listResource plus the viewName and the text
_NAME on the end.
type - The text "type" to check for in the resource bundle. An example
might be CHANGE_REQUEST.viewName - The name of the view to get the generated view name for. For example
ALL_OPEN.
public String getDefaultSortColumn()
getDefaultSortColumn in class ChangeTableViewsprotected abstract String getDefaultViewDescription(String viewName)
getDefaultViewDescription in class ChangeTableViewsviewName - The locale for the description.
protected String getGeneratedDefaultViewDescription(String type,
String viewName)
getGeneratedViewName( ) so several operations are required
to be perform on the view in order for the description to be determined
correctly. The implemented getDefaultViewDescription() should
simply call this method by assigning the type in any subclass.
listResource
using the form: <type>_<short_viewName>_DESCRIPTION. If this
resource does not exist it will look for a resource entry for:
<viewName>_DESCRIPTION. Finally if this is not resolved
the view description will be returned as the fully qualified path to the resource
bundle listResource plus the viewName and the text
_DESCRIPTION on the end.
type - The text "type" to check for in the resource bundle. An example
might be CHANGE_REQUEST.viewName - The name of the view to get the generated view description for.
getDefaultViewDescription(String),
getGeneratedViewName(String,String)protected List<String> getLockedColumns()
getLockedColumns in class ChangeTableViewspublic abstract String getLabel(Locale locale)
getLabel in class ChangeTableViewslocale - Passes in the Locale
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||