Package org.cyclos.model.system.imports
Enum ImportSearchContext
- java.lang.Object
-
- java.lang.Enum<ImportSearchContext>
-
- org.cyclos.model.system.imports.ImportSearchContext
-
- All Implemented Interfaces:
Serializable,Comparable<ImportSearchContext>
public enum ImportSearchContext extends Enum<ImportSearchContext>
Represent the available contexts imports can be searched
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BANKINGGeneral banking importsSYSTEMGeneral, system importsUSER_PAYMENTSUser-specific batch paymentsUSER_SEND_VOUCHERSUser-specific send multiple vouchers
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageKeygetHeadingKey()List<ImportType>getImportTypes()booleanisUserSpecific()static ImportSearchContextvalueOf(String name)Returns the enum constant of this type with the specified name.static ImportSearchContext[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYSTEM
public static final ImportSearchContext SYSTEM
General, system imports
-
BANKING
public static final ImportSearchContext BANKING
General banking imports
-
USER_PAYMENTS
public static final ImportSearchContext USER_PAYMENTS
User-specific batch payments
-
USER_SEND_VOUCHERS
public static final ImportSearchContext USER_SEND_VOUCHERS
User-specific send multiple vouchers
-
-
Method Detail
-
values
public static ImportSearchContext[] 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 (ImportSearchContext c : ImportSearchContext.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImportSearchContext 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
-
getHeadingKey
public MessageKey getHeadingKey()
-
getImportTypes
public List<ImportType> getImportTypes()
-
isUserSpecific
public boolean isUserSpecific()
-
-