com.citytechinc.cq.component.editconfig.EditConfigParameters Maven / Gradle / Ivy
package com.citytechinc.cq.component.editconfig;
import com.citytechinc.cq.component.xml.DefaultXmlElementParameters;
import java.util.List;
public class EditConfigParameters extends DefaultXmlElementParameters {
private static final String EDIT_CONFIG_PRIMARY_TYPE = "cq:EditConfig";
private List actions;
private String dialogMode;
private String layout;
private String emptyText;
private Boolean inherit;
private Boolean disableTargeting;
public List getActions() {
return actions;
}
public void setActions(List actions) {
this.actions = actions;
}
public String getDialogMode() {
return dialogMode;
}
public void setDialogMode(String dialogMode) {
this.dialogMode = dialogMode;
}
public String getLayout() {
return layout;
}
public void setLayout(String layout) {
this.layout = layout;
}
public String getEmptyText() {
return emptyText;
}
public void setEmptyText(String emptyText) {
this.emptyText = emptyText;
}
public Boolean getInherit() {
return inherit;
}
public void setInherit(Boolean inherit) {
this.inherit = inherit;
}
public Boolean getDisableTargeting() {
return disableTargeting;
}
public void setDisableTargeting(Boolean disableTargeting) {
this.disableTargeting = disableTargeting;
}
@Override
public String getFieldName() {
return "jcr:root";
}
@Override
public void setFieldName(String fieldName) {
throw new UnsupportedOperationException("fieldName is Static for EditConfig");
}
@Override
public String getPrimaryType() {
return EDIT_CONFIG_PRIMARY_TYPE;
}
@Override
public void setPrimaryType(String primaryType) {
throw new UnsupportedOperationException("PrimaryType is Static for EditConfig");
}
}