Remove all empty javadocs, that only contain an empty @return.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709642 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1779,16 +1779,10 @@ public class ModelForm extends ModelWidget {
|
||||
return this.parentFormLocation;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultEntityName() {
|
||||
return this.defaultEntityName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultMapName() {
|
||||
return this.defaultMapName.getOriginalName();
|
||||
}
|
||||
@@ -1797,9 +1791,6 @@ public class ModelForm extends ModelWidget {
|
||||
return this.defaultMapName.get(context);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultRequiredFieldStyle() {
|
||||
return this.defaultRequiredFieldStyle;
|
||||
}
|
||||
@@ -1817,93 +1808,54 @@ public class ModelForm extends ModelWidget {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultServiceName() {
|
||||
return this.defaultServiceName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getFormTitleAreaStyle() {
|
||||
return this.formTitleAreaStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getFormWidgetAreaStyle() {
|
||||
return this.formWidgetAreaStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultTitleAreaStyle() {
|
||||
return this.defaultTitleAreaStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultWidgetAreaStyle() {
|
||||
return this.defaultWidgetAreaStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getOddRowStyle() {
|
||||
return this.oddRowStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getEvenRowStyle() {
|
||||
return this.evenRowStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultTableStyle() {
|
||||
return this.defaultTableStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getHeaderRowStyle() {
|
||||
return this.headerRowStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultTitleStyle() {
|
||||
return this.defaultTitleStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultWidgetStyle() {
|
||||
return this.defaultWidgetStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultTooltipStyle() {
|
||||
return this.defaultTooltipStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getItemIndexSeparator() {
|
||||
if (UtilValidate.isNotEmpty(this.itemIndexSeparator)) {
|
||||
return this.itemIndexSeparator;
|
||||
@@ -1912,16 +1864,10 @@ public class ModelForm extends ModelWidget {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getListEntryName() {
|
||||
return this.listEntryName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getListName() {
|
||||
String lstNm = this.listName;
|
||||
if (UtilValidate.isEmpty(lstNm)) {
|
||||
@@ -1930,9 +1876,6 @@ public class ModelForm extends ModelWidget {
|
||||
return lstNm;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
@@ -1985,9 +1928,6 @@ public class ModelForm extends ModelWidget {
|
||||
return target.expandString(context);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getContainerId() {
|
||||
// use the name if there is no id
|
||||
if (UtilValidate.isNotEmpty(this.containerId)) {
|
||||
@@ -1997,37 +1937,22 @@ public class ModelForm extends ModelWidget {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getContainerStyle() {
|
||||
return this.containerStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getfocusFieldName() {
|
||||
return this.focusFieldName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getTooltip() {
|
||||
return this.tooltip;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getType() {
|
||||
return this.type;
|
||||
}
|
||||
@@ -2389,9 +2314,6 @@ public class ModelForm extends ModelWidget {
|
||||
this.targetWindowExdr = FlexibleStringExpander.getInstance(val);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public boolean getSeparateColumns() {
|
||||
return this.separateColumns;
|
||||
}
|
||||
|
||||
@@ -598,16 +598,10 @@ public class ModelFormField {
|
||||
return onClickUpdateAreas;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public FieldInfo getFieldInfo() {
|
||||
return fieldInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public ModelForm getModelForm() {
|
||||
return modelForm;
|
||||
}
|
||||
@@ -641,9 +635,6 @@ public class ModelFormField {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getEntityName() {
|
||||
if (UtilValidate.isNotEmpty(this.entityName)) {
|
||||
return this.entityName;
|
||||
@@ -652,9 +643,6 @@ public class ModelFormField {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getEntryName() {
|
||||
if (this.entryAcsr != null && !this.entryAcsr.isEmpty()) {
|
||||
return this.entryAcsr.getOriginalName();
|
||||
@@ -811,9 +799,6 @@ public class ModelFormField {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
@@ -840,9 +825,6 @@ public class ModelFormField {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public int getPosition() {
|
||||
if (this.position == null) {
|
||||
return 1;
|
||||
@@ -851,24 +833,15 @@ public class ModelFormField {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getRedWhen() {
|
||||
return redWhen;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getEvent() {
|
||||
return event;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getAction(Map<String, Object> context) {
|
||||
if (this.action != null && this.action.getOriginal() != null) {
|
||||
return action.expandString(context);
|
||||
@@ -992,9 +965,6 @@ public class ModelFormField {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getServiceName() {
|
||||
if (UtilValidate.isNotEmpty(this.serviceName)) {
|
||||
return this.serviceName;
|
||||
@@ -1003,9 +973,6 @@ public class ModelFormField {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getTitle(Map<String, Object> context) {
|
||||
if (this.title != null && this.title.getOriginal() != null) {
|
||||
return title.expandString(context);
|
||||
@@ -1047,9 +1014,6 @@ public class ModelFormField {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getTitleAreaStyle() {
|
||||
if (UtilValidate.isNotEmpty(this.titleAreaStyle)) {
|
||||
return this.titleAreaStyle;
|
||||
@@ -1058,9 +1022,6 @@ public class ModelFormField {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getTitleStyle() {
|
||||
if (UtilValidate.isNotEmpty(this.titleStyle)) {
|
||||
return this.titleStyle;
|
||||
@@ -1069,9 +1030,6 @@ public class ModelFormField {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getRequiredFieldStyle() {
|
||||
if (UtilValidate.isNotEmpty(this.requiredFieldStyle)) {
|
||||
return this.requiredFieldStyle;
|
||||
@@ -1101,9 +1059,6 @@ public class ModelFormField {
|
||||
return this.modelForm.getDefaultSortFieldDescStyle();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getTooltip(Map<String, Object> context) {
|
||||
if (tooltip != null && !tooltip.isEmpty()) {
|
||||
return tooltip.expandString(context);
|
||||
@@ -1112,9 +1067,6 @@ public class ModelFormField {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getUseWhen(Map<String, Object> context) {
|
||||
if (useWhen != null && !useWhen.isEmpty()) {
|
||||
return useWhen.expandString(context);
|
||||
@@ -1123,16 +1075,10 @@ public class ModelFormField {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getIdName() {
|
||||
return idName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getHeaderLink() {
|
||||
return headerLink;
|
||||
}
|
||||
@@ -1197,9 +1143,6 @@ public class ModelFormField {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getWidgetAreaStyle() {
|
||||
if (UtilValidate.isNotEmpty(this.widgetAreaStyle)) {
|
||||
return this.widgetAreaStyle;
|
||||
@@ -1208,9 +1151,6 @@ public class ModelFormField {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getWidgetStyle() {
|
||||
if (UtilValidate.isNotEmpty(this.widgetStyle)) {
|
||||
return this.widgetStyle;
|
||||
@@ -1219,9 +1159,6 @@ public class ModelFormField {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getTooltipStyle() {
|
||||
if (UtilValidate.isNotEmpty(this.tooltipStyle)) {
|
||||
return this.tooltipStyle;
|
||||
@@ -1371,9 +1308,6 @@ public class ModelFormField {
|
||||
this.tooltipStyle = string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public boolean getSeparateColumn() {
|
||||
return this.separateColumn;
|
||||
}
|
||||
@@ -1393,9 +1327,6 @@ public class ModelFormField {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public boolean getRequiredField() {
|
||||
return this.requiredField != null ? this.requiredField : false;
|
||||
}
|
||||
@@ -1407,9 +1338,6 @@ public class ModelFormField {
|
||||
this.requiredField = required;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public boolean isSortField() {
|
||||
return this.sortField != null ? this.sortField.booleanValue() : false;
|
||||
}
|
||||
@@ -1506,23 +1434,14 @@ public class ModelFormField {
|
||||
this.modelFormField = modelFormField;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public ModelFormField getModelFormField() {
|
||||
return modelFormField;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public int getFieldType() {
|
||||
return fieldType;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public int getFieldSource() {
|
||||
return this.fieldSource;
|
||||
}
|
||||
@@ -2118,16 +2037,10 @@ public class ModelFormField {
|
||||
formStringRenderer.renderDisplayField(writer, context, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public boolean getAlsoHidden() {
|
||||
return alsoHidden;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDescription(Map<String, Object> context) {
|
||||
String retVal = null;
|
||||
if (this.description != null && !this.description.isEmpty()) {
|
||||
@@ -2231,9 +2144,6 @@ public class ModelFormField {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDescription(Map<String, Object> context) {
|
||||
Locale locale = UtilMisc.ensureLocale(context.get("locale"));
|
||||
|
||||
@@ -2315,16 +2225,10 @@ public class ModelFormField {
|
||||
formStringRenderer.renderHyperlinkField(writer, context, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public boolean getAlsoHidden() {
|
||||
return this.alsoHidden;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getTargetType() {
|
||||
if (UtilValidate.isNotEmpty(this.targetType)) {
|
||||
return this.targetType;
|
||||
@@ -2338,16 +2242,10 @@ public class ModelFormField {
|
||||
return targetWindow;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDescription(Map<String, Object> context) {
|
||||
return this.description.expandString(context);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getTarget(Map<String, Object> context) {
|
||||
return this.target.expandString(context);
|
||||
}
|
||||
@@ -2398,16 +2296,10 @@ public class ModelFormField {
|
||||
this.targetWindowExdr = FlexibleStringExpander.getInstance(element.getAttribute("target-window"));
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getLinkStyle() {
|
||||
return this.linkStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getTargetType() {
|
||||
if (UtilValidate.isNotEmpty(this.targetType)) {
|
||||
return this.targetType;
|
||||
@@ -2416,9 +2308,6 @@ public class ModelFormField {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDescription(Map<String, Object> context) {
|
||||
if (this.description != null) {
|
||||
return this.description.expandString(context);
|
||||
@@ -2432,9 +2321,6 @@ public class ModelFormField {
|
||||
return targetWindow;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getTarget(Map<String, Object> context) {
|
||||
if (this.target != null) {
|
||||
return this.target.expandString(context);
|
||||
@@ -2443,9 +2329,6 @@ public class ModelFormField {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getUseWhen(Map<String, Object> context) {
|
||||
if (this.useWhen != null) {
|
||||
return this.useWhen.expandString(context);
|
||||
@@ -2663,23 +2546,14 @@ public class ModelFormField {
|
||||
formStringRenderer.renderTextField(writer, context, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public Integer getMaxlength() {
|
||||
return maxlength;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public int getSize() {
|
||||
return size;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public boolean getDisabled() {
|
||||
return this.disabled;
|
||||
}
|
||||
@@ -2696,9 +2570,6 @@ public class ModelFormField {
|
||||
this.clientAutocompleteField = b;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultValue(Map<String, Object> context) {
|
||||
if (this.defaultValue != null) {
|
||||
return this.defaultValue.expandString(context);
|
||||
@@ -2787,23 +2658,14 @@ public class ModelFormField {
|
||||
formStringRenderer.renderTextareaField(writer, context, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public int getCols() {
|
||||
return cols;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public int getRows() {
|
||||
return rows;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultValue(Map<String, Object> context) {
|
||||
if (this.defaultValue != null) {
|
||||
return this.defaultValue.expandString(context);
|
||||
@@ -2812,23 +2674,14 @@ public class ModelFormField {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public boolean getVisualEditorEnable() {
|
||||
return this.visualEditorEnable;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getVisualEditorButtons(Map<String, Object> context) {
|
||||
return this.visualEditorButtons.expandString(context);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public boolean isReadOnly() {
|
||||
return readOnly;
|
||||
}
|
||||
@@ -2906,16 +2759,10 @@ public class ModelFormField {
|
||||
formStringRenderer.renderDateTimeField(writer, context, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultValue(Map<String, Object> context) {
|
||||
if (this.defaultValue != null) {
|
||||
return this.defaultValue.expandString(context);
|
||||
@@ -3203,16 +3050,10 @@ public class ModelFormField {
|
||||
formStringRenderer.renderSubmitField(writer, context, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getButtonType() {
|
||||
return buttonType;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getImageLocation() {
|
||||
return imageLocation;
|
||||
}
|
||||
@@ -3571,29 +3412,17 @@ public class ModelFormField {
|
||||
public void setSubHyperlink(SubHyperlink newSubHyperlink) {
|
||||
this.subHyperlink = newSubHyperlink;
|
||||
}
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public Integer getWidth() {
|
||||
return width;
|
||||
}
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public Integer getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public int getBorder() {
|
||||
return border;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultValue(Map<String, Object> context) {
|
||||
if (this.defaultValue != null) {
|
||||
return this.defaultValue.expandString(context);
|
||||
|
||||
@@ -308,9 +308,6 @@ public class HtmlMenuRenderer extends HtmlWidgetRenderer implements MenuStringRe
|
||||
this.userLoginIdAtPermGrant = string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getUserLoginIdAtPermGrant() {
|
||||
return this.userLoginIdAtPermGrant;
|
||||
}
|
||||
|
||||
@@ -357,80 +357,47 @@ public class ModelMenu extends ModelWidget {
|
||||
return this.delegator;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultEntityName() {
|
||||
return this.defaultEntityName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultAlign() {
|
||||
return this.defaultAlign;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultAlignStyle() {
|
||||
return this.defaultAlignStyle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultTitleStyle() {
|
||||
return this.defaultTitleStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultDisabledTitleStyle() {
|
||||
return this.defaultDisabledTitleStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultSelectedStyle() {
|
||||
return this.defaultSelectedStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultWidgetStyle() {
|
||||
return this.defaultWidgetStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultTooltipStyle() {
|
||||
return this.defaultTooltipStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultMenuItemName() {
|
||||
return this.defaultMenuItemName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getFillStyle() {
|
||||
return this.fillStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getSelectedMenuItemContextFieldName(Map<String, Object> context) {
|
||||
String menuItemName = this.selectedMenuItemContextFieldName.get(context);
|
||||
if (UtilValidate.isEmpty(menuItemName)) {
|
||||
@@ -443,30 +410,18 @@ public class ModelMenu extends ModelWidget {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getTitle(Map<String, Object> context) {
|
||||
return title.expandString(context);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getTooltip() {
|
||||
return this.tooltip;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getType() {
|
||||
return this.type;
|
||||
}
|
||||
@@ -590,15 +545,9 @@ public class ModelMenu extends ModelWidget {
|
||||
this.menuContainerStyleExdr = FlexibleStringExpander.getInstance(string);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultAssociatedContentId(Map<String, Object> context) {
|
||||
return defaultAssociatedContentId.expandString(context);
|
||||
}
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getMenuContainerStyle(Map<String, Object> context) {
|
||||
return menuContainerStyleExdr.expandString(context);
|
||||
}
|
||||
@@ -610,9 +559,6 @@ public class ModelMenu extends ModelWidget {
|
||||
this.defaultPermissionOperation = string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultPermissionStatusId() {
|
||||
return this.defaultPermissionStatusId;
|
||||
}
|
||||
@@ -631,9 +577,6 @@ public class ModelMenu extends ModelWidget {
|
||||
this.defaultPrivilegeEnumId = string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultPrivilegeEnumId() {
|
||||
return this.defaultPrivilegeEnumId;
|
||||
}
|
||||
@@ -645,9 +588,6 @@ public class ModelMenu extends ModelWidget {
|
||||
this.orientation = string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getOrientation() {
|
||||
return this.orientation;
|
||||
}
|
||||
@@ -659,9 +599,6 @@ public class ModelMenu extends ModelWidget {
|
||||
this.menuWidth = string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getMenuWidth() {
|
||||
return this.menuWidth;
|
||||
}
|
||||
@@ -673,16 +610,10 @@ public class ModelMenu extends ModelWidget {
|
||||
this.defaultCellWidth = string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultCellWidth() {
|
||||
return this.defaultCellWidth;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultPermissionOperation() {
|
||||
return this.defaultPermissionOperation;
|
||||
}
|
||||
@@ -694,9 +625,6 @@ public class ModelMenu extends ModelWidget {
|
||||
this.defaultPermissionEntityAction = string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDefaultPermissionEntityAction() {
|
||||
return this.defaultPermissionEntityAction;
|
||||
}
|
||||
@@ -708,9 +636,6 @@ public class ModelMenu extends ModelWidget {
|
||||
this.defaultHideIfSelected = val;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public Boolean getDefaultHideIfSelected() {
|
||||
return this.defaultHideIfSelected;
|
||||
}
|
||||
|
||||
@@ -261,17 +261,11 @@ public class ModelMenuItem {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public ModelMenu getModelMenu() {
|
||||
return modelMenu;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getEntityName() {
|
||||
if (UtilValidate.isNotEmpty(this.entityName)) {
|
||||
return this.entityName;
|
||||
@@ -282,9 +276,6 @@ public class ModelMenuItem {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getAlign() {
|
||||
if (UtilValidate.isNotEmpty(this.align)) {
|
||||
return this.align;
|
||||
@@ -296,16 +287,10 @@ public class ModelMenuItem {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public int getPosition() {
|
||||
if (this.position == null) {
|
||||
return 1;
|
||||
@@ -314,16 +299,10 @@ public class ModelMenuItem {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getTitle(Map<String, Object> context) {
|
||||
return title.expandString(context);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getTitleStyle() {
|
||||
if (UtilValidate.isNotEmpty(this.titleStyle)) {
|
||||
return this.titleStyle;
|
||||
@@ -334,9 +313,6 @@ public class ModelMenuItem {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDisabledTitleStyle() {
|
||||
if (UtilValidate.isNotEmpty(this.disabledTitleStyle)) {
|
||||
return this.disabledTitleStyle;
|
||||
@@ -351,9 +327,6 @@ public class ModelMenuItem {
|
||||
this.disabledTitleStyle = style;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getSelectedStyle() {
|
||||
if (UtilValidate.isNotEmpty(this.selectedStyle)) {
|
||||
return this.selectedStyle;
|
||||
@@ -364,9 +337,6 @@ public class ModelMenuItem {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getTooltip(Map<String, Object> context) {
|
||||
if (tooltip != null && !tooltip.isEmpty()) {
|
||||
return tooltip.expandString(context);
|
||||
@@ -376,9 +346,6 @@ public class ModelMenuItem {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getWidgetStyle() {
|
||||
if (UtilValidate.isNotEmpty(this.widgetStyle)) {
|
||||
return this.widgetStyle;
|
||||
@@ -389,9 +356,6 @@ public class ModelMenuItem {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getAlignStyle() {
|
||||
if (UtilValidate.isNotEmpty(this.alignStyle)) {
|
||||
return this.alignStyle;
|
||||
@@ -402,9 +366,6 @@ public class ModelMenuItem {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getTooltipStyle() {
|
||||
if (UtilValidate.isNotEmpty(this.tooltipStyle)) {
|
||||
return this.tooltipStyle;
|
||||
@@ -481,9 +442,6 @@ public class ModelMenuItem {
|
||||
this.associatedContentId = FlexibleStringExpander.getInstance(string);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getAssociatedContentId(Map<String, Object> context) {
|
||||
String retStr = null;
|
||||
if (this.associatedContentId != null) {
|
||||
@@ -503,9 +461,6 @@ public class ModelMenuItem {
|
||||
this.cellWidth = string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getCellWidth() {
|
||||
if (UtilValidate.isNotEmpty(this.cellWidth )) {
|
||||
return this.cellWidth ;
|
||||
@@ -521,9 +476,6 @@ public class ModelMenuItem {
|
||||
this.hideIfSelected = val;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public Boolean getHideIfSelected() {
|
||||
if (hideIfSelected != null) {
|
||||
return this.hideIfSelected;
|
||||
@@ -532,9 +484,6 @@ public class ModelMenuItem {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDisableIfEmpty() {
|
||||
return this.disableIfEmpty;
|
||||
}
|
||||
@@ -546,9 +495,6 @@ public class ModelMenuItem {
|
||||
this.hasPermission = val;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public Boolean getHasPermission() {
|
||||
return this.hasPermission;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user