Pairs a group's membership of a website with its resources directory, one row in the group resources listing. Wraps a GroupInWebsite association together with the DirectoryResource for the group's folder under "resources/[group-name]" in the website's live branch. The directory is null until an administrator creates it from the manage group resources page.
Properties
| Property | Returns | Description |
|---|---|---|
| directory | DirectoryResource | The group's resources directory under the website's live branch, if it has been created. |
| group | Group | The user group this row applies to. |
| id | String | Composite identifier for this row, formed from the website's name and the group's name joined by an underscore. Used to match the "createItemId" form parameter when creating the group's resources directory. |
| website | Website | The website this row's group is associated with. |
Methods
getId()
Returns: String
Composite identifier for this row, formed from the website's name and the group's name joined by an underscore. Used to match the "createItemId" form parameter when creating the group's resources directory.
getGroup()
Returns: Group
The user group this row applies to.
getWebsite()
Returns: Website
The website this row's group is associated with.
getDirectory()
Returns: DirectoryResource
The group's resources directory under the website's live branch, if it has been created.