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
public class Group extends _Group
Provides a group entity that users can belong to. Groups are mainly used for notification.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
GROUP_TYPE_ALERT
The 'Alert' group type.static String
GROUP_TYPE_FORM
The 'Form' group type.static String
GROUP_TYPE_JOB
The 'Job' group type.static List<String>
GROUP_TYPES
The valid group types.static String
RECEIVE_DELIVERY_ESCALATION_ALERTS
The pre-defined Submission Alerts groupstatic String
RECEIVE_PAYMENT_ALERTS
The pre-defined Payment Alerts groupstatic String
RECEIVE_PROMOTION_ALERTS
The pre-defined Promotion Alerts groupstatic String
RECEIVE_SUBMISSION_UPDATES
The pre-defined Submission Update groupstatic String
RECEIVE_SYSTEM_ALERTS
The pre-defined System Alerts groupstatic String
RECEIVE_SYSTEM_ALERTS_DELIVERY
The pre-defined System Alerts groupstatic String
RECEIVE_SYSTEM_ALERTS_RECEIPTS
The pre-defined System Alerts groupstatic String
RECEIVE_USER_ACCOUNT_CREATION_ALERTS
The pre-defined User Account Creation Alerts group-
Fields 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
-
-
Constructor Summary
Constructors Constructor Description Group()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isFormGroup()
Return whether this group is of typeGROUP_TYPE_FORM
boolean
isJobGroup()
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
-
-
-
-
Field Detail
-
RECEIVE_PROMOTION_ALERTS
public static final String RECEIVE_PROMOTION_ALERTS
The pre-defined Promotion Alerts group- See Also:
- Constant Field Values
-
RECEIVE_DELIVERY_ESCALATION_ALERTS
public static final String RECEIVE_DELIVERY_ESCALATION_ALERTS
The pre-defined Submission Alerts group- See Also:
- Constant Field Values
-
RECEIVE_SUBMISSION_UPDATES
public static final String RECEIVE_SUBMISSION_UPDATES
The pre-defined Submission Update group- See Also:
- Constant Field Values
-
RECEIVE_SYSTEM_ALERTS
public static final String RECEIVE_SYSTEM_ALERTS
The pre-defined System Alerts group- See Also:
- Constant Field Values
-
RECEIVE_SYSTEM_ALERTS_DELIVERY
public static final String RECEIVE_SYSTEM_ALERTS_DELIVERY
The pre-defined System Alerts group- See Also:
- Constant Field Values
-
RECEIVE_SYSTEM_ALERTS_RECEIPTS
public static final String RECEIVE_SYSTEM_ALERTS_RECEIPTS
The pre-defined System Alerts group- See Also:
- Constant Field Values
-
RECEIVE_USER_ACCOUNT_CREATION_ALERTS
public static final String RECEIVE_USER_ACCOUNT_CREATION_ALERTS
The pre-defined User Account Creation Alerts group- See Also:
- Constant Field Values
-
RECEIVE_PAYMENT_ALERTS
public static final String RECEIVE_PAYMENT_ALERTS
The pre-defined Payment Alerts group- See Also:
- Constant Field Values
-
GROUP_TYPE_ALERT
public static final String GROUP_TYPE_ALERT
The 'Alert' group type.- See Also:
- Constant Field Values
-
GROUP_TYPE_FORM
public static final String GROUP_TYPE_FORM
The 'Form' group type.- See Also:
- Constant Field Values
-
GROUP_TYPE_JOB
public static final String GROUP_TYPE_JOB
The 'Job' group type.- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-