core / pragma.content / ContentData /
ContentData #
interface ContentData<ContentProto : GeneratedMessageV3>
Provides read access to a specific type of versioned content data.
Template class with the corresponding content proto.
Used by:
- ContentHandler
- ContentDataProxy
Parameters #
| ContentProto | A type parameter - use the content proto class. | 
Functions #
| Name | Summary | 
|---|---|
| 
 Throws a PragmaException if missing a content entry for this id | |
| 
 Implement idFromProto to define the proto field that represents the ID. | |
| 
 Called for live data migration. | |
| 
 Implement tagsFromProto if the proto has a field for a list of tags. | |
| 
 Implement validateExtWithAllContent to validate any cross-content nested IDs under nested ext protos. | |
| 
 Part of validation steps - checks that all IDs passed in are contained in this ContentData map. | |
| 
 Implement validateWithAllContent to validate any cross-content nested IDs. | 
Inheritors #
| Name | 
|---|