Interface EditAvailabilityProvider<T>
-
public interface EditAvailabilityProvider<T>The interface defines methods to evaluate if an instance attribute is editable or not.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisAllowedToEdit(DataAttribute attribute, T instance)Returns true if property of the specified attribute at the given instance is allowed to be edited.
-
-
-
Method Detail
-
isAllowedToEdit
boolean isAllowedToEdit(DataAttribute attribute, T instance)
Returns true if property of the specified attribute at the given instance is allowed to be edited.- Parameters:
attribute- attribute of objectinstance- object which property is change- Returns:
- true if instance attribute is editable, false otherwise
-
-