protected static final class UIGrid.DefaultClientKeyManager extends ClientKeyManager
Modifier | Constructor and Description |
---|---|
protected |
UIGrid.DefaultClientKeyManager()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
cellKey2String(CellKey cellKey)
Deprecated.
|
void |
clean(java.util.Set clientStringCellKeySet)
Prunes the client-side key cache based on which cell keys are still in the client.
|
void |
clear()
Clears the client-side key cache.
|
CellKey |
getCellKey(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.String clientCellKey)
Gets the corresponding server-side cellkey object from the given client-side string
key.
|
java.lang.String |
getClientCellKey(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
CellKey cellKey)
Gets a string version of a key that identifies the cell with the given cellkey.
|
protected static CellKey |
string2CellKey(java.lang.String strCellKey)
Deprecated.
|
protected UIGrid.DefaultClientKeyManager()
@Deprecated protected static java.lang.String cellKey2String(CellKey cellKey)
@Deprecated protected static CellKey string2CellKey(java.lang.String strCellKey)
public void clean(java.util.Set clientStringCellKeySet)
ClientKeyManager
clean
in class ClientKeyManager
public void clear()
ClientKeyManager
clear
in class ClientKeyManager
public CellKey getCellKey(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.String clientCellKey)
getCellKey
in class ClientKeyManager
context
- the Faces contextcomponent
- the UI componentclientCellKey
- the string keypublic java.lang.String getClientCellKey(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, CellKey cellKey)
getClientCellKey
in class ClientKeyManager
context
- the Faces contextcomponent
- the UI componentcellKey
- the cellkey to convert into a client key. Note that
null is special and is not allowed.