Package | Description |
---|---|
sirius.biz.web |
Modifier and Type | Method and Description |
---|---|
BizController.SaveHelper |
BizController.SaveHelper.disableAutoload()
Disables the automatically loading process of all entity properties annotated with
Autoloaded . |
BizController.SaveHelper |
BizController.SaveHelper.disableSafePOST()
Disables the CSRF-token checks when
saveEntity(BaseEntity) is called. |
protected BizController.SaveHelper |
BizController.prepareSave(sirius.web.http.WebContext ctx)
Creates a
BizController.SaveHelper with provides a fluent API to save an entity into the database. |
BizController.SaveHelper |
BizController.SaveHelper.withAfterCreateURI(String createdURI)
Used to supply a URL to which the user is redirected if a new entity was created.
|
BizController.SaveHelper |
BizController.SaveHelper.withAfterSaveURI(String afterSaveURI)
Used to supply a URL to which the user is redirected if an entity was successfully saved.
|
BizController.SaveHelper |
BizController.SaveHelper.withMappings(sirius.db.mixing.Mapping... columns)
Specifies what mappings should be loaded from the request context
if not set all marked as
Autoloaded properties of the entity are loaded |
BizController.SaveHelper |
BizController.SaveHelper.withPostSaveHandler(Consumer<Boolean> postSaveHandler)
Installs a post save handler which is invoked just after the entity was persisted into the database.
|
BizController.SaveHelper |
BizController.SaveHelper.withPreSaveHandler(Consumer<Boolean> preSaveHandler)
Installs a pre save handler which is invoked just before the entity is persisted into the database.
|
Copyright © 2018. All rights reserved.