Class AbstractFormCommomBase
Object
AbstractBaseForm
AbstractFormCommomBase
- All Implemented Interfaces:
BaseForm,HasAttachments,HasSubForms,MutableBaseForm,MutableHasAttachments,MutableHasSubForms,Serializable
- Direct Known Subclasses:
AbstractMobileFormCommomBase,FormImpl
public abstract class AbstractFormCommomBase
extends AbstractBaseForm
implements MutableHasSubForms, MutableHasAttachments
- See Also:
-
Field Summary
FieldsFields inherited from class AbstractBaseForm
afterFormRenderScript, allFields, allowsBulkFinish, backgroundColor, bulkAction, componentFactory, composer, containers, customCss, debugFormat, debugMode, debugOutput, description, fields, formKey, height, initScript, labels, modelMemberfields, name, persistScript, preInitScript, validationRules, widgets, width, windowHeight, windowWidth -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttachment(Attachment attachment) booleanDetermina se o sistema permite anexar arquivos nao especificados na lista na formalRelacao de anexos definidos para este formgetSubFormByKey(String key) Retorna o subformulario atraves de seu form key, ou nulo caso nenhum exitaRetorna as definicoes de subformularios dentro deste formulario principal, ou um lista vaziavoidregisterSubForm(SubForm subForm) voidsetAllowUndefinedAttachments(boolean allow) voidsetAttachments(Collection<Attachment> attachments) Methods inherited from class AbstractBaseForm
addFormComponentContainer, addFormComponentContainers, addValidator, allowsBulkFinish, backgroundColor, clone, composer, customCss, debugFormat, debugMode, debugOutput, formKey, getAfterFormRenderScript, getAllFields, getBulkAction, getDescription, getFieldDescriptorById, getFieldIds, getHeight, getInitScript, getLabelDescriptorById, getLabelIds, getModelMemberFieldIds, getName, getPersistScript, getPreInitScript, getRootContainers, getValidationRules, getValidators, getWidgetIds, getWidth, getWindowHeight, getWindowWidth, isModelMember, mapDescriptors, mapDescriptors, mapFields, mapWidgets, setAfterFormRenderScript, setAllowsBulkFinish, setBackgroundColor, setBulkAction, setComposer, setCustomCss, setDebugFormat, setDebugMode, setDebugOutput, setDescription, setFormKey, setHeight, setInitScript, setName, setPersistScript, setPreInitScript, setWidth, setWindowHeight, setWindowWidth, toStringMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface BaseForm
allowsBulkFinish, backgroundColor, composer, customCss, debugFormat, debugMode, debugOutput, formKey, getAfterFormRenderScript, getBulkAction, getDescription, getFieldDescriptorById, getFieldIds, getHeight, getInitScript, getLabelDescriptorById, getLabelIds, getModelMemberFieldIds, getName, getPersistScript, getPreInitScript, getRootContainers, getValidationRules, getValidators, getWidgetIds, getWidth, getWindowHeight, getWindowWidth, isModelMemberMethods inherited from interface HasSubForms
getImplementation
-
Field Details
-
attachments
-
allowUndefinedAttachments
protected boolean allowUndefinedAttachments -
subForms
-
-
Constructor Details
-
AbstractFormCommomBase
public AbstractFormCommomBase() -
AbstractFormCommomBase
-
-
Method Details
-
attachments
Description copied from interface:HasAttachmentsRelacao de anexos definidos para este form- Specified by:
attachmentsin interfaceHasAttachments- Returns:
-
allowUndefinedAttachments
public boolean allowUndefinedAttachments()Description copied from interface:HasAttachmentsDetermina se o sistema permite anexar arquivos nao especificados na lista na formal- Specified by:
allowUndefinedAttachmentsin interfaceHasAttachments- Returns:
-
setAllowUndefinedAttachments
public void setAllowUndefinedAttachments(boolean allow) - Specified by:
setAllowUndefinedAttachmentsin interfaceMutableHasAttachments
-
getSubForms
Description copied from interface:HasSubFormsRetorna as definicoes de subformularios dentro deste formulario principal, ou um lista vazia- Specified by:
getSubFormsin interfaceHasSubForms- Returns:
-
getSubFormByKey
Description copied from interface:HasSubFormsRetorna o subformulario atraves de seu form key, ou nulo caso nenhum exita- Specified by:
getSubFormByKeyin interfaceHasSubForms- Parameters:
key-- Returns:
-
registerSubForm
- Specified by:
registerSubFormin interfaceMutableHasSubForms
-
addAttachment
- Specified by:
addAttachmentin interfaceMutableHasAttachments
-
setAttachments
- Specified by:
setAttachmentsin interfaceMutableHasAttachments
-