/** * Sets the publishing model for the node, which determines who may publish to it. * * @param publish The enum representing the possible options for the publishing model */ public void setPublishModel(PublishModel publish) { addField(ConfigureNodeFields.publish_model, FormField.Type.list_single); setAnswer(ConfigureNodeFields.publish_model.getFieldName(), getListSingle(publish.toString())); }
/** * Sets the publishing model for the node, which determines who may publish to it. * * @param publish The enum representing the possible options for the publishing model */ public void setPublishModel(PublishModel publish) { addField(ConfigureNodeFields.publish_model, FormField.TYPE_LIST_SINGLE); setAnswer(ConfigureNodeFields.publish_model.getFieldName(), getListSingle(publish.toString())); }
/** * Sets the publishing model for the node, which determines who may publish to it. * * @param publish The enum representing the possible options for the publishing model */ public void setPublishModel(PublishModel publish) { addField(ConfigureNodeFields.publish_model, FormField.TYPE_LIST_SINGLE); setAnswer(ConfigureNodeFields.publish_model.getFieldName(), getListSingle(publish.toString())); }
/** * Sets the publishing model for the node, which determines who may publish to it. * * @param publish The enum representing the possible options for the publishing model */ public void setPublishModel(PublishModel publish) { addField(ConfigureNodeFields.publish_model, FormField.TYPE_LIST_SINGLE); setAnswer(ConfigureNodeFields.publish_model.getFieldName(), getListSingle(publish.toString())); }