org.jboss.seam.framework
public abstract class MutableController<T> extends PersistenceController<T> implements Serializable, Mutable
Constructor and Description |
---|
MutableController() |
Modifier and Type | Method and Description |
---|---|
boolean |
clearDirty()
Get and clear the dirty flag.
|
protected void |
setDirty()
Set the dirty flag.
|
protected <U> boolean |
setDirty(U oldValue,
U newValue)
Set the dirty flag if the value has changed.
|
getPersistenceContext, getPersistenceContextName, setPersistenceContext
addCookie, addFacesMessage, addFacesMessageFromResourceBundle, createValueExpression, createValueExpression, debug, debug, error, error, evaluateValueExpression, evaluateValueExpression, failValidation, fatal, fatal, getApplicationContext, getBusinessProcessContext, getComponentInstance, getComponentInstance, getConversation, getConversationContext, getCookie, getEventContext, getEvents, getFacesContext, getFacesMessages, getIdentity, getLog, getMessages, getMethodContext, getPageContext, getRedirect, getSessionContext, getStatusMessages, getValidator, getValidator, info, info, interpolate, invalidateSession, isTransactionMarkedRollback, raiseAsynchronousEvent, raiseEvent, raiseTransactionSuccessEvent, render, sendHttpError, sendHttpError, trace, trace, validationFailed, validationSucceeded, warn, warn
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 attributeprotected void setDirty()
Copyright © 2015 Seam Framework. All Rights Reserved.