|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.core.navstate.NavigationalStateChange
org.jboss.portal.core.navstate.NavigationalStateObjectChange
public class NavigationalStateObjectChange
The change of the navigational state of a single object. If both old and new values are not null, it denotes an update. Whenever the old value is null, a creation occured and conversely if the new value is null, a destruction occured.
Field Summary | |
---|---|
static int |
CREATE
. |
static int |
DESTROY
. |
static int |
UPDATE
. |
Method Summary | |
---|---|
NavigationalStateKey |
getKey()
|
java.lang.Object |
getNewValue()
|
java.lang.Object |
getOldValue()
|
int |
getType()
|
static NavigationalStateObjectChange |
newCreate(NavigationalStateKey key,
java.lang.Object newValue)
|
static NavigationalStateObjectChange |
newDestroy(NavigationalStateKey key,
java.lang.Object oldValue)
|
static NavigationalStateObjectChange |
newUpdate(NavigationalStateKey key,
java.lang.Object oldValue,
java.lang.Object newValue)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int UPDATE
public static final int CREATE
public static final int DESTROY
Method Detail |
---|
public int getType()
public NavigationalStateKey getKey()
public java.lang.Object getOldValue()
public java.lang.Object getNewValue()
public static NavigationalStateObjectChange newUpdate(NavigationalStateKey key, java.lang.Object oldValue, java.lang.Object newValue)
public static NavigationalStateObjectChange newCreate(NavigationalStateKey key, java.lang.Object newValue)
public static NavigationalStateObjectChange newDestroy(NavigationalStateKey key, java.lang.Object oldValue)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |