Class DraftInfo
java.lang.Object
io.jmix.uirecoveryflowui.view.draft.DraftInfo
A single draft as the drafts list view shows it: the texts of one card and the address it links to.
Built from a
ViewDraft by DraftInfoSupport.-
Field Details
-
viewId
-
viewTitle
-
savedDate
-
entityId
-
recordName
-
url
-
-
Constructor Details
-
DraftInfo
-
-
Method Details
-
getViewId
- Returns:
- identifier of the view the draft belongs to
-
getEntityId
- Returns:
- identifier of the drafted instance, or
nullif the draft is not tied to one
-
getViewTitle
- Returns:
- localized title of the view, or its identifier if the view is not registered any more
-
getRecordName
- Returns:
- instance name of the drafted record, or
nullif the draft is not tied to an instance that can be named
-
getSavedDate
- Returns:
- the moment the draft was saved, formatted for the current user
-
getUrl
- Returns:
- address of the view the draft belongs to, or
nullif it cannot be built because the view is not registered any more
-