Class PortalPage

java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
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:
  • Field Details

    • PAGE_Account_Pending

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

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

      public static final String PAGE_Forgotten_Password
      The "Forgotten Password" portal page
      See Also:
    • PAGE_Form

      public static final String PAGE_Form
      The "Form" portal page
      See Also:
    • PAGE_Form_Error

      public static final String PAGE_Form_Error
      The "Form Error" portal page
      See Also:
    • PAGE_Form_Not_Found

      public static final String PAGE_Form_Not_Found
      The "Form Not Found" portal page
      See Also:
    • PAGE_Login

      public static final String PAGE_Login
      The "Login" portal page
      See Also:
    • PAGE_Logout

      public static final String PAGE_Logout
      The "Logout" portal page
      See Also:
    • PAGE_Not_Authorized

      public static final String PAGE_Not_Authorized
      The "Not Authorized" portal page
      See Also:
    • PAGE_Not_Supported

      public static final String PAGE_Not_Supported
      The "Not Supported" portal page
      See Also:
    • PAGE_Offline

      public static final String PAGE_Offline
      The "Offline" portal page
      See Also:
    • PAGE_Receipt_Challenge

      public static final String PAGE_Receipt_Challenge
      The "Receipt Challenge" portal page
      See Also:
    • PAGE_Save_Challenge

      public static final String PAGE_Save_Challenge
      The "Save Challenge" portal page
      See Also:
    • PAGE_Server_Busy

      public static final String PAGE_Server_Busy
      The "Server Busy" portal page
      See Also:
    • PAGE_Secure_Form

      public static final String PAGE_Secure_Form
      The "Secure Form" portal page
      See Also:
    • PAGE_Session_Expired

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static final String PAGE_Submission_Saved_Secure
      The "Submission Saved Secure" portal page
      See Also:
    • PAGE_TwoFactorAuthSetup

      public static final String PAGE_TwoFactorAuthSetup
      The "Two Factor Authentication Setup" portal page
      See Also:
    • PAGE_Index

      public static final String PAGE_Index
      The "Index" portal page
      See Also:
    • PAGE_Index_Secure

      public static final String PAGE_Index_Secure
      The "Index Secure" portal page
      See Also:
  • Constructor Details

    • PortalPage

      public PortalPage()
  • Method Details

    • 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