|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.seam.framework.Controller
org.jboss.seam.framework.PersistenceController<T>
org.jboss.seam.framework.MutableController<T>
public abstract class MutableController<T>
Base class for controllers which implement the Mutable interface.
| Constructor Summary | |
|---|---|
MutableController()
|
|
| Method Summary | ||
|---|---|---|
boolean |
clearDirty()
Get and clear the dirty flag. |
|
protected void |
setDirty()
Set the dirty flag. |
|
protected
|
setDirty(U oldValue,
U newValue)
Set the dirty flag if the value has changed. |
|
| Methods inherited from class org.jboss.seam.framework.PersistenceController |
|---|
getPersistenceContext, getPersistenceContextName, setPersistenceContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MutableController()
| Method Detail |
|---|
public boolean clearDirty()
Mutable
clearDirty in interface Mutable
protected <U> boolean setDirty(U oldValue,
U newValue)
oldValue - the old value of an attributenewValue - the new value of an attribute
protected void setDirty()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||