public class PropertySelectionModel extends ContextModel implements com.sapportals.htmlb.IListModel, com.sapportals.htmlb.table.TableViewModel
| Type | Property and Description |
|---|---|
com.sapportals.wcm.control.util.components.PropertySelectionModel.PropertyItem |
addEmpty
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
COLUMN_DEFAULTVALUE
Deprecated.
|
static String |
COLUMN_DESCRIPTION
Deprecated.
|
static String |
COLUMN_FULLID
Deprecated.
|
static String |
COLUMN_ID
Deprecated.
|
static String |
COLUMN_LABLE
Deprecated.
|
static String |
COLUMN_NAME
Deprecated.
|
static String |
COLUMN_NAMESPACE
Deprecated.
|
static String |
COLUMN_TYPE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
com.sapportals.htmlb.table.TableColumn |
addColumn(String colID)
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.wcm.control.util.components.PropertySelectionModel.PropertyItem |
addEmptyProperty()
Deprecated.
|
void |
addItem(String propId,
String notUsed)
Deprecated.
As of NetWeaver 7.1
|
void |
addKeyColumn(int col)
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.wcm.control.util.components.PropertySelectionModel.PropertyItem |
addProperty(IMetaName impName)
Deprecated.
As of NetWeaver 7.1
|
void |
addSelection(String key)
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.htmlb.table.TableColumn |
getColumn(String colID)
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.htmlb.table.TableColumn |
getColumnAt(int col)
Deprecated.
As of NetWeaver 7.1
|
int |
getColumnCount()
Deprecated.
As of NetWeaver 7.1
|
String |
getColumnName(int col)
Deprecated.
As of NetWeaver 7.1
|
Vector |
getColumns()
Deprecated.
As of NetWeaver 7.1
|
String |
getFilterGroupId()
Deprecated.
As of NetWeaver 7.1
|
String |
getKeyByIndex(int ix)
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.htmlb.util.IndexedLinkedList |
getKeyColumn()
Deprecated.
As of NetWeaver 7.1
|
Iterator |
getKeys()
Deprecated.
As of NetWeaver 7.1
|
String[] |
getMultiSelection()
Deprecated.
As of NetWeaver 7.1
|
String |
getNameOfKeyColumn()
Deprecated.
As of NetWeaver 7.1
|
String |
getNameOfTextColumn()
Deprecated.
As of NetWeaver 7.1
|
int |
getRowCount()
Deprecated.
As of NetWeaver 7.1
|
String |
getSelectedKeys()
Deprecated.
As of NetWeaver 7.1
|
IMetaNameList |
getSelectedProperties()
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.htmlb.enums.TableSelectionMode |
getSelectionMode()
Deprecated.
As of NetWeaver 7.1
|
String |
getSingleSelection()
Deprecated.
As of NetWeaver 7.1
|
String |
getTextByIndex(int ix)
Deprecated.
As of NetWeaver 7.1
|
String |
getTextForKey(String impKey)
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.htmlb.type.AbstractDataType |
getValueAt(int row,
int col)
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.htmlb.type.AbstractDataType |
getValueAt(int row,
String colID)
Deprecated.
As of NetWeaver 7.1
|
void |
internalInitAfterDeserialization(com.sapportals.htmlb.rendering.IPageContext pc)
Deprecated.
As of NetWeaver 7.1
|
boolean |
invertSelection()
Deprecated.
As of NetWeaver 7.1
|
boolean |
isSelected(int ix)
Deprecated.
As of NetWeaver 7.1
|
boolean |
isSelected(String impKey)
Deprecated.
As of NetWeaver 7.1
|
boolean |
isSingleSelection()
Deprecated.
As of NetWeaver 7.1
|
void |
removeColumn(String colID)
Deprecated.
As of NetWeaver 7.1
|
void |
removeSelection(String key)
Deprecated.
As of NetWeaver 7.1
|
void |
setColumnName(String parm1,
int parm2)
Deprecated.
As of NetWeaver 7.1
|
void |
setFilterGroupId(String impFilterGroupID)
Deprecated.
As of NetWeaver 7.1
|
void |
setKeyColumn(int col)
Deprecated.
As of NetWeaver 7.1
|
void |
setNameOfKeyColumn(String parm1)
Deprecated.
As of NetWeaver 7.1
|
void |
setNameOfTextColumn(String parm1)
Deprecated.
As of NetWeaver 7.1
|
void |
setNotSelected()
Deprecated.
As of NetWeaver 7.1
|
void |
setSelectedKeys(String impKeys)
Deprecated.
As of NetWeaver 7.1
|
void |
setSelectedProperties(IMetaNameList selProps)
Deprecated.
As of NetWeaver 7.1
|
void |
setSelection(String key)
Deprecated.
As of NetWeaver 7.1
|
void |
setSelectionMode(com.sapportals.htmlb.enums.TableSelectionMode mode)
Deprecated.
As of NetWeaver 7.1
|
boolean |
setSelectionToAll(boolean select)
Deprecated.
As of NetWeaver 7.1
|
void |
setSingleSelection(boolean single)
Deprecated.
As of NetWeaver 7.1
|
void |
setValueAt(com.sapportals.htmlb.type.AbstractDataType parm1,
int parm2,
int parm3)
Deprecated.
As of NetWeaver 7.1
|
int |
size()
Deprecated.
As of NetWeaver 7.1
|
String |
toString()
Deprecated.
As of NetWeaver 7.1
|
getContext, getContextFactory, getImagePath, getPersistenceId, getResourceContext, initAfterDeserialization, setContext, setContextFactory, setPersistenceId, setRequestcontainsKey, containsValue, getProperty, setPropertypublic com.sapportals.wcm.control.util.components.PropertySelectionModel.PropertyItem addEmptyProperty
public static final String COLUMN_DESCRIPTION
public static final String COLUMN_TYPE
public static final String COLUMN_LABLE
public static final String COLUMN_NAME
public static final String COLUMN_FULLID
public static final String COLUMN_ID
public static final String COLUMN_NAMESPACE
public static final String COLUMN_DEFAULTVALUE
public void internalInitAfterDeserialization(com.sapportals.htmlb.rendering.IPageContext pc)
throws DeserializationException
internalInitAfterDeserialization in class ContextModelDeserializationExceptionpublic void setFilterGroupId(String impFilterGroupID)
impFilterGroupID - The id of the group used as filterpublic void setNameOfKeyColumn(String parm1)
setNameOfKeyColumn in interface com.sapportals.htmlb.IListModelparm1 - the name of the key columnpublic void setNameOfTextColumn(String parm1)
setNameOfTextColumn in interface com.sapportals.htmlb.IListModelparm1 - the name of the text columnpublic boolean setSelectionToAll(boolean select)
select - true to select, false to deselect the entriespublic boolean invertSelection()
public void setSelection(String key)
setSelection in interface com.sapportals.htmlb.IListModelkey - key of the item to select.public void setSingleSelection(boolean single)
setSingleSelection in interface com.sapportals.htmlb.IListModelsingle - true to set single selection modepublic void setSelectedKeys(String impKeys)
getSelectedKeys() is used to restore the
selection from a former request.impKeys - comma separated list with keys as returned from getSelectedKeys public void setColumnName(String parm1, int parm2)
setColumnName in interface com.sapportals.htmlb.table.TableViewModelparm1 - not usedparm2 - not usedpublic void setValueAt(com.sapportals.htmlb.type.AbstractDataType parm1,
int parm2,
int parm3)
setValueAt in interface com.sapportals.htmlb.table.TableViewModelparm1 - not usedparm2 - not usedparm3 - not usedpublic void setKeyColumn(int col)
setKeyColumn in interface com.sapportals.htmlb.table.TableViewModelcol - not usedpublic String getFilterGroupId()
public String getKeyByIndex(int ix)
getKeyByIndex in interface com.sapportals.htmlb.IListModelix - index of an item in the listpublic String getTextByIndex(int ix)
getTextByIndex in interface com.sapportals.htmlb.IListModelix - index of an item in the listpublic Iterator getKeys()
getKeys in interface com.sapportals.htmlb.IListModelpublic String getTextForKey(String impKey)
getTextForKey in interface com.sapportals.htmlb.IListModelimpKey - key of an item in the list.public boolean isSelected(int ix)
isSelected in interface com.sapportals.htmlb.IListModelix - index of an item in the listpublic boolean isSelected(String impKey)
isSelected in interface com.sapportals.htmlb.IListModelimpKey - key of an item in the listpublic String getNameOfKeyColumn()
getNameOfKeyColumn in interface com.sapportals.htmlb.IListModelpublic String getNameOfTextColumn()
getNameOfTextColumn in interface com.sapportals.htmlb.IListModelpublic void setSelectionMode(com.sapportals.htmlb.enums.TableSelectionMode mode)
public com.sapportals.htmlb.enums.TableSelectionMode getSelectionMode()
public boolean isSingleSelection()
isSingleSelection in interface com.sapportals.htmlb.IListModelpublic String getSingleSelection()
getSingleSelection in interface com.sapportals.htmlb.IListModelpublic String[] getMultiSelection()
getMultiSelection in interface com.sapportals.htmlb.IListModelpublic String getSelectedKeys()
setSelectedKeys public IMetaNameList getSelectedProperties()
public void setSelectedProperties(IMetaNameList selProps)
public int getRowCount()
getRowCount in interface com.sapportals.htmlb.table.TableViewModelpublic int getColumnCount()
getColumnCount in interface com.sapportals.htmlb.table.TableViewModelpublic String getColumnName(int col)
getColumnName in interface com.sapportals.htmlb.table.TableViewModelcol - index of a columnpublic com.sapportals.htmlb.type.AbstractDataType getValueAt(int row,
int col)
getValueAt in interface com.sapportals.htmlb.table.TableViewModelrow - row of the table cellcol - column of the table cellpublic com.sapportals.htmlb.type.AbstractDataType getValueAt(int row,
String colID)
getValueAt in interface com.sapportals.htmlb.table.TableViewModelrow - row of the table cellcolID - column of the table cellpublic com.sapportals.htmlb.util.IndexedLinkedList getKeyColumn()
getKeyColumn in interface com.sapportals.htmlb.table.TableViewModelpublic Vector getColumns()
getColumns in interface com.sapportals.htmlb.table.TableViewModelpublic com.sapportals.htmlb.table.TableColumn getColumn(String colID)
colID - id of a columnpublic com.sapportals.htmlb.table.TableColumn getColumnAt(int col)
getColumnAt in interface com.sapportals.htmlb.table.TableViewModelcol - index of a columnpublic com.sapportals.wcm.control.util.components.PropertySelectionModel.PropertyItem addEmptyProperty()
public void setNotSelected()
public com.sapportals.wcm.control.util.components.PropertySelectionModel.PropertyItem addProperty(IMetaName impName)
impName - Property to be addedpublic void addItem(String propId, String notUsed)
addItem in interface com.sapportals.htmlb.IListModelpropId - id of the propertynotUsed - not usedpublic int size()
size in interface com.sapportals.htmlb.IListModelpublic void addSelection(String key)
addSelection in interface com.sapportals.htmlb.IListModelkey - item to be selectedpublic void removeSelection(String key)
removeSelection in interface com.sapportals.htmlb.IListModelkey - item to be deselectedpublic void addKeyColumn(int col)
addKeyColumn in interface com.sapportals.htmlb.table.TableViewModelcol - index of columnpublic com.sapportals.htmlb.table.TableColumn addColumn(String colID)
addColumn in interface com.sapportals.htmlb.table.TableViewModelcolID - id of a columnpublic void removeColumn(String colID)
removeColumn in interface com.sapportals.htmlb.table.TableViewModelcolID - id of a column| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice