Class WritePolicyEntryAdaptor

  • All Implemented Interfaces:
    EntryAdaptor

    public class WritePolicyEntryAdaptor
    extends Object
    implements EntryAdaptor
    Simple entry adaptor implementation that leaves the entry as editable if the specified field value matches the provided regexp or set the readonly flag of the entry to true if the value of the field does not match the regexp.

    In any case, if the readonly flag of the adapted entry is already set to true, this value is kept unchanged.