Class ToDoForm

    • Constructor Detail

      • ToDoForm

        public ToDoForm()
      • ToDoForm

        public ToDoForm​(ToDoForm md)
      • ToDoForm

        public ToDoForm​(java.lang.String metaName)
    • Method Detail

      • getMetaContent

        public java.lang.String getMetaContent()
      • setMetaContent

        public void setMetaContent​(java.lang.String metaContent)
      • getMetaName

        public java.lang.String getMetaName()
      • setMetaName

        public void setMetaName​(java.lang.String metaName)
      • getContent

        public java.util.Map<java.lang.String,​ToDoFormField> getContent()
      • setContent

        public void setContent​(java.util.Map<java.lang.String,​ToDoFormField> content)
      • getValueByFieldName

        public java.lang.Object getValueByFieldName​(java.lang.String fieldName)
      • getMetaAttributeByName

        public ToDoFormField getMetaAttributeByName​(java.lang.String name)
      • updateMetaContent

        public void updateMetaContent()
      • updateContent

        public void updateContent()
      • getOnEnableScript

        public java.lang.String getOnEnableScript()
      • setOnEnableScript

        public void setOnEnableScript​(java.lang.String onEnableScript)
      • getOnCreateScript

        public java.lang.String getOnCreateScript()
      • setOnCreateScript

        public void setOnCreateScript​(java.lang.String onCreateScript)
      • getOnFinishScript

        public java.lang.String getOnFinishScript()
      • setOnFinishScript

        public void setOnFinishScript​(java.lang.String onFinishScript)
      • getOnSendScript

        public java.lang.String getOnSendScript()
      • setOnSendScript

        public void setOnSendScript​(java.lang.String onSendScript)
      • getOnStartScript

        public java.lang.String getOnStartScript()
      • setOnStartScript

        public void setOnStartScript​(java.lang.String onStartScript)
      • getOnAcceptScript

        public java.lang.String getOnAcceptScript()
      • setOnAcceptScript

        public void setOnAcceptScript​(java.lang.String onAcceptScript)
      • getIdString

        public java.lang.String getIdString()
      • removeAttribute

        public void removeAttribute​(ToDoFormField a)
      • renameAttribute

        public void renameAttribute​(ToDoFormField att,
                                    java.lang.String newName)
      • getMaxX

        public int getMaxX()
      • getMaxY

        public int getMaxY()
      • clear

        public void clear()
      • getAsText

        public java.lang.String getAsText()
      • getDataAsXml

        public java.lang.String getDataAsXml()
      • getDataTabSeparated

        public java.lang.String getDataTabSeparated()
      • getDataAsHtml

        public java.lang.String getDataAsHtml()
      • getFormAsHtml

        public java.lang.String getFormAsHtml​(boolean asPage,
                                              boolean printFormName)
      • getFormAsPdf

        public byte[] getFormAsPdf()
      • clearValues

        public void clearValues()
      • setElement

        public void setElement​(Element md)
                        throws java.text.ParseException
        Throws:
        java.text.ParseException
      • getElement

        public Element getElement()
      • getLayoutType

        public int getLayoutType()
      • setLayoutType

        public void setLayoutType​(int layoutType)
      • getBackground

        public ToDoColor getBackground()
      • setBackground

        public void setBackground​(ToDoColor background)
      • dumpWidgets

        public void dumpWidgets()
      • reset

        public void reset()
      • dumpAssociation

        public void dumpAssociation()
      • setActiveGroups

        public void setActiveGroups​(java.util.Collection<ToDoWorkGroup> wgs,
                                    boolean activateAll)
      • getActiveGroups

        public java.util.Set<java.lang.String> getActiveGroups()
      • activeForAllGroups

        public boolean activeForAllGroups()
      • activeForGroup

        public boolean activeForGroup​(ToDoWorkGroup wg)
      • getGroupFilter

        public java.lang.String getGroupFilter()
      • setGroupFilter

        public void setGroupFilter​(java.lang.String groupFilter)
      • activeForGroup

        public boolean activeForGroup​(java.lang.String wgId)
      • cleanGroupFilter

        public static java.lang.String cleanGroupFilter​(java.lang.String gf)
      • addAttributes

        public void addAttributes​(java.util.Collection<ToDoFormField> cma)
      • getId

        public java.lang.Long getId()
        Description copied from class: ToDoVersionedIdentifiable
        Method returning a canonical id of the object. Transient objects return -1;
        Specified by:
        getId in class ToDoVersionedIdentifiable
        Returns:
        id the id of the object. Id is canonical for all instances of a class.
      • setId

        public void setId​(java.lang.Long id)
        Description copied from class: ToDoVersionedIdentifiable
        Method setting the canonical id of the object. Should under normal circumstances not be manually invoked.
        Specified by:
        setId in class ToDoVersionedIdentifiable
        Parameters:
        id - id of the object
      • setVersion

        public void setVersion​(java.lang.Integer version)
        Description copied from class: ToDoVersionedIdentifiable
        Method setting the version of the instance, Should under normal circumstances not be manually invoked.
        Specified by:
        setVersion in class ToDoVersionedIdentifiable
        Parameters:
        version - of the object
      • isActive

        public java.lang.Boolean isActive()
        Description copied from class: ToDoVersionedIdentifiable
        Method that returns whether the instance is active or not (means: logically deleted)
        Specified by:
        isActive in class ToDoVersionedIdentifiable
        Returns:
        boolean whether the object is active
      • setActive

        public void setActive​(java.lang.Boolean active)
        Description copied from class: ToDoVersionedIdentifiable
        Method setting the active flag. Invoking this method with false logically deletes the instance in the database.
        Specified by:
        setActive in class ToDoVersionedIdentifiable
        Parameters:
        active - is the object active or not