Class FilePrivileges
java.lang.Object
com.gentics.contentnode.rest.model.FilePrivileges
Model for file privileges
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTrue when createfile is grantedTrue when deletefile is grantedTrue when updatefile is grantedTrue when viewfile is grantedsetCreatefile
(Boolean createfile) Set createfile flagsetDeletefile
(Boolean deletefile) Set deletefile flagsetUpdatefile
(Boolean updatefile) Set updatefile flagsetViewfile
(Boolean viewfile) Set viewfile flag
-
Field Details
-
viewfile
-
createfile
-
updatefile
-
deletefile
-
-
Constructor Details
-
FilePrivileges
public FilePrivileges()
-
-
Method Details
-
getViewfile
True when viewfile is granted- Returns:
- viewfile flag
-
setViewfile
Set viewfile flag- Parameters:
viewfile
- flag- Returns:
- fluent API
-
getCreatefile
True when createfile is granted- Returns:
- createfile flag
-
setCreatefile
Set createfile flag- Parameters:
createfile
- flag- Returns:
- fluent API
-
getUpdatefile
True when updatefile is granted- Returns:
- updatefile flag
-
setUpdatefile
Set updatefile flag- Parameters:
updatefile
- flag- Returns:
- fluent API
-
getDeletefile
True when deletefile is granted- Returns:
- deletefile flag
-
setDeletefile
Set deletefile flag- Parameters:
deletefile
- flag- Returns:
- fluent API
-
get
-
set
-