Class Form

    • Field Detail

      • SKIP_DEFAULT_PRIVACY_PROP_PREFIX

        public static final java.lang.String SKIP_DEFAULT_PRIVACY_PROP_PREFIX
        See Also:
        Constant Field Values
    • Constructor Detail

      • Form

        public Form()
      • Form

        public Form​(Form other)
    • Method Detail

      • getSubmitMember

        public Member getSubmitMember()
        Get the value of submitMember.
        Returns:
        Value of submitMember.
        Since:
        jcms-4.0
      • setSubmitMember

        public void setSubmitMember​(Member v)
        Set the value of submitMember.
        Parameters:
        v - Value to assign to submitMember.
        Since:
        jcms-4.0
      • getSubmitMemberId

        public java.lang.String getSubmitMemberId()
        Returns the submitMember id (only for DBData)
        Returns:
        the submitMember id (only for DBData)
        Since:
        jcms-6.0.0
      • setSubmitMemberId

        public void setSubmitMemberId​(java.lang.String v)
        Sets the submitMember id (only for DBData)
        Parameters:
        v - the submitMember id
        Since:
        jcms-6.0.0
      • getSubmitRemoteAddr

        public java.lang.String getSubmitRemoteAddr()
        Get the value of submitRemoteAddr.
        Returns:
        Value of submitRemoteAddr.
        Since:
        jcms-4.0
      • setSubmitRemoteAddr

        public void setSubmitRemoteAddr​(java.lang.String v)
        Set the value of submitRemoteAddr.
        Parameters:
        v - Value to assign to submitRemoteAddr.
        Since:
        jcms-4.0
      • getSubmitMemberSelector

        public static Form.SubmitMemberSelector getSubmitMemberSelector​(Member member)
        Return a DataSelector which selects all the forms the given member has submitted
        Parameters:
        member - the submitMember
        Returns:
        a DataSelector which selects all the forms the given member has submitted
        Since:
        jcms-4.1
      • getSubmitMemberSelector

        public static Form.SubmitMemberSelector getSubmitMemberSelector​(Member member,
                                                                        int pstatus)
        Return a DataSelector which selects all the forms the given member has submitted which are in a given state
        Parameters:
        member - the submitMember
        pstatus - the pstatus
        Returns:
        a DataSelector which selects all the forms the given member has submitted which are in a given state
        Since:
        jcms-4.1
      • toCSV

        public java.lang.String toCSV​(java.lang.String lang)
        Returns a CSV view of this object
        Overrides:
        toCSV in class Publication
        Parameters:
        lang - the output language
        Returns:
        a CSV view of this object
        Since:
        jcms-5.0.0
      • getCSVHeader

        public static java.lang.String getCSVHeader​(java.lang.String lang)
        Returns the CSV header of this object
        Parameters:
        lang - the output language
        Returns:
        the CSV header of this object
        Since:
        jcms-5.0.0
      • isVotable

        public boolean isVotable()
        Overrides:
        isVotable in class Publication
        Returns:
        true if this Publication is votable
      • getDataIcon

        public java.lang.String getDataIcon()
        Description copied from class: Data
        Returns source information for the icon associated to this Data, either a relative path or sprite classes name.

        If this method behavior has not been overriden by subclass, the default icon can be declared using property types.{Type}.icon, where {Type} is the short class name of the type concerned.

        • Either by specifying a relative image path :
          types.Article.icon: images/jalios/icon/abstract.gif 
        • or else by using a sprite icon :
          types.Article.icon: ss_sprite ss_date
        Overrides:
        getDataIcon in class Publication
        Returns:
        a relative path (eg images/jalios/icon/abstract.gif) or sprite classes name (eg ss_sprite ss_date).
        See Also:
        Data.getDataIconHtml(String)