public abstract class ActionsMap extends Object implements Map
public ActionsMap getRemoveEmailUnid(){
return new ActionsMap(){
public void performAction(String unid) {
InboxMailDAO<TInboxMail> dao = getInboxMailDAO();
TInboxMail email = dao.getByPrimaryKey( unid );
dao.remove( email );
}
};
}
JSF page :
<h:selectBooleanCheckbox value="#{inboxFace.removeEmailUnid[email.unid]}"/>Constructor and Description |
---|
ActionsMap() |
ActionsMap(Set keys) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set |
entrySet() |
Object |
get(Object key) |
boolean |
isEmpty() |
Set |
keySet() |
abstract void |
performAction(String command)
This method should fire the command.
|
Boolean |
put(String key,
Boolean value) |
void |
putAll(Map map) |
Object |
remove(Object key) |
int |
size() |
Collection |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, put, putIfAbsent, remove, replace, replace, replaceAll
public ActionsMap()
public ActionsMap(Set keys)
public abstract void performAction(String command)
public boolean containsKey(Object key)
containsKey
in interface Map
public boolean containsValue(Object value)
containsValue
in interface Map
public Collection values()
Copyright © 2021 The Apache Software Foundation. All rights reserved.