public interface PageRightsFilter
Modifier and Type | Interface and Description |
---|---|
static class |
PageRightsFilter.Right |
Modifier and Type | Method and Description |
---|---|
void |
init(WGDatabase db) |
PageRightsFilter.Right |
mayEditChildPages(WGStructEntry page,
WGUserAccess userAccess)
Called to determine if the current user may edit data on child pages of the given page
|
PageRightsFilter.Right |
mayEditContent(WGStructEntry page,
WGUserAccess userAccess,
WGLanguage wgLanguage)
Called to determine if the current user may edit content of a given language on this page
|
PageRightsFilter.Right |
mayEditPage(WGStructEntry page,
WGUserAccess userAccess)
Called to determine if the current user may edit data on the given page
|
PageRightsFilter.Right |
mayReadContent(WGStructEntry page,
WGUserAccess userAccess)
Called to determine if the current user may read contents on the given page
|
void init(WGDatabase db)
PageRightsFilter.Right mayReadContent(WGStructEntry page, WGUserAccess userAccess)
page
- The pageuserAccess
- User informationPageRightsFilter.Right mayEditPage(WGStructEntry page, WGUserAccess userAccess)
page
- The pageuserAccess
- User informationPageRightsFilter.Right mayEditChildPages(WGStructEntry page, WGUserAccess userAccess)
page
- The pageuserAccess
- User informationPageRightsFilter.Right mayEditContent(WGStructEntry page, WGUserAccess userAccess, WGLanguage wgLanguage)
page
- The pageuserAccess
- User information