Represents a certificate, which can be associated with a module A certificate is basically a piece of templated text and a background image. The image is stored in the blob repository and a hash is held on this record to locate it
Group: Database Entities
Implements: Serializable
Properties
| Property | Returns | Description |
|---|---|---|
| backgroundImageHash | String | The blob store hash of the background image the certificate text is drawn over. The image itself lives in the blob repository, so this hash is how it is fetched. Null if the certificate has no background. |
| id | long | The database-assigned unique identifier for this certificate. |
| name | String | The portable, path-safe identifier for the certificate, derived from the title when it is created and then fixed from a user's point of view. Unique within the organisation, and it is what URLs and lookups use. |
| text | String | The body of the certificate as templated text, rendered over the background image when the certificate is issued. Holds up to 200000 characters, so it can carry a full HTML template. |
| title | String | The human readable title of the certificate, entered by an administrator. Free text with no uniqueness guarantee, so use the name when you need an identifier. |
Methods
getId()
Returns: long
The database-assigned unique identifier for this certificate.
getTitle()
Returns: String
The human readable title of the certificate, entered by an administrator. Free text with no uniqueness guarantee, so use the name when you need an identifier.
getName()
Returns: String
The portable, path-safe identifier for the certificate, derived from the title when it is created and then fixed from a user's point of view. Unique within the organisation, and it is what URLs and lookups use.
getText()
Returns: String
The body of the certificate as templated text, rendered over the background image when the certificate is issued. Holds up to 200000 characters, so it can carry a full HTML template.
getBackgroundImageHash()
Returns: String
The blob store hash of the background image the certificate text is drawn over. The image itself lives in the blob repository, so this hash is how it is fetched. Null if the certificate has no background.