public ConstraintOperationType getOperationType() { return ConstraintOperationType.fromId(operationType); }
public void setOperationType(ConstraintOperationType operationType) { this.operationType = operationType != null ? operationType.getId() : null; }
public void setOperationType(ConstraintOperationType operationType) { this.operationType = operationType != null ? operationType.getId() : null; }
public ConstraintOperationType getOperationType() { return ConstraintOperationType.fromId(operationType); }
String operationId = operationType.getId(); if (StringUtils.isEmpty(userCaption)) { String customCaptionKey = String.format("rowLevelSecurity.caption.%s.%s",
protected void loadActionConstraint(Action action, Element element) { if (action instanceof Action.HasSecurityConstraint) { Action.HasSecurityConstraint itemTrackingAction = (Action.HasSecurityConstraint) action; Attribute operationTypeAttribute = element.attribute("constraintOperationType"); if (operationTypeAttribute != null) { ConstraintOperationType operationType = ConstraintOperationType.fromId(operationTypeAttribute.getValue()); itemTrackingAction.setConstraintOperationType(operationType); } String constraintCode = element.attributeValue("constraintCode"); itemTrackingAction.setConstraintCode(constraintCode); } }