Creates a link between a program and a website, which makes that program available on that website. Groups are given access to programs, so a user can only access program content on a website if they are in a group which has been given access to that program
Group: Database Entities
Implements: Serializable
Properties
| Property | Returns | Description |
|---|---|---|
| id | long | Generated primary key of the link record. Zero until the record has been saved. |
| userGroup | Group | The group whose programme is being made available on the website. Never null, and loaded lazily. A group can be linked to a given website only once, and a link to a deleted group is skipped when the links for a website are looked up. |
| website | Website | The website the group's programme content is exposed on. Never null, and loaded lazily. Without a link for a website, members of the group cannot reach that programme's content there. |
Methods
getId()
Returns: long
Generated primary key of the link record. Zero until the record has been saved.
getUserGroup()
Returns: Group
The group whose programme is being made available on the website. Never null, and loaded lazily. A group can be linked to a given website only once, and a link to a deleted group is skipped when the links for a website are looked up.
getWebsite()
Returns: Website
The website the group's programme content is exposed on. Never null, and loaded lazily. Without a link for a website, members of the group cannot reach that programme's content there.