Package com.qfs.desc
Interface IFieldPermission
-
- All Known Subinterfaces:
IWritableFieldPermission
- All Known Implementing Classes:
WritableFieldPermission
public interface IFieldPermissionComponent storing the roles that have read or write permission over a table column.- Author:
- ActiveViam
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanRead(Set<String> roles)Check if a user can read a field.booleancanWrite(Set<String> roles)Check if a user can update a field.Set<String>getReaderRoles()Returns all the roles allowed to read this field.Set<String>getWriterRoles()Returns all the roles allowed to write this field.
-