com.liferay.faces.util.model
Class RowMarks

java.lang.Object
  extended by java.util.Observable
      extended by com.liferay.faces.util.model.RowMarks
All Implemented Interfaces:
Map<Object,Boolean>

Deprecated. No replacement available in Liferay Faces Util. Please consider using the Liferay Faces Alloy's alloy:dataTable component.

@Deprecated
public class RowMarks
extends Observable
implements Map<Object,Boolean>

This class wraps a HashMap that represents rows that are marked, typically for deletion. It also extends the Observable class so that observers can be notified when the map has changed, according to the RowMarks.NotificationEvent enumeration.

Author:
Neil Griffin

Nested Class Summary
static class RowMarks.NotificationEvent
          Deprecated.  
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
RowMarks()
          Deprecated.  
 
Method Summary
 void clear()
          Deprecated.  
 boolean containsKey(Object key)
          Deprecated.  
 boolean containsValue(Object value)
          Deprecated.  
 Set<Map.Entry<Object,Boolean>> entrySet()
          Deprecated.  
 Boolean get(Object key)
          Deprecated.  
 int getCount()
          Deprecated. Returns the number of entries in the map that have a value of true.
 boolean isEmpty()
          Deprecated.  
 Set<Object> keySet()
          Deprecated.  
 void markAll()
          Deprecated. Sets all the entries in the map with a value of Boolean.TRUE.
 Boolean put(Object key, Boolean value)
          Deprecated.  
 void putAll(Map<? extends Object,? extends Boolean> t)
          Deprecated.  
 Boolean remove(Object key)
          Deprecated.  
 int size()
          Deprecated.  
 void unmarkAll()
          Deprecated. Sets all the entries in the map with a value of Boolean.FALSE.
 Collection<Boolean> values()
          Deprecated.  
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

RowMarks

public RowMarks()
Deprecated. 
Method Detail

clear

public void clear()
Deprecated. 
Specified by:
clear in interface Map<Object,Boolean>

containsKey

public boolean containsKey(Object key)
Deprecated. 
Specified by:
containsKey in interface Map<Object,Boolean>

containsValue

public boolean containsValue(Object value)
Deprecated. 
Specified by:
containsValue in interface Map<Object,Boolean>

entrySet

public Set<Map.Entry<Object,Boolean>> entrySet()
Deprecated. 
Specified by:
entrySet in interface Map<Object,Boolean>

get

public Boolean get(Object key)
Deprecated. 
Specified by:
get in interface Map<Object,Boolean>

keySet

public Set<Object> keySet()
Deprecated. 
Specified by:
keySet in interface Map<Object,Boolean>

markAll

public void markAll()
Deprecated. 
Sets all the entries in the map with a value of Boolean.TRUE.


put

public Boolean put(Object key,
                   Boolean value)
Deprecated. 
Specified by:
put in interface Map<Object,Boolean>

putAll

public void putAll(Map<? extends Object,? extends Boolean> t)
Deprecated. 
Specified by:
putAll in interface Map<Object,Boolean>

remove

public Boolean remove(Object key)
Deprecated. 
Specified by:
remove in interface Map<Object,Boolean>

size

public int size()
Deprecated. 
Specified by:
size in interface Map<Object,Boolean>

unmarkAll

public void unmarkAll()
Deprecated. 
Sets all the entries in the map with a value of Boolean.FALSE.


values

public Collection<Boolean> values()
Deprecated. 
Specified by:
values in interface Map<Object,Boolean>

getCount

public int getCount()
Deprecated. 
Returns the number of entries in the map that have a value of true.


isEmpty

public boolean isEmpty()
Deprecated. 
Specified by:
isEmpty in interface Map<Object,Boolean>


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