Class DefaultModelActions
java.lang.Object
com.onenetwork.platform.data.model.DefaultModelActions
public class DefaultModelActions
extends java.lang.Object
The following actions are generated by default for all models.
By default they are accessible to Value Chain Admins; additional permission,
workflows, etc. can all be associated to these actions through studio.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PLT_CREATE
Creates the model, throwing an exception if a model with the same natural key already exists.static java.lang.String
PLT_DELETE
Deletes the modelstatic java.lang.String
PLT_INSERT_OR_UPDATE
If the model does not exists, insert it ...static java.lang.String
PLT_UPDATE
Updates the model, throwing an exception if it does not already exist -
Constructor Summary
Constructors Constructor Description DefaultModelActions()
-
Method Summary
-
Field Details
-
PLT_CREATE
public static final java.lang.String PLT_CREATECreates the model, throwing an exception if a model with the same natural key already exists.- See Also:
- Constant Field Values
-
PLT_INSERT_OR_UPDATE
public static final java.lang.String PLT_INSERT_OR_UPDATEIf the model does not exists, insert it ... otherwise update it- See Also:
- Constant Field Values
-
PLT_UPDATE
public static final java.lang.String PLT_UPDATEUpdates the model, throwing an exception if it does not already exist- See Also:
- Constant Field Values
-
PLT_DELETE
public static final java.lang.String PLT_DELETEDeletes the model- See Also:
- Constant Field Values
-
-
Constructor Details
-
DefaultModelActions
public DefaultModelActions()
-