public class SimpleListGridReadOnlyEntityFormModifier extends Object implements org.broadleafcommerce.openadmin.server.security.service.EntityFormModifier
EntityFormModifier with the targeted intent of matching a listgrid field and modifying
it to not be readonly. This implementation will also review the listgrid records and mark any records as locked
that the RowLevelSecurityService reports as unable to update.| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Pattern> |
compiledPatterns |
protected org.broadleafcommerce.common.util.DeployBehaviorUtil |
deployBehaviorUtil |
static String |
SIMPLE_LIST_GRID_READ_ONLY_MODIFIER_TYPE |
| Constructor and Description |
|---|
SimpleListGridReadOnlyEntityFormModifier() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isQualified(String modifierType) |
void |
modifyEntityForm(org.broadleafcommerce.openadmin.server.security.service.EntityFormModifierRequest request) |
void |
modifyListGrid(org.broadleafcommerce.openadmin.server.security.service.EntityFormModifierRequest request) |
public static final String SIMPLE_LIST_GRID_READ_ONLY_MODIFIER_TYPE
protected org.broadleafcommerce.common.util.DeployBehaviorUtil deployBehaviorUtil
public SimpleListGridReadOnlyEntityFormModifier()
public void modifyEntityForm(org.broadleafcommerce.openadmin.server.security.service.EntityFormModifierRequest request)
modifyEntityForm in interface org.broadleafcommerce.openadmin.server.security.service.EntityFormModifierpublic void modifyListGrid(org.broadleafcommerce.openadmin.server.security.service.EntityFormModifierRequest request)
modifyListGrid in interface org.broadleafcommerce.openadmin.server.security.service.EntityFormModifierpublic boolean isQualified(String modifierType)
isQualified in interface org.broadleafcommerce.openadmin.server.security.service.EntityFormModifierCopyright © 2020. All rights reserved.