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
FieldsModifier and TypeFieldDescriptionstatic final StringThe 'Alert' group type.static final StringThe 'Form' group type.static final StringThe 'Job' group type.The valid group types.static final StringThe pre-defined Submission Alerts groupstatic final StringThe pre-defined Payment Alerts groupstatic final StringThe pre-defined Promotion Alerts groupstatic final StringThe pre-defined Submission Update groupstatic final StringThe pre-defined System Alerts groupstatic final StringThe pre-defined System Alerts groupstatic final StringThe pre-defined System Alerts groupstatic final StringThe pre-defined System Alerts groupstatic final StringThe 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_PROPERTYFields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTYFields inherited from class org.apache.cayenne.CayenneDataObject
valuesFields inherited from class org.apache.cayenne.BaseDataObject
snapshotVersionFields inherited from class org.apache.cayenne.PersistentObject
objectContext, objectId, persistenceStateFields inherited from interface org.apache.cayenne.DataObject
DEFAULT_VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn whether this group is of typeGROUP_TYPE_FORMbooleanReturn whether this group is of typeGROUP_TYPE_JOBMethods 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, setTaskAssignFlagMethods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toStringMethods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeStateMethods 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, writeSerializedMethods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
-