Class PortalPage

  • All Implemented Interfaces:
    IEntity, Serializable, org.apache.cayenne.DataObject, org.apache.cayenne.Persistent, org.apache.cayenne.Validating

    @CacheGroups("CONFIG")
    public class PortalPage
    extends _PortalPage
    Provides a named portal page. Portal pages are used by SmartForm Manager to invoke various portal functionality (e.g. rendering forms) for arbitrary portals. Portal pages define their relative URL and the page content.
    See Also:
    Serialized Form
    • Field Detail

      • PAGE_Account_Pending

        public static final String PAGE_Account_Pending
        The "Account Pending" portal page
        See Also:
        Constant Field Values
      • PAGE_Change_Password

        public static final String PAGE_Change_Password
        The "Change Password" portal page
        See Also:
        Constant Field Values
      • PAGE_Forgotten_Password

        public static final String PAGE_Forgotten_Password
        The "Forgotten Password" portal page
        See Also:
        Constant Field Values
      • PAGE_Form_Terms_And_Conditions

        public static final String PAGE_Form_Terms_And_Conditions
        The "Form Not Found" portal page
        See Also:
        Constant Field Values
      • PAGE_Receipt_Challenge

        public static final String PAGE_Receipt_Challenge
        The "Receipt Challenge" portal page
        See Also:
        Constant Field Values
      • PAGE_Session_Expired

        public static final String PAGE_Session_Expired
        The "Session Expired" portal page
        See Also:
        Constant Field Values
      • PAGE_Session_Reestablished

        public static final String PAGE_Session_Reestablished
        The "Session Reestablished" portal page
        See Also:
        Constant Field Values
      • PAGE_Submission_Attachment

        public static final String PAGE_Submission_Attachment
        The "Submission Attachment" portal page
        See Also:
        Constant Field Values
      • PAGE_Submission_Attachment_Secure

        public static final String PAGE_Submission_Attachment_Secure
        The "Submission Attachment Secure" portal page
        See Also:
        Constant Field Values
      • PAGE_Submission_Cancelled

        public static final String PAGE_Submission_Cancelled
        The "Submission Cancelled" portal page
        See Also:
        Constant Field Values
      • PAGE_Submission_Confirmation

        public static final String PAGE_Submission_Confirmation
        The "Submission Confirmation" portal page
        See Also:
        Constant Field Values
      • PAGE_Submission_Confirmation_Secure

        public static final String PAGE_Submission_Confirmation_Secure
        The "Submission Confirmation Secure" portal page
        See Also:
        Constant Field Values
      • PAGE_Submission_Email_Verification

        public static final String PAGE_Submission_Email_Verification
        The "Submission Email Verification" portal page
        See Also:
        Constant Field Values
      • PAGE_Submission_Errors

        public static final String PAGE_Submission_Errors
        The "Submission Errors" portal page
        See Also:
        Constant Field Values
      • PAGE_Submission_Expired

        public static final String PAGE_Submission_Expired
        The "Submission Expired" portal page
        See Also:
        Constant Field Values
      • PAGE_Submission_Failed

        public static final String PAGE_Submission_Failed
        The "Submission Failed" portal page
        See Also:
        Constant Field Values
      • PAGE_Submission_Payment_Hosted

        public static final String PAGE_Submission_Payment_Hosted
        The "Submission Payment" portal page
        See Also:
        Constant Field Values
      • PAGE_Submission_Payment_Hosted_Secure

        public static final String PAGE_Submission_Payment_Hosted_Secure
        The "Submission Payment Secure" portal page
        See Also:
        Constant Field Values
      • PAGE_Submission_Payment_Complete

        public static final String PAGE_Submission_Payment_Complete
        The "Submission Payment Complete" portal page
        See Also:
        Constant Field Values
      • PAGE_Submission_Saved

        public static final String PAGE_Submission_Saved
        The "Submission Saved" portal page
        See Also:
        Constant Field Values
      • PAGE_Submission_Saved_Secure

        public static final String PAGE_Submission_Saved_Secure
        The "Submission Saved Secure" portal page
        See Also:
        Constant Field Values
      • PAGE_Submission_Wet_Signature

        public static final String PAGE_Submission_Wet_Signature
        The "Submission Wet Signature" portal page
        See Also:
        Constant Field Values
      • PAGE_Submission_Wet_Signature_Secure

        public static final String PAGE_Submission_Wet_Signature_Secure
        The "Submission Wet Signature Secure" portal page
        See Also:
        Constant Field Values
      • PAGE_TwoFactorAuthSetup

        public static final String PAGE_TwoFactorAuthSetup
        The "Two Factor Authentication Setup" portal page
        See Also:
        Constant Field Values
    • Constructor Detail

      • PortalPage

        public PortalPage()
    • Method Detail

      • isContentChange

        public boolean isContentChange()
        Return true if there is a difference between the base content and the page content.
        Returns:
        true if there is a difference between the base content and the page content
        Since:
        3.6.0
      • setContent

        public void setContent​(byte[] content)
        Set the page content, updating the version history
        Overrides:
        setContent in class _PortalPage
        Parameters:
        content - the new page content
      • setContentBase

        public void setContentBase​(byte[] content)
        Update the base page content defined by the SmartForm Manager web application. This method is called internally - to update current page content, use setContent(byte[])
        Overrides:
        setContentBase in class _PortalPage
        Parameters:
        content - the new content
      • rollbackContent

        public void rollbackContent()
        Roll back portal page content to the base content available in the web application
      • refreshContentBaseMd5

        public void refreshContentBaseMd5()
        Refresh the base content MD5 hash values.
      • isBaseContentMerged

        public boolean isBaseContentMerged()
        Return true if the base content has been merged.
        Returns:
        true if the base content has been merged.
        Since:
        4.2.0
      • markContentMerged

        public void markContentMerged()
        Mark the base content as having been merged with page content.
        Since:
        4.2.0