Enum BulkActionNature
- java.lang.Object
-
- java.lang.Enum<BulkActionNature>
-
- org.cyclos.model.users.bulkactions.BulkActionNature
-
- All Implemented Interfaces:
Serializable,Comparable<BulkActionNature>,HasMessageKey
public enum BulkActionNature extends Enum<BulkActionNature> implements HasMessageKey
The possible natures for a bulk action
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADJUST_ACCOUNTSCreates missing / disposes unneeded user accountsAPP_MAILINGSends a Firebase cloud message to users (mobile)CHANGE_FIELD_VALUEChange the value of a custom fieldCHANGE_GROUPChange users to a new groupCHANGE_STATUSChange users to a new statusCUSTOM_OPERATIONRun a custom operationEMAIL_MAILINGSends an email to usersREINDEXReindex the user, updating the display / short display and removing custom field values no longer enabledRESET_PASSWORDReset a password of the userSMS_MAILINGSends an SMS to users
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnumSet<BulkActionNature>builtIn()Returns the built-in natures for general usagestatic EnumSet<BulkActionNature>byUsage(BulkActionUsage usage)Returns the natures by usageMessageKeygetMessageKey()BulkActionUsagegetUsage()static EnumSet<BulkActionNature>mailings()static EnumMessageKeyResolver<BulkActionNature>resolverForRunInformation()Returns anEnumMessageKeyResolverfor translations of additional information when when running bulk actionsstatic BulkActionNaturevalueOf(String name)Returns the enum constant of this type with the specified name.static BulkActionNature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHANGE_GROUP
public static final BulkActionNature CHANGE_GROUP
Change users to a new group
-
CHANGE_STATUS
public static final BulkActionNature CHANGE_STATUS
Change users to a new status
-
RESET_PASSWORD
public static final BulkActionNature RESET_PASSWORD
Reset a password of the user
-
CHANGE_FIELD_VALUE
public static final BulkActionNature CHANGE_FIELD_VALUE
Change the value of a custom field
-
REINDEX
public static final BulkActionNature REINDEX
Reindex the user, updating the display / short display and removing custom field values no longer enabled
-
ADJUST_ACCOUNTS
public static final BulkActionNature ADJUST_ACCOUNTS
Creates missing / disposes unneeded user accounts
-
EMAIL_MAILING
public static final BulkActionNature EMAIL_MAILING
Sends an email to users
-
SMS_MAILING
public static final BulkActionNature SMS_MAILING
Sends an SMS to users
-
APP_MAILING
public static final BulkActionNature APP_MAILING
Sends a Firebase cloud message to users (mobile)
-
CUSTOM_OPERATION
public static final BulkActionNature CUSTOM_OPERATION
Run a custom operation
-
-
Method Detail
-
values
public static BulkActionNature[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BulkActionNature c : BulkActionNature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BulkActionNature valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
builtIn
public static EnumSet<BulkActionNature> builtIn()
Returns the built-in natures for general usage
-
byUsage
public static EnumSet<BulkActionNature> byUsage(BulkActionUsage usage)
Returns the natures by usage
-
mailings
public static EnumSet<BulkActionNature> mailings()
-
resolverForRunInformation
public static EnumMessageKeyResolver<BulkActionNature> resolverForRunInformation()
Returns anEnumMessageKeyResolverfor translations of additional information when when running bulk actions
-
getMessageKey
public MessageKey getMessageKey()
- Specified by:
getMessageKeyin interfaceHasMessageKey
-
getUsage
public BulkActionUsage getUsage()
-
-