com.liferay.faces.util.model
Interface RowMarker

All Known Implementing Classes:
LazyDataModel, RowMarkerDataModel

Deprecated. No replacement available.

@Deprecated
public interface RowMarker

This interface defines a contract for marking and deleting rows, intended to be implemented by a class that extends DataModel

Author:
Neil Griffin

Method Summary
 int deleteMarkedRows()
          Deprecated. Deletes the rows that are marked according to the value of getRowMarks() and returns the number of deleted rows.
 RowMarks getRowMarks()
          Deprecated. Returns an instance of RowMarks that represents rows that are marked.
 boolean isAllRowsMarked()
          Deprecated. Returns a boolean flag indicating whether or not all rows are marked.
 void setAllRowsMarked(boolean allRowsMarked)
          Deprecated. Sets the flag indicating whether or not all rows are marked, according to the specified value.
 void setRowMarks(RowMarks rowMarks)
          Deprecated. Sets an instance of RowMarks that represents rows that are marked.
 

Method Detail

deleteMarkedRows

int deleteMarkedRows()
                     throws IOException
Deprecated. 
Deletes the rows that are marked according to the value of getRowMarks() and returns the number of deleted rows.

Throws:
IOException - When any kind of exception occurs during the delete process.

setAllRowsMarked

void setAllRowsMarked(boolean allRowsMarked)
Deprecated. 
Sets the flag indicating whether or not all rows are marked, according to the specified value.


isAllRowsMarked

boolean isAllRowsMarked()
Deprecated. 
Returns a boolean flag indicating whether or not all rows are marked.


getRowMarks

RowMarks getRowMarks()
Deprecated. 
Returns an instance of RowMarks that represents rows that are marked.


setRowMarks

void setRowMarks(RowMarks rowMarks)
Deprecated. 
Sets an instance of RowMarks that represents rows that are marked.



Copyright © 2015 Liferay, Inc.. All rights reserved.