Interface IFIXGRIDPersistence2
- All Known Implementing Classes:
DefaultFIXGRIDPersistence
public interface IFIXGRIDPersistence2
Interface to fixgrid persistence management - second version. The
grid's binding is now passed as parameter as well. As consequence
you gain access to the column information of the grid by
calling
The columns (may) contain a persist id as well. You are as result able to better store the column sequence in a way that is abstracted from the concrete grid definition. Background: in case you extend an existing grid by adding new columns into existing ones, a column sequence that you stored will become invalid.
The implementation class is defined in system.xml. Default implementation is
FIXGRIDBinding.getColumnInfos()
.
The columns (may) contain a persist id as well. You are as result able to better store the column sequence in a way that is abstracted from the concrete grid definition. Background: in case you extend an existing grid by adding new columns into existing ones, a column sequence that you stored will become invalid.
The implementation class is defined in system.xml. Default implementation is
DefaultFIXGRIDPersistence
.-
Method Summary
Modifier and TypeMethodDescriptionreadPersistentInfo
(javax.faces.context.FacesContext context, FIXGRIDBinding gridBinding, String pageName, String persistId) void
updatePersistentInfo
(javax.faces.context.FacesContext context, FIXGRIDBinding gridBinding, String pageName, String persistId, IFIXGRIDPersistence.PersistentInfo persistentInfo)
-
Method Details
-
readPersistentInfo
IFIXGRIDPersistence.PersistentInfo readPersistentInfo(javax.faces.context.FacesContext context, FIXGRIDBinding gridBinding, String pageName, String persistId) -
updatePersistentInfo
void updatePersistentInfo(javax.faces.context.FacesContext context, FIXGRIDBinding gridBinding, String pageName, String persistId, IFIXGRIDPersistence.PersistentInfo persistentInfo)
-