Package com.avoka.fc.core.entity
Class Group
- java.lang.Object
-
- org.apache.cayenne.PersistentObject
-
- 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 StringGROUP_TYPE_ALERTThe 'Alert' group type.static StringGROUP_TYPE_FORMThe 'Form' group type.static StringGROUP_TYPE_JOBThe 'Job' group type.static List<String>GROUP_TYPESThe valid group types.static StringRECEIVE_DELIVERY_ESCALATION_ALERTSThe pre-defined Submission Alerts groupstatic StringRECEIVE_PAYMENT_ALERTSThe pre-defined Payment Alerts groupstatic StringRECEIVE_PROMOTION_ALERTSThe pre-defined Promotion Alerts groupstatic StringRECEIVE_SUBMISSION_UPDATESThe pre-defined Submission Update groupstatic StringRECEIVE_SYSTEM_ALERTSThe pre-defined System Alerts groupstatic StringRECEIVE_SYSTEM_ALERTS_DELIVERYThe pre-defined System Alerts groupstatic StringRECEIVE_SYSTEM_ALERTS_RECEIPTSThe pre-defined System Alerts groupstatic StringRECEIVE_USER_ACCOUNT_CREATION_ALERTSThe 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, 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 booleanisFormGroup()Return whether this group is of typeGROUP_TYPE_FORMbooleanisJobGroup()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, isNewFormFlag, isReadonlyFlag, isSavedFormFlag, isTaskAssignFlag, removeFromFormGroups, removeFromJobGroups, removeFromSubmissionGroup, removeFromUserGroups, setCompletedFormFlag, setFormWorkGroupFlag, setGroupDescription, setGroupName, setGroupType, 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
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
-
-
-
-
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
-
-