public abstract class ClientRowKeyManager extends Object implements Serializable
Constructor and Description |
---|
ClientRowKeyManager() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getClientRowKey(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object rowKey)
Gets a string version of a key that identifies the row with the given rowkey.
|
abstract Object |
getRowKey(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String clientRowKey)
Gets the corresponding server-side rowkey object from the given client-side string
key.
|
boolean |
replaceRowKey(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object oldRowKey,
Object newRowKey)
Replaces an old row key with a new key if the old row key exists.
|
public abstract String getClientRowKey(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object rowKey)
rowKey
- the rowkey to convert into a client key. Note that
null is special and is not allowed.public abstract Object getRowKey(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String clientRowKey)
clientRowKey
- the string keypublic boolean replaceRowKey(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object oldRowKey, Object newRowKey)
context
- component
- oldRowKey
- row key to replace (may not exist)newRowKey
- new row keytrue
if old row key existed and was replaced, false
otherwiseCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.