Package com.avoka.fc.core.entity
Class Portal
- java.lang.Object
-
- org.apache.cayenne.PersistentObject
-
- 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
@CacheGroups("CONFIG") public class Portal extends _Portal implements Auditable
Provides a SmartForm Manager portal module, generally used for form hosting and rendering.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PORTAL_ADMIN_CONSOLE
Portal name that identifies the Administration Consolestatic String
PORTAL_AVOKA_EXCHANGE
Portal name that identifies the 'Avoka Exchange' module.static String
PORTAL_STATUS_NORMAL
Indicates that the portal is operating normallystatic String
PORTAL_STATUS_OFFLINE
Indicates that the portal is offline for maintenancestatic String[]
PORTAL_STATUS_VALUES
The full set of operational statusesstatic String
PORTAL_TRANSACT_INSIGHTS
Portal name that identifies the 'Transact Insights' module.static String
PORTAL_TRANSACT_MAESTRO
Portal name that identifies the 'Transact Maestro' module.static String
PORTAL_TRANSACT_RECEIPTS
Portal name that identifies the 'Transact Receipts' module.static String
PORTAL_TYPE_ADMIN_CONSOLE
Portal type that identifies the Administration Consolestatic String
PORTAL_TYPE_FIELD_WORKER
Portal type that identifies a portal used to communicate with the SmartForm Manager FieldWorkerstatic String
PORTAL_TYPE_MAESTRO
Portal type that identifies a Maestro modulestatic String
PORTAL_TYPE_RECEIPTS
Portal type that identifies a receipt generation modulestatic String
PORTAL_TYPE_REPORTS
Portal type that identifies a reporting portalstatic String
PORTAL_TYPE_SELF_SERVICE
Portal type that identifies a self-service portalstatic String[]
PORTAL_TYPE_VALUES
The full set of portal typesstatic String
PORTAL_TYPE_WEB_PLUGIN
Portal type that identifies a web plugin portalstatic String
PORTAL_WEB_PLUG_IN
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, 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_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, HAS_LANDING_PAGE_FLAG, HAS_LANDING_PAGE_FLAG_PROPERTY, INTERNAL_TXN_FLAG, INTERNAL_TXN_FLAG_PROPERTY, LAST_MODIFIED_AT, LAST_MODIFIED_AT_PROPERTY, LAST_MODIFIED_BY, LAST_MODIFIED_BY_PROPERTY, NAME, NAME_PROPERTY, NOTIFICATION, NOTIFICATION_PROPERTY, OFFLINE_CLIENT_SYSTEM_LOGS, OFFLINE_CLIENT_SYSTEM_LOGS_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, SYNC_LOGS, SYNC_LOGS_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
-
-
Constructor Summary
Constructors Constructor Description Portal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PortalProperty
getPortalProperty(String name)
Return the named portal property.Map<String,String>
getPropertyMap()
Return an immutable map of portal property values, keyed on property name.boolean
isAdminConsolePortal()
Return whether this portal is the SmartForm Manager Administration Consoleboolean
isFieldWorkerPortal()
Return whether this portal is used to communicate with the SmartForm Manager FieldWorkerboolean
isMaestroPortal()
Return whether this portal is the Maestro type portalboolean
isModuleWithSharedLogin()
Return whether the portal is a shared login module.boolean
isNormalStatus()
Return whether the portal is operating normallyboolean
isOfflineStatus()
Return whether the portal is currently offlineboolean
isReceiptsPortal()
Return whether this portal is the Transact Receiptsboolean
isSelfServicePortal()
Return whether this portal is a self-service portalboolean
isWebPluginPortal()
Return whether this portal is a web plugin portal-
Methods inherited from class com.avoka.fc.core.entity.auto._Portal
addToClientPortals, addToEmailQueue, addToErrorLogs, addToFormPortals, addToNotification, addToOfflineClientSystemLogs, addToPermissions, addToPortalPages, addToPortalProperties, addToPortalResources, addToPortalUsers, addToRequestLogs, addToSecurityManagerLog, addToSubmissions, addToSyncLogs, addToUserAuthEvents, addToUserPrefs, getAuthenticationMode, getClientPortals, getContextPath, getCreatedAt, getCreatedBy, getDescription, getEmailQueue, getErrorLogs, getFormPortals, getLastModifiedAt, getLastModifiedBy, getName, getNotification, getOfflineClientSystemLogs, getPermissions, getPortalPages, getPortalProperties, getPortalResources, getPortalType, getPortalUsers, getRequestLogs, getSecurityManager, getSecurityManagerLog, getStatus, getStatusMessage, getStatusTitle, getSubmissions, getSyncLogs, getUserAuthEvents, getUserPrefs, getWarFileName, getWarVersion, isContentEditableFlag, isDefaultFlag, isEditableFlag, isFormsFlag, isHasFormNameFilterFlag, isHasFormPageFlag, isHasFormServletFlag, isHasLandingPageFlag, isInternalTxnFlag, removeFromClientPortals, removeFromEmailQueue, removeFromErrorLogs, removeFromFormPortals, removeFromNotification, removeFromOfflineClientSystemLogs, removeFromPermissions, removeFromPortalPages, removeFromPortalProperties, removeFromPortalResources, removeFromPortalUsers, removeFromRequestLogs, removeFromSecurityManagerLog, removeFromSubmissions, removeFromSyncLogs, removeFromUserAuthEvents, removeFromUserPrefs, setAuthenticationMode, setContentEditableFlag, setContextPath, setCreatedAt, setCreatedBy, setDefaultFlag, setDescription, setEditableFlag, setFormsFlag, setHasFormNameFilterFlag, setHasFormPageFlag, setHasFormServletFlag, setHasLandingPageFlag, setInternalTxnFlag, 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
addToManyTarget, getSnapshotVersion, makePath, readNestedProperty, readProperty, readPropertyDirectly, removeToManyTarget, setObjectContext, setPersistenceState, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writePropertyDirectly
-
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
-
-
-
-
Field Detail
-
PORTAL_ADMIN_CONSOLE
public static final String PORTAL_ADMIN_CONSOLE
Portal name that identifies the Administration Console- See Also:
- Constant Field Values
-
PORTAL_TRANSACT_MAESTRO
public static final String PORTAL_TRANSACT_MAESTRO
Portal name that identifies the 'Transact Maestro' module.- See Also:
- Constant Field Values
-
PORTAL_TRANSACT_INSIGHTS
public static final String PORTAL_TRANSACT_INSIGHTS
Portal name that identifies the 'Transact Insights' module.- See Also:
- Constant Field Values
-
PORTAL_AVOKA_EXCHANGE
public static final String PORTAL_AVOKA_EXCHANGE
Portal name that identifies the 'Avoka Exchange' module.- See Also:
- Constant Field Values
-
PORTAL_TRANSACT_RECEIPTS
public static final String PORTAL_TRANSACT_RECEIPTS
Portal name that identifies the 'Transact Receipts' module.- See Also:
- Constant Field Values
-
PORTAL_WEB_PLUG_IN
public static final String PORTAL_WEB_PLUG_IN
Portal name that identifies the 'Web Plug-in' module.- See Also:
- Constant Field Values
-
PORTAL_TYPE_ADMIN_CONSOLE
public static final String PORTAL_TYPE_ADMIN_CONSOLE
Portal type that identifies the Administration Console- See Also:
- Constant Field Values
-
PORTAL_TYPE_FIELD_WORKER
public static final String PORTAL_TYPE_FIELD_WORKER
Portal type that identifies a portal used to communicate with the SmartForm Manager FieldWorker- See Also:
- Constant Field Values
-
PORTAL_TYPE_RECEIPTS
public static final String PORTAL_TYPE_RECEIPTS
Portal type that identifies a receipt generation module- See Also:
- Constant Field Values
-
PORTAL_TYPE_MAESTRO
public static final String PORTAL_TYPE_MAESTRO
Portal type that identifies a Maestro module- See Also:
- Constant Field Values
-
PORTAL_TYPE_REPORTS
public static final String PORTAL_TYPE_REPORTS
Portal type that identifies a reporting portal- See Also:
- Constant Field Values
-
PORTAL_TYPE_SELF_SERVICE
public static final String PORTAL_TYPE_SELF_SERVICE
Portal type that identifies a self-service portal- See Also:
- Constant Field Values
-
PORTAL_TYPE_WEB_PLUGIN
public static final String PORTAL_TYPE_WEB_PLUGIN
Portal type that identifies a web plugin portal- See Also:
- Constant Field Values
-
PORTAL_TYPE_VALUES
public static final String[] PORTAL_TYPE_VALUES
The full set of portal types
-
PORTAL_STATUS_NORMAL
public static final String PORTAL_STATUS_NORMAL
Indicates that the portal is operating normally- See Also:
- Constant Field Values
-
PORTAL_STATUS_OFFLINE
public static final String PORTAL_STATUS_OFFLINE
Indicates that the portal is offline for maintenance- See Also:
- Constant Field Values
-
PORTAL_STATUS_VALUES
public static final String[] PORTAL_STATUS_VALUES
The full set of operational statuses
-
-
Method Detail
-
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
-
isFieldWorkerPortal
public boolean isFieldWorkerPortal()
Return whether this portal is used to communicate with the SmartForm Manager FieldWorker- Returns:
- true if the portal type is
PORTAL_TYPE_FIELD_WORKER
-
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
-
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
PORTAL_STATUS_NORMAL
-
isOfflineStatus
public boolean isOfflineStatus()
Return whether the portal is currently offline- Returns:
- true if the status is
PORTAL_STATUS_OFFLINE
-
isModuleWithSharedLogin
public boolean isModuleWithSharedLogin()
Return whether the portal is a shared login module.- Returns:
- true if the module is a shared login module, otherwise false.
-
getPortalProperty
public PortalProperty getPortalProperty(String name)
Return the named portal property.- Parameters:
name
- the name of the portal property- Returns:
- the named portal property
-
-