Package com.avoka.fc.core.entity
Class Group
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._Group
com.avoka.fc.core.entity.Group
- All Implemented Interfaces:
IEntity
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
Provides a group entity that users can belong to. Groups are mainly used for notification.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The 'Alert' group type.static final String
The 'Form' group type.static final String
The 'Job' group type.The valid group types.static final String
The pre-defined Submission Alerts groupstatic final String
The pre-defined Payment Alerts groupstatic final String
The pre-defined Promotion Alerts groupstatic final String
The pre-defined Submission Update groupstatic final String
The pre-defined System Alerts groupstatic final String
The pre-defined System Alerts groupstatic final String
The pre-defined System Alerts groupstatic final String
The pre-defined System Alerts groupstatic final String
The pre-defined User Account Creation Alerts groupFields inherited from class com.avoka.fc.core.entity.auto._Group
COMPLETED_FORM_FLAG, COMPLETED_FORM_FLAG_PROPERTY, FORM_GROUPS, FORM_GROUPS_PROPERTY, FORM_WORK_GROUP_FLAG, FORM_WORK_GROUP_FLAG_PROPERTY, GROUP_DESCRIPTION, GROUP_DESCRIPTION_PROPERTY, GROUP_NAME, GROUP_NAME_PROPERTY, GROUP_OID_PK_COLUMN, GROUP_TYPE, GROUP_TYPE_PROPERTY, IS_DELETED_FLAG, IS_DELETED_FLAG_PROPERTY, JOB_GROUPS, JOB_GROUPS_PROPERTY, NEW_FORM_FLAG, NEW_FORM_FLAG_PROPERTY, READONLY_FLAG, READONLY_FLAG_PROPERTY, SAVED_FORM_FLAG, SAVED_FORM_FLAG_PROPERTY, SUBMISSION_GROUP, SUBMISSION_GROUP_PROPERTY, TASK_ASSIGN_FLAG, TASK_ASSIGN_FLAG_PROPERTY, USER_GROUPS, USER_GROUPS_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 whether this group is of typeGROUP_TYPE_FORM
boolean
Return whether this group is of typeGROUP_TYPE_JOB
Methods inherited from class com.avoka.fc.core.entity.auto._Group
addToFormGroups, addToJobGroups, addToSubmissionGroup, addToUserGroups, getFormGroups, getGroupDescription, getGroupName, getGroupType, getJobGroups, getSubmissionGroup, getUserGroups, isCompletedFormFlag, isFormWorkGroupFlag, isIsDeletedFlag, isNewFormFlag, isReadonlyFlag, isSavedFormFlag, isTaskAssignFlag, removeFromFormGroups, removeFromJobGroups, removeFromSubmissionGroup, removeFromUserGroups, setCompletedFormFlag, setFormWorkGroupFlag, setGroupDescription, setGroupName, setGroupType, setIsDeletedFlag, setNewFormFlag, setReadonlyFlag, setSavedFormFlag, setTaskAssignFlag
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
-
RECEIVE_PROMOTION_ALERTS
The pre-defined Promotion Alerts group- See Also:
-
RECEIVE_DELIVERY_ESCALATION_ALERTS
The pre-defined Submission Alerts group- See Also:
-
RECEIVE_SUBMISSION_UPDATES
The pre-defined Submission Update group- See Also:
-
RECEIVE_SYSTEM_ALERTS
The pre-defined System Alerts group- See Also:
-
RECEIVE_SYSTEM_ALERTS_DATABASE_INTEGRITY
The pre-defined System Alerts group- See Also:
-
RECEIVE_SYSTEM_ALERTS_DELIVERY
The pre-defined System Alerts group- See Also:
-
RECEIVE_SYSTEM_ALERTS_RECEIPTS
The pre-defined System Alerts group- See Also:
-
RECEIVE_USER_ACCOUNT_CREATION_ALERTS
The pre-defined User Account Creation Alerts group- See Also:
-
RECEIVE_PAYMENT_ALERTS
The pre-defined Payment Alerts group- See Also:
-
GROUP_TYPE_ALERT
The 'Alert' group type.- See Also:
-
GROUP_TYPE_FORM
The 'Form' group type.- See Also:
-
GROUP_TYPE_JOB
The 'Job' group type.- See Also:
-
GROUP_TYPES
The valid group types.
-
-
Constructor Details
-
Group
public Group()
-
-
Method Details
-
isFormGroup
public boolean isFormGroup()Return whether this group is of typeGROUP_TYPE_FORM
- Returns:
- whether this group is a form group
-
isJobGroup
public boolean isJobGroup()Return whether this group is of typeGROUP_TYPE_JOB
- Returns:
- whether this group is a form group
- Since:
- 17.10.0
-