public enum MultiUpdatePolicy extends java.lang.Enum<MultiUpdatePolicy> implements ValueEnum
operationBinding.allowMultiUpdate
or via the server-side API DSRequest.setAllowMultiUpdate()
.Enum Constant and Description |
---|
ALWAYS
having a PK is always required no matter what
|
CLIENTREQUEST
having a PK is required for requests that come from the client or are specifically marked via
dsRequest.setClientRequest(true)
|
NEVER
having a PK is never required, even for requests from a browser.
|
RPCMANAGER
having a PK is required for any request that is associated with an RPCManager, which includes clientRequests and
server-created DSRequests where an RPCManager was explicitly provided
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static MultiUpdatePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MultiUpdatePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultiUpdatePolicy NEVER
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "never".
public static final MultiUpdatePolicy CLIENTREQUEST
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "clientRequest".
public static final MultiUpdatePolicy RPCMANAGER
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "rpcManager".
public static final MultiUpdatePolicy ALWAYS
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "always".
public static MultiUpdatePolicy[] values()
for (MultiUpdatePolicy c : MultiUpdatePolicy.values()) System.out.println(c);
public static MultiUpdatePolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null