Package org.cyclos.model.banking
Enum TransSearchContext
- java.lang.Object
-
- java.lang.Enum<TransSearchContext>
-
- org.cyclos.model.banking.TransSearchContext
-
- All Implemented Interfaces:
Serializable,Comparable<TransSearchContext>,HasMessageKey
public enum TransSearchContext extends Enum<TransSearchContext> implements HasMessageKey
The transactions/installments/transfers search contexts, used to show the transaction custom fields as search filter or in the result list.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTALLMENTS_OVERVIEWPENDING_MY_AUTHORIZATIONSYSTEM_INSTALLMENTSSYSTEM_TRANSACTIONSTRANSACTIONS_OVERVIEWTRANSFERS_OVERVIEWUSER_INSTALLMENTSUSER_TRANSACTIONS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageKeygetMessageKey()booleanisOverview()static TransSearchContextvalueOf(String name)Returns the enum constant of this type with the specified name.static TransSearchContext[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER_TRANSACTIONS
public static final TransSearchContext USER_TRANSACTIONS
-
USER_INSTALLMENTS
public static final TransSearchContext USER_INSTALLMENTS
-
SYSTEM_TRANSACTIONS
public static final TransSearchContext SYSTEM_TRANSACTIONS
-
SYSTEM_INSTALLMENTS
public static final TransSearchContext SYSTEM_INSTALLMENTS
-
TRANSACTIONS_OVERVIEW
public static final TransSearchContext TRANSACTIONS_OVERVIEW
-
TRANSFERS_OVERVIEW
public static final TransSearchContext TRANSFERS_OVERVIEW
-
INSTALLMENTS_OVERVIEW
public static final TransSearchContext INSTALLMENTS_OVERVIEW
-
PENDING_MY_AUTHORIZATION
public static final TransSearchContext PENDING_MY_AUTHORIZATION
-
-
Method Detail
-
values
public static TransSearchContext[] 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 (TransSearchContext c : TransSearchContext.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransSearchContext 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
-
getMessageKey
public MessageKey getMessageKey()
- Specified by:
getMessageKeyin interfaceHasMessageKey
-
isOverview
public boolean isOverview()
-
-