Class PagePrivileges
java.lang.Object
com.gentics.contentnode.rest.model.PagePrivileges
Model for page privileges
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTrue when createpage is grantedTrue when deletepage is grantedTrue when publishpage is grantedTrue when translatepage is grantedTrue when updatepage is grantedTrue if viewpage is grantedsetCreatepage
(Boolean createpage) Set createpage flagsetDeletepage
(Boolean deletepage) Set deletepage flagsetPublishpage
(Boolean publishpage) Set publishpage flagsetTranslatepage
(Boolean translatepage) Set translatepage flagsetUpdatepage
(Boolean updatepage) Set updatepage flagsetViewpage
(Boolean viewpage) Set viewpage flag
-
Field Details
-
viewpage
-
createpage
-
updatepage
-
deletepage
-
publishpage
-
translatepage
-
-
Constructor Details
-
PagePrivileges
public PagePrivileges()
-
-
Method Details
-
getViewpage
True if viewpage is granted- Returns:
- viewpage flag
-
setViewpage
Set viewpage flag- Parameters:
viewpage
- flag- Returns:
- fluent API
-
getCreatepage
True when createpage is granted- Returns:
- createpage flag
-
setCreatepage
Set createpage flag- Parameters:
createpage
- flag- Returns:
- fluent API
-
getUpdatepage
True when updatepage is granted- Returns:
- updatepage flag
-
setUpdatepage
Set updatepage flag- Parameters:
updatepage
- flag- Returns:
- fluent API
-
getDeletepage
True when deletepage is granted- Returns:
- deletepage flag
-
setDeletepage
Set deletepage flag- Parameters:
deletepage
- flag- Returns:
- fluent API
-
getPublishpage
True when publishpage is granted- Returns:
- publishpage flag
-
setPublishpage
Set publishpage flag- Parameters:
publishpage
- flag- Returns:
- fluent API
-
getTranslatepage
True when translatepage is granted- Returns:
- translatepage flag
-
setTranslatepage
Set translatepage flag- Parameters:
translatepage
- flag- Returns:
- fluent API
-
get
-
set
-