public class RefreshMode
extends java.lang.Object
implements java.io.Serializable
refresh
parameter, such as
save
and createUpdatingBatchInstance
. Depending on the parameters
of the method being called, you can either refresh all of the object's properties or,
by specifying a property filter, refresh a subset of the object's properties.
Note that you cannot refresh an object's property cache until the object has been
created on the Content Engine server. Attempting to do so causes an API_SAVE_BEFORE_REFRESH
exception to be thrown.
Modifier and Type | Field and Description |
---|---|
static RefreshMode |
NO_REFRESH
Specifies that upon saving or committing the object, its property cache is not refreshed
with updated data from the Content Engine server.
|
static RefreshMode |
REFRESH
Specifies that upon saving or committing the object, its property cache is refreshed
with updated data from the Content Engine server.
|
Modifier and Type | Method and Description |
---|---|
static RefreshMode |
getInstanceFromInt(int value)
Gets an instance of this class using its associated integer value (the
*_AS_INT fields). |
int |
getValue()
Returns an integer value associated with a specific instance of this class.
|
java.lang.String |
toString()
Returns a
String representation of this instance. |
public static final RefreshMode REFRESH
REFRESH
synchronizes the object's properties with those in the persistent store.public static final RefreshMode NO_REFRESH
public int getValue()
public static RefreshMode getInstanceFromInt(int value)
*_AS_INT
fields).value
- An integer representing a particular static instance of this class.RefreshMode
instance.EngineRuntimeException
- Thrown when the value
parameter
is null
or invalid.public java.lang.String toString()
String
representation of this instance.toString
in class java.lang.Object
String
representing the instance.© Copyright IBM Corporation 2006, 2015. All rights reserved.