Package com.avoka.fc.core.entity
Class Portal
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._Portal
com.avoka.fc.core.entity.Portal
- All Implemented Interfaces:
IEntity
,Auditable
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
Provides a SmartForm Manager portal module, generally used for form hosting and rendering.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Portal name that identifies the Administration Consolestatic final String
Portal name that identifies the 'Avoka Exchange' module.static final String
Portal Property name for the Welcome Page Urlstatic final String
Portal name that identifies the 'Transact Insights' module.static final String
Portal name that identifies the 'Transact Maestro' module.static final String
Portal name that identifies the 'Journey Operations' module.static final String
Portal name that identifies the 'Transact Receipts' module.static final String
Portal type that identifies the Administration Consolestatic final String
Portal type that identifies a Maestro modulestatic final String
Portal type that identifies an Operations modulestatic final String
Portal type that identifies a receipt generation modulestatic final String
Portal type that identifies a reporting portalstatic final String
Portal type that identifies a self-service portalstatic final String[]
The full set of portal typesstatic final String
Portal type that identifies a web plugin portalstatic final String
Portal name that identifies the 'Web Plug-in' module.Fields inherited from class com.avoka.fc.core.entity.auto._Portal
AUTHENTICATION_MODE, AUTHENTICATION_MODE_PROPERTY, BILLABLE_FLAG, BILLABLE_FLAG_PROPERTY, CLIENT_PORTALS, CLIENT_PORTALS_PROPERTY, CONTENT_EDITABLE_FLAG, CONTENT_EDITABLE_FLAG_PROPERTY, CONTEXT_PATH, CONTEXT_PATH_PROPERTY, CREATED_AT, CREATED_AT_PROPERTY, CREATED_BY, CREATED_BY_PROPERTY, DEFAULT_CLIENT, DEFAULT_CLIENT_PROPERTY, DEFAULT_FLAG, DEFAULT_FLAG_PROPERTY, DESCRIPTION, DESCRIPTION_PROPERTY, EDITABLE_FLAG, EDITABLE_FLAG_PROPERTY, EMAIL_QUEUE, EMAIL_QUEUE_PROPERTY, ERROR_LOGS, ERROR_LOGS_PROPERTY, FORM_PORTALS, FORM_PORTALS_PROPERTY, FORMS_FLAG, FORMS_FLAG_PROPERTY, HAS_FORM_NAME_FILTER_FLAG, HAS_FORM_NAME_FILTER_FLAG_PROPERTY, HAS_FORM_PAGE_FLAG, HAS_FORM_PAGE_FLAG_PROPERTY, HAS_FORM_SERVLET_FLAG, HAS_FORM_SERVLET_FLAG_PROPERTY, LAST_MODIFIED_AT, LAST_MODIFIED_AT_PROPERTY, LAST_MODIFIED_BY, LAST_MODIFIED_BY_PROPERTY, NAME, NAME_PROPERTY, NOTIFICATION, NOTIFICATION_PROPERTY, PERMISSIONS, PERMISSIONS_PROPERTY, PORTAL_OID_PK_COLUMN, PORTAL_PAGES, PORTAL_PAGES_PROPERTY, PORTAL_PROPERTIES, PORTAL_PROPERTIES_PROPERTY, PORTAL_RESOURCES, PORTAL_RESOURCES_PROPERTY, PORTAL_TYPE, PORTAL_TYPE_PROPERTY, PORTAL_USERS, PORTAL_USERS_PROPERTY, REQUEST_LOGS, REQUEST_LOGS_PROPERTY, SECURITY_MANAGER, SECURITY_MANAGER_LOG, SECURITY_MANAGER_LOG_PROPERTY, SECURITY_MANAGER_PROPERTY, STATUS, STATUS_MESSAGE, STATUS_MESSAGE_PROPERTY, STATUS_PROPERTY, STATUS_TITLE, STATUS_TITLE_PROPERTY, SUBMISSIONS, SUBMISSIONS_PROPERTY, USER_AUTH_EVENTS, USER_AUTH_EVENTS_PROPERTY, USER_PREFS, USER_PREFS_PROPERTY, WAR_FILE_NAME, WAR_FILE_NAME_PROPERTY, WAR_VERSION, WAR_VERSION_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 TypeMethodDescriptiongetPortalProperty
(String name) Return the named portal property.Return an immutable map of portal property values, keyed on property name.boolean
Return whether this portal is the SmartForm Manager Administration Consoleboolean
Return whether this portal is the Maestro type portalboolean
Return whether the portal is a shared login module.boolean
Return whether the portal is operating normallyboolean
Return whether the portal is currently offlineboolean
Return whether this portal is the Operations type portalboolean
Return whether this portal is the Transact Receiptsboolean
Return whether this portal is a self-service portalboolean
Return whether this portal is a web plugin portalMethods inherited from class com.avoka.fc.core.entity.auto._Portal
addToClientPortals, addToEmailQueue, addToErrorLogs, addToFormPortals, addToNotification, addToPermissions, addToPortalPages, addToPortalProperties, addToPortalResources, addToPortalUsers, addToRequestLogs, addToSecurityManagerLog, addToSubmissions, addToUserAuthEvents, addToUserPrefs, getAuthenticationMode, getClientPortals, getContextPath, getCreatedAt, getCreatedBy, getDefaultClient, getDescription, getEmailQueue, getErrorLogs, getFormPortals, getLastModifiedAt, getLastModifiedBy, getName, getNotification, getPermissions, getPortalPages, getPortalProperties, getPortalResources, getPortalType, getPortalUsers, getRequestLogs, getSecurityManager, getSecurityManagerLog, getStatus, getStatusMessage, getStatusTitle, getSubmissions, getUserAuthEvents, getUserPrefs, getWarFileName, getWarVersion, isBillableFlag, isContentEditableFlag, isDefaultFlag, isEditableFlag, isFormsFlag, isHasFormNameFilterFlag, isHasFormPageFlag, isHasFormServletFlag, removeFromClientPortals, removeFromEmailQueue, removeFromErrorLogs, removeFromFormPortals, removeFromNotification, removeFromPermissions, removeFromPortalPages, removeFromPortalProperties, removeFromPortalResources, removeFromPortalUsers, removeFromRequestLogs, removeFromSecurityManagerLog, removeFromSubmissions, removeFromUserAuthEvents, removeFromUserPrefs, setAuthenticationMode, setBillableFlag, setContentEditableFlag, setContextPath, setCreatedAt, setCreatedBy, setDefaultClient, setDefaultFlag, setDescription, setEditableFlag, setFormsFlag, setHasFormNameFilterFlag, setHasFormPageFlag, setHasFormServletFlag, setLastModifiedAt, setLastModifiedBy, setName, setPortalType, setSecurityManager, setStatus, setStatusMessage, setStatusTitle, setWarFileName, setWarVersion
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 com.avoka.fc.core.entity.Auditable
getId, getValuesMap
Methods inherited from interface org.apache.cayenne.Persistent
getObjectContext, getObjectId, getPersistenceState, setObjectContext, setObjectId, setPersistenceState
-
Field Details
-
PORTAL_ADMIN_CONSOLE
Portal name that identifies the Administration Console- See Also:
-
PORTAL_TRANSACT_MAESTRO
Portal name that identifies the 'Transact Maestro' module.- See Also:
-
PORTAL_TRANSACT_INSIGHTS
Portal name that identifies the 'Transact Insights' module.- See Also:
-
PORTAL_TRANSACT_OPERATIONS
Portal name that identifies the 'Journey Operations' module.- See Also:
-
PORTAL_AVOKA_EXCHANGE
Portal name that identifies the 'Avoka Exchange' module.- See Also:
-
PORTAL_TRANSACT_RECEIPTS
Portal name that identifies the 'Transact Receipts' module.- See Also:
-
PORTAL_WEB_PLUG_IN
Portal name that identifies the 'Web Plug-in' module.- See Also:
-
PORTAL_TYPE_ADMIN_CONSOLE
Portal type that identifies the Administration Console- See Also:
-
PORTAL_TYPE_RECEIPTS
Portal type that identifies a receipt generation module- See Also:
-
PORTAL_TYPE_MAESTRO
Portal type that identifies a Maestro module- See Also:
-
PORTAL_TYPE_OPERATIONS
Portal type that identifies an Operations module- See Also:
-
PORTAL_TYPE_REPORTS
Portal type that identifies a reporting portal- See Also:
-
PORTAL_TYPE_SELF_SERVICE
Portal type that identifies a self-service portal- See Also:
-
PORTAL_TYPE_WEB_PLUGIN
Portal type that identifies a web plugin portal- See Also:
-
PORTAL_PROPERTY_WELCOME_PAGE_URL
Portal Property name for the Welcome Page Url- See Also:
-
PORTAL_TYPE_VALUES
The full set of portal types
-
-
Constructor Details
-
Portal
public Portal()
-
-
Method Details
-
isAdminConsolePortal
public boolean isAdminConsolePortal()Return whether this portal is the SmartForm Manager Administration Console- Returns:
- true if the portal name matches
PORTAL_ADMIN_CONSOLE
-
isReceiptsPortal
public boolean isReceiptsPortal()Return whether this portal is the Transact Receipts- Returns:
- true if the portal name matches
PORTAL_TYPE_RECEIPTS
- Since:
- 5.1.0
-
isSelfServicePortal
public boolean isSelfServicePortal()Return whether this portal is a self-service portal- Returns:
- true if the portal type is
PORTAL_TYPE_SELF_SERVICE
-
isMaestroPortal
public boolean isMaestroPortal()Return whether this portal is the Maestro type portal- Returns:
- true if the portal type is
PORTAL_TYPE_MAESTRO
- Since:
- 4.3.4
-
isOperationsPortal
public boolean isOperationsPortal()Return whether this portal is the Operations type portal- Returns:
- true if the portal type is
PORTAL_TYPE_OPERATIONS
- Since:
- 22.10.0
-
isWebPluginPortal
public boolean isWebPluginPortal()Return whether this portal is a web plugin portal- Returns:
- true if the portal type is
PORTAL_TYPE_WEB_PLUGIN
-
isNormalStatus
public boolean isNormalStatus()Return whether the portal is operating normally- Returns:
- true if the status is Active
-
isOfflineStatus
public boolean isOfflineStatus()Return whether the portal is currently offline- Returns:
- true if the status is Offline
-
getPortalProperty
Return the named portal property.- Parameters:
name
- the name of the portal property- Returns:
- the named portal property
-
getPropertyMap
Return an immutable map of portal property values, keyed on property name.- Returns:
- an immutable map of portal property values, keyed on property name
- Since:
- 4.0.0
-