Package com.avoka.fc.core.entity
Class PortalPage
- java.lang.Object
-
- org.apache.cayenne.PersistentObject
-
- org.apache.cayenne.BaseDataObject
-
- org.apache.cayenne.CayenneDataObject
-
- com.avoka.core.entity.BaseEntity
-
- com.avoka.fc.core.entity.auto._PortalPage
-
- com.avoka.fc.core.entity.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 Summary
Fields Modifier and Type Field Description static String
PAGE_Account_Pending
The "Account Pending" portal pagestatic String
PAGE_Change_Password
The "Change Password" portal pagestatic String
PAGE_Forgotten_Password
The "Forgotten Password" portal pagestatic String
PAGE_Form
The "Form" portal pagestatic String
PAGE_Form_Error
The "Form Error" portal pagestatic String
PAGE_Form_Landing
The "Form Landing" portal pagestatic String
PAGE_Form_Not_Found
The "Form Not Found" portal pagestatic String
PAGE_Form_Terms_And_Conditions
The "Form Not Found" portal pagestatic String
PAGE_Index
The "Index" portal pagestatic String
PAGE_Index_Secure
The "Index Secure" portal pagestatic String
PAGE_Login
The "Login" portal pagestatic String
PAGE_Logout
The "Logout" portal pagestatic String
PAGE_Not_Authorized
The "Not Authorized" portal pagestatic String
PAGE_Not_Supported
The "Not Supported" portal pagestatic String
PAGE_Offline
The "Offline" portal pagestatic String
PAGE_Receipt_Challenge
The "Receipt Challenge" portal pagestatic String
PAGE_Save_Challenge
The "Save Challenge" portal pagestatic String
PAGE_Secure_Form
The "Secure Form" portal pagestatic String
PAGE_Server_Busy
The "Server Busy" portal pagestatic String
PAGE_Session_Expired
The "Session Expired" portal pagestatic String
PAGE_Session_Reestablished
The "Session Reestablished" portal pagestatic String
PAGE_Submission_Attachment
The "Submission Attachment" portal pagestatic String
PAGE_Submission_Attachment_Secure
The "Submission Attachment Secure" portal pagestatic String
PAGE_Submission_Cancelled
The "Submission Cancelled" portal pagestatic String
PAGE_Submission_Confirmation
The "Submission Confirmation" portal pagestatic String
PAGE_Submission_Confirmation_Secure
The "Submission Confirmation Secure" portal pagestatic String
PAGE_Submission_Email_Verification
The "Submission Email Verification" portal pagestatic String
PAGE_Submission_Errors
The "Submission Errors" portal pagestatic String
PAGE_Submission_Expired
The "Submission Expired" portal pagestatic String
PAGE_Submission_Failed
The "Submission Failed" portal pagestatic String
PAGE_Submission_Payment_Complete
The "Submission Payment Complete" portal pagestatic String
PAGE_Submission_Payment_Hosted
The "Submission Payment" portal pagestatic String
PAGE_Submission_Payment_Hosted_Secure
The "Submission Payment Secure" portal pagestatic String
PAGE_Submission_Saved
The "Submission Saved" portal pagestatic String
PAGE_Submission_Saved_Secure
The "Submission Saved Secure" portal pagestatic String
PAGE_Submission_Wet_Signature
The "Submission Wet Signature" portal pagestatic String
PAGE_Submission_Wet_Signature_Secure
The "Submission Wet Signature Secure" portal pagestatic String
PAGE_TwoFactorAuthSetup
The "Two Factor Authentication Setup" portal page-
Fields inherited from class com.avoka.fc.core.entity.auto._PortalPage
CONTENT, CONTENT_BASE, CONTENT_BASE_MD5, CONTENT_BASE_MD5_PROPERTY, CONTENT_BASE_PROPERTY, CONTENT_BASE_TIMESTAMP, CONTENT_BASE_TIMESTAMP_PROPERTY, CONTENT_MD5, CONTENT_MD5_PROPERTY, CONTENT_PROPERTY, CONTENT_TIMESTAMP, CONTENT_TIMESTAMP_PROPERTY, CREATED_AT, CREATED_AT_PROPERTY, CREATED_BY, CREATED_BY_PROPERTY, DESCRIPTION, DESCRIPTION_PROPERTY, LAST_MODIFIED_AT, LAST_MODIFIED_AT_PROPERTY, LAST_MODIFIED_BY, LAST_MODIFIED_BY_PROPERTY, MERGED_BASE_MD5, MERGED_BASE_MD5_PROPERTY, NAME, NAME_PROPERTY, PAGE_HISTORY, PAGE_HISTORY_PROPERTY, PATH, PATH_PROPERTY, PORTAL, PORTAL_PAGE_OID_PK_COLUMN, PORTAL_PROPERTY
-
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description PortalPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isBaseContentMerged()
Return true if the base content has been merged.boolean
isContentChange()
Return true if there is a difference between the base content and the page content.void
markContentMerged()
Mark the base content as having been merged with page content.void
refreshContentBaseMd5()
Refresh the base content MD5 hash values.void
rollbackContent()
Roll back portal page content to the base content available in the web applicationvoid
setContent(byte[] content)
Set the page content, updating the version historyvoid
setContentBase(byte[] content)
Update the base page content defined by the SmartForm Manager web application.-
Methods inherited from class com.avoka.fc.core.entity.auto._PortalPage
addToPageHistory, getContent, getContentBase, getContentBaseMd5, getContentBaseTimestamp, getContentMd5, getContentTimestamp, getCreatedAt, getCreatedBy, getDescription, getLastModifiedAt, getLastModifiedBy, getMergedBaseMd5, getName, getPageHistory, getPath, getPortal, removeFromPageHistory, setContentBaseMd5, setContentBaseTimestamp, setContentMd5, setContentTimestamp, setCreatedAt, setCreatedBy, setDescription, setLastModifiedAt, setLastModifiedBy, setMergedBaseMd5, setName, setPath, setPortal
-
Methods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toString
-
Methods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeState
-
Methods inherited from class org.apache.cayenne.BaseDataObject
addToManyTarget, beforePropertyRead, beforePropertyWrite, getSnapshotVersion, readNestedProperty, readProperty, readSerialized, removeToManyTarget, setObjectContext, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writeSerialized
-
Methods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectId
-
-
-
-
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
public static final String PAGE_Form
The "Form" portal page- See Also:
- Constant Field Values
-
PAGE_Form_Error
public static final String PAGE_Form_Error
The "Form Error" portal page- See Also:
- Constant Field Values
-
PAGE_Form_Landing
public static final String PAGE_Form_Landing
The "Form Landing" portal page- See Also:
- Constant Field Values
-
PAGE_Form_Not_Found
public static final String PAGE_Form_Not_Found
The "Form Not Found" 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_Login
public static final String PAGE_Login
The "Login" portal page- See Also:
- Constant Field Values
-
PAGE_Logout
public static final String PAGE_Logout
The "Logout" portal page- See Also:
- Constant Field Values
-
PAGE_Not_Authorized
public static final String PAGE_Not_Authorized
The "Not Authorized" portal page- See Also:
- Constant Field Values
-
PAGE_Not_Supported
public static final String PAGE_Not_Supported
The "Not Supported" portal page- See Also:
- Constant Field Values
-
PAGE_Offline
public static final String PAGE_Offline
The "Offline" 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_Save_Challenge
public static final String PAGE_Save_Challenge
The "Save Challenge" portal page- See Also:
- Constant Field Values
-
PAGE_Server_Busy
public static final String PAGE_Server_Busy
The "Server Busy" portal page- See Also:
- Constant Field Values
-
PAGE_Secure_Form
public static final String PAGE_Secure_Form
The "Secure Form" 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
-
PAGE_Index
public static final String PAGE_Index
The "Index" portal page- See Also:
- Constant Field Values
-
PAGE_Index_Secure
public static final String PAGE_Index_Secure
The "Index Secure" portal page- See Also:
- Constant Field Values
-
-
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, usesetContent(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
-
-