| java.lang.Object org.outerj.daisy.frontend.editor.DocumentEditorForm
DocumentEditorForm | public class DocumentEditorForm (Code) | | Object representing the document editor form. It consists of multiple CForms.
This object should be created by the
DocumentEditorFormBuilder .
|
Inner Class :static enum FormValidState | |
Inner Class :public static class PartFormInfo | |
DocumentEditorForm | protected DocumentEditorForm(DocumentType documentType, String documentId, long documentBranchId, String documentBranch, long documentLanguageId, String documentLanguage, Repository repository, Context context)(Code) | | |
addPartForm | protected void addPartForm(String partTypeName, Form form, String formTemplate, String partLabel, String partDescription, boolean isRequired)(Code) | | |
arePartFormsValid | public boolean arePartFormsValid() throws Exception(Code) | | Returns true if all part forms are valid. Useful to be called from the template.
|
documentNameValid | public boolean documentNameValid()(Code) | | |
getActiveForm | public Form getActiveForm()(Code) | | |
getActiveFormTemplate | public String getActiveFormTemplate()(Code) | | |
getAdditionalPartsAndFieldsForm | public Form getAdditionalPartsAndFieldsForm()(Code) | | |
getCurrentPartFormInfo | public PartFormInfo getCurrentPartFormInfo()(Code) | | |
getDocumentBranchId | public long getDocumentBranchId()(Code) | | |
getDocumentLanguage | public String getDocumentLanguage()(Code) | | |
getDocumentLanguageId | public long getDocumentLanguageId()(Code) | | |
getDocumentNameValidationError | public XMLizable getDocumentNameValidationError()(Code) | | |
getFieldsForm | public Form getFieldsForm()(Code) | | |
getLinksForm | public Form getLinksForm()(Code) | | |
getMajorChange | public boolean getMajorChange()(Code) | | |
getMiscForm | public Form getMiscForm()(Code) | | |
getPartFormInfos | public List getPartFormInfos()(Code) | | |
getPartForms | public Form[] getPartForms()(Code) | | |
getPublishImmediately | public boolean getPublishImmediately()(Code) | | |
getSyncedWithLanguageId | public long getSyncedWithLanguageId()(Code) | | |
getSyncedWithVersionId | public long getSyncedWithVersionId()(Code) | | |
getValidateOnSave | public boolean getValidateOnSave()(Code) | | |
hasAdditionalPartsOrFieldsForm | public boolean hasAdditionalPartsOrFieldsForm()(Code) | | |
hasFieldsForm | public boolean hasFieldsForm()(Code) | | |
hasPartForms | public boolean hasPartForms()(Code) | | |
setAdditionalPartsAndFieldsForm | protected void setAdditionalPartsAndFieldsForm(Form form)(Code) | | |
setChangeComment | public void setChangeComment(String changeComment)(Code) | | |
setDocumentName | public void setDocumentName(String name)(Code) | | |
setFieldsForm | protected void setFieldsForm(Form form)(Code) | | |
setLinksForm | protected void setLinksForm(Form form)(Code) | | |
setMajorChange | public void setMajorChange(boolean isMajorChange)(Code) | | |
setMiscForm | protected void setMiscForm(Form form)(Code) | | |
setPublishImmediately | public void setPublishImmediately(boolean publishImmediately)(Code) | | |
setSyncedWithLanguageId | public void setSyncedWithLanguageId(long syncedWithLanguageId)(Code) | | |
setSyncedWithVersionId | public void setSyncedWithVersionId(long syncedWithVersionId)(Code) | | |
setValidateOnSave | public void setValidateOnSave(boolean validateOnSave)(Code) | | |
|
|