Enum ConnectorPersistRemote.PushCommand
- java.lang.Object
-
- java.lang.Enum<ConnectorPersistRemote.PushCommand>
-
- com.priint.pubserver.plugin.interfaces.ConnectorPersistRemote.PushCommand
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ConnectorPersistRemote.PushCommand>
- Enclosing interface:
- ConnectorPersistRemote
public static enum ConnectorPersistRemote.PushCommand extends java.lang.Enum<ConnectorPersistRemote.PushCommand>
request command for the entity data item- Since:
- 4.0.5
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMITinsert, update or delete referenced object/sDELETEdelete the referenced object/sINSERTinsert (persist, create) the referenced object/sSELECTread the current data for the referenced object/sUPDATEupdate (merge) the referenced object/sUPSERTinsert the referenced object/s or update them (if already existing)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConnectorPersistRemote.PushCommandvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ConnectorPersistRemote.PushCommand[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELETE
public static final ConnectorPersistRemote.PushCommand DELETE
delete the referenced object/s
-
INSERT
public static final ConnectorPersistRemote.PushCommand INSERT
insert (persist, create) the referenced object/s
-
UPDATE
public static final ConnectorPersistRemote.PushCommand UPDATE
update (merge) the referenced object/s
-
UPSERT
public static final ConnectorPersistRemote.PushCommand UPSERT
insert the referenced object/s or update them (if already existing)- Since:
- 4.1.0
-
SELECT
public static final ConnectorPersistRemote.PushCommand SELECT
read the current data for the referenced object/s- Since:
- 4.1.0
-
COMMIT
public static final ConnectorPersistRemote.PushCommand COMMIT
insert, update or delete referenced object/s- Since:
- 4.1.6
-
-
Method Detail
-
values
public static ConnectorPersistRemote.PushCommand[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConnectorPersistRemote.PushCommand c : ConnectorPersistRemote.PushCommand.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectorPersistRemote.PushCommand valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-