Class AlertLink
java.lang.Object
com.kingsrook.qqq.backend.core.alerts.AlertLink
- All Implemented Interfaces:
Serializable
A link from an alert to where a person fixes it: a record, a table with a
filter, an app or widget path, or an absolute URL. Exactly one target is
expected, so construct these with the static factories.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for filtergetLabel()Getter for labelgetPath()Getter for pathGetter for recordIdGetter for tableNamegetUrl()Getter for urlstatic AlertLinkLink to an app or widget path within the application (e.g.static AlertLinktoRecord(String tableName, Serializable recordId, String label) Link to one record.static AlertLinktoTable(String tableName, QQueryFilter filter, String label) Link to a table, optionally filtered.static AlertLinkLink to an absolute URL.
-
Constructor Details
-
AlertLink
public AlertLink()
-
-
Method Details
-
toRecord
Link to one record. -
toTable
Link to a table, optionally filtered. -
toPath
-
toUrl
-
getLabel
Getter for label -
getTableName
Getter for tableName -
getRecordId
Getter for recordId -
getFilter
Getter for filter -
getPath
Getter for path -
getUrl
Getter for url
-