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
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 Summary
Modifier and TypeFieldDescriptionstatic final String
The "Account Pending" portal pagestatic final String
The "Change Password" portal pagestatic final String
The "Forgotten Password" portal pagestatic final String
The "Form" portal pagestatic final String
The "Form Error" portal pagestatic final String
The "Form Not Found" portal pagestatic final String
The "Index" portal pagestatic final String
The "Index Secure" portal pagestatic final String
The "Login" portal pagestatic final String
The "Logout" portal pagestatic final String
The "Not Authorized" portal pagestatic final String
The "Not Supported" portal pagestatic final String
The "Offline" portal pagestatic final String
The "Receipt Challenge" portal pagestatic final String
The "Save Challenge" portal pagestatic final String
The "Secure Form" portal pagestatic final String
The "Server Busy" portal pagestatic final String
The "Session Expired" portal pagestatic final String
The "Session Reestablished" portal pagestatic final String
The "Submission Attachment" portal pagestatic final String
The "Submission Attachment Secure" portal pagestatic final String
The "Submission Cancelled" portal pagestatic final String
The "Submission Confirmation" portal pagestatic final String
The "Submission Confirmation Secure" portal pagestatic final String
The "Submission Email Verification" portal pagestatic final String
The "Submission Errors" portal pagestatic final String
The "Submission Expired" portal pagestatic final String
The "Submission Failed" portal pagestatic final String
The "Submission Payment Complete" portal pagestatic final String
The "Submission Payment" portal pagestatic final String
The "Submission Payment Secure" portal pagestatic final String
The "Submission Saved" portal pagestatic final String
The "Submission Saved Secure" portal pagestatic final String
The "Two Factor Authentication Setup" portal pageFields 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
Fields inherited from class org.apache.cayenne.CayenneDataObject
values
Fields inherited from class org.apache.cayenne.BaseDataObject
snapshotVersion
Fields inherited from class org.apache.cayenne.PersistentObject
objectContext, objectId, persistenceState
Fields inherited from interface org.apache.cayenne.DataObject
DEFAULT_VERSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if the base content has been merged.boolean
Return true if there is a difference between the base content and the page content.void
Mark the base content as having been merged with page content.void
Refresh the base content MD5 hash values.void
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.cayenne.Persistent
getObjectContext, getObjectId, getPersistenceState, setObjectContext, setObjectId, setPersistenceState
-
Field Details
-
PAGE_Account_Pending
The "Account Pending" portal page- See Also:
-
PAGE_Change_Password
The "Change Password" portal page- See Also:
-
PAGE_Forgotten_Password
The "Forgotten Password" portal page- See Also:
-
PAGE_Form
The "Form" portal page- See Also:
-
PAGE_Form_Error
The "Form Error" portal page- See Also:
-
PAGE_Form_Not_Found
The "Form Not Found" portal page- See Also:
-
PAGE_Login
The "Login" portal page- See Also:
-
PAGE_Logout
The "Logout" portal page- See Also:
-
PAGE_Not_Authorized
The "Not Authorized" portal page- See Also:
-
PAGE_Not_Supported
The "Not Supported" portal page- See Also:
-
PAGE_Offline
The "Offline" portal page- See Also:
-
PAGE_Receipt_Challenge
The "Receipt Challenge" portal page- See Also:
-
PAGE_Save_Challenge
The "Save Challenge" portal page- See Also:
-
PAGE_Server_Busy
The "Server Busy" portal page- See Also:
-
PAGE_Secure_Form
The "Secure Form" portal page- See Also:
-
PAGE_Session_Expired
The "Session Expired" portal page- See Also:
-
PAGE_Session_Reestablished
The "Session Reestablished" portal page- See Also:
-
PAGE_Submission_Attachment
The "Submission Attachment" portal page- See Also:
-
PAGE_Submission_Attachment_Secure
The "Submission Attachment Secure" portal page- See Also:
-
PAGE_Submission_Cancelled
The "Submission Cancelled" portal page- See Also:
-
PAGE_Submission_Confirmation
The "Submission Confirmation" portal page- See Also:
-
PAGE_Submission_Confirmation_Secure
The "Submission Confirmation Secure" portal page- See Also:
-
PAGE_Submission_Email_Verification
The "Submission Email Verification" portal page- See Also:
-
PAGE_Submission_Errors
The "Submission Errors" portal page- See Also:
-
PAGE_Submission_Expired
The "Submission Expired" portal page- See Also:
-
PAGE_Submission_Failed
The "Submission Failed" portal page- See Also:
-
PAGE_Submission_Payment_Hosted
The "Submission Payment" portal page- See Also:
-
PAGE_Submission_Payment_Hosted_Secure
The "Submission Payment Secure" portal page- See Also:
-
PAGE_Submission_Payment_Complete
The "Submission Payment Complete" portal page- See Also:
-
PAGE_Submission_Saved
The "Submission Saved" portal page- See Also:
-
PAGE_Submission_Saved_Secure
The "Submission Saved Secure" portal page- See Also:
-
PAGE_TwoFactorAuthSetup
The "Two Factor Authentication Setup" portal page- See Also:
-
PAGE_Index
The "Index" portal page- See Also:
-
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, 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
-