Package com.skava.log
Class AuditEvents
java.lang.Object
com.skava.log.AuditEvents
Audit actions Definition
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe constants ACTION_ADD_ITEM_TO_LISTstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_ACTIVE_SUBSCRIPTIONstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_ADD_ITEMSstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_ADD_PAYMENTSstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_ADD_PROMOSstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_AGE_VERIFIACTION_UPDATEstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_CALCULATE_SHIPPINGstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_CALCULATE_TAXstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_CREATE_ORDERstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_CREATE_SUBSCRIPTIONstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_DELETE_ITEMstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_DELETE_PAYMENTSstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_DELETE_PROMOSstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_DELIVERY_DETAILS_UPDATEstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_ESTIMATION_ADDRESS_DETAILS_UPDATEstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_PENDING_SUBSCRIPTIONstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_PROPERTIES_DELETEstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_PROPERTIES_UPDATEstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_UPDATEstatic final Stringstatic final StringThe constant ACTION_CART_UPDATE_ITEMstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_UPDATE_PAYMENTSstatic final Stringstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CART_USER_COMMUNICATION_UPDATEstatic final Stringstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CUSTOMER_ADD_ADDRESSstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CUSTOMER_ADD_PAYMENTstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CUSTOMER_CREATEstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CUSTOMER_DELETE_ADDRESSstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CUSTOMER_DELETE_PAYMENTstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CUSTOMER_LOGINstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CUSTOMER_LOGOUTstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CUSTOMER_RESET_PERS_INFOstatic final StringThe constant ACTION_CUSTOMER_RESET_PERS_INFO_BY_SECURITY_QUESTIONSstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CUSTOMER_RESET_PERS_INFO_VALIDATEstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CUSTOMER_UPDATEstatic final StringThe constant ACTION_CUSTOMER_UPDATE_ADDRESSstatic final Stringstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CUSTOMER_UPDATE_PAYMENTstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CUSTOMER_UPDATE_PERS_INFOstatic final Stringstatic final Stringstatic final Stringstatic final StringThe constant ACTION_CUSTOMER_VALIDATE_ACTIVATIONstatic final Stringstatic final Stringstatic final StringThe constant ACTION_DEAFULTstatic final StringThe constant ACTION_GUEST_CREATEstatic final Stringstatic final Stringstatic final StringThe constant ACTION_ORDER_CANCELstatic final Stringstatic final Stringstatic final StringThe constant ACTION_ORDER_RETURNstatic final Stringstatic final Stringstatic final StringThe constants ACTION_REMOVE_ITEM_FROM_LISTstatic final Stringstatic final Stringstatic final StringThe constant ACTION_SESSION_INITIATEstatic final Stringstatic final Stringstatic final StringThe constant ACTION_SESSION_REFRESHstatic final Stringstatic final Stringstatic final StringThe constant ACTION_SUBSCRIPTION_UPDATEstatic final Stringstatic final Stringstatic final StringThe constants ACTION_UPDATE_ITEM_TO_LISTstatic final Stringstatic final Stringstatic final Stringstatic final StringSuffixes -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetMessage(String action, boolean isSuccess) Fetches the action message association with the given action and success flagstatic StringgetMessage(String action, String httpStatusCode) Fetches the message association with the given action and status codestatic StringgetMessage(String action, org.apache.camel.Exchange exchange) Fetches the message association with the given action and exchangestatic StringgetService(String action) Fetches the service name from the actionstatic booleanisInvalidString(String action) Checks the given action is valid or not
-
Field Details
-
ACTION_DEAFULT
The constant ACTION_DEAFULT- See Also:
-
ACTION_CUSTOMER_CREATE
The constant ACTION_CUSTOMER_CREATE- See Also:
-
ACTION_CUSTOMER_CREATE_SUCCESS
- See Also:
-
ACTION_CUSTOMER_CREATE_FAILED
- See Also:
-
ACTION_GUEST_CREATE
The constant ACTION_GUEST_CREATE- See Also:
-
ACTION_GUEST_CREATE_SUCCESS
- See Also:
-
ACTION_GUEST_CREATE_FAILED
- See Also:
-
ACTION_CUSTOMER_LOGIN
The constant ACTION_CUSTOMER_LOGIN- See Also:
-
ACTION_CUSTOMER_LOGIN_SUCCESS
- See Also:
-
ACTION_CUSTOMER_LOGIN_FAILED
- See Also:
-
ACTION_SESSION_INITIATE
The constant ACTION_SESSION_INITIATE- See Also:
-
ACTION_SESSION_INITIATE_SUCCESS
- See Also:
-
ACTION_SESSION_INITIATE_FAILED
- See Also:
-
ACTION_SESSION_REFRESH
The constant ACTION_SESSION_REFRESH- See Also:
-
ACTION_SESSION_REFRESH_SUCCESS
- See Also:
-
ACTION_SESSION_REFRESH_FAILED
- See Also:
-
ACTION_CUSTOMER_LOGOUT
The constant ACTION_CUSTOMER_LOGOUT- See Also:
-
ACTION_CUSTOMER_LOGOUT_SUCCESS
- See Also:
-
ACTION_CUSTOMER_LOGOUT_FAILED
- See Also:
-
ACTION_CUSTOMER_UPDATE
The constant ACTION_CUSTOMER_UPDATE- See Also:
-
ACTION_CUSTOMER_UPDATE_SUCCESS
- See Also:
-
ACTION_CUSTOMER_UPDATE_FAILED
- See Also:
-
ACTION_CUSTOMER_UPDATE_PERS_INFO
The constant ACTION_CUSTOMER_UPDATE_PERS_INFO- See Also:
-
ACTION_CUSTOMER_UPDATE_PERS_INFO_SUCCESS
- See Also:
-
ACTION_CUSTOMER_UPDATE_PERS_INFO_FAILED
- See Also:
-
ACTION_CUSTOMER_ADD_ADDRESS
The constant ACTION_CUSTOMER_ADD_ADDRESS- See Also:
-
ACTION_CUSTOMER_ADD_ADDRESS_SUCCESS
- See Also:
-
ACTION_CUSTOMER_ADD_ADDRESS_FAILED
- See Also:
-
ACTION_CUSTOMER_DELETE_ADDRESS
The constant ACTION_CUSTOMER_DELETE_ADDRESS- See Also:
-
ACTION_CUSTOMER_DELETE_ADDRESS_SUCCESS
- See Also:
-
ACTION_CUSTOMER_DELETE_ADDRESS_FAILED
- See Also:
-
ACTION_CUSTOMER_UPDATE_ADDRESS
The constant ACTION_CUSTOMER_UPDATE_ADDRESS- See Also:
-
ACTION_CUSTOMER_UPDATE_ADDRESS_SUCCESS
- See Also:
-
ACTION_CUSTOMER_UPDATE_ADDRESS_FAILED
- See Also:
-
ACTION_CUSTOMER_ADD_PAYMENT
The constant ACTION_CUSTOMER_ADD_PAYMENT- See Also:
-
ACTION_CUSTOMER_ADD_PAYMENT_SUCCESS
- See Also:
-
ACTION_CUSTOMER_ADD_PAYMENT_FAILED
- See Also:
-
ACTION_CUSTOMER_DELETE_PAYMENT
The constant ACTION_CUSTOMER_DELETE_PAYMENT- See Also:
-
ACTION_CUSTOMER_DELETE_PAYMENT_SUCCESS
- See Also:
-
ACTION_CUSTOMER_DELETE_PAYMENT_FAILED
- See Also:
-
ACTION_CUSTOMER_UPDATE_PAYMENT
The constant ACTION_CUSTOMER_UPDATE_PAYMENT- See Also:
-
ACTION_CUSTOMER_UPDATE_PAYMENT_SUCCESS
- See Also:
-
ACTION_CUSTOMER_UPDATE_PAYMENT_FAILED
- See Also:
-
ACTION_CUSTOMER_RESET_PERS_INFO
The constant ACTION_CUSTOMER_RESET_PERS_INFO- See Also:
-
ACTION_CUSTOMER_RESET_PERS_INFO_SUCCESS
- See Also:
-
ACTION_CUSTOMER_RESET_PERS_INFO_FAILED
- See Also:
-
ACTION_CUSTOMER_RESET_PERS_INFO_VALIDATE
The constant ACTION_CUSTOMER_RESET_PERS_INFO_VALIDATE- See Also:
-
ACTION_CUSTOMER_RESET_PERS_INFO_VALIDATE_SUCCESS
- See Also:
-
ACTION_CUSTOMER_RESET_PERS_INFO_VALIDATE_FAILED
- See Also:
-
ACTION_CUSTOMER_RESET_PERS_INFO_BY_SECURITY_QUESTIONS
The constant ACTION_CUSTOMER_RESET_PERS_INFO_BY_SECURITY_QUESTIONS- See Also:
-
ACTION_CUSTOMER_RESET_PERS_INFO_BY_SECURITY_QUESTIONS_SUCCESS
- See Also:
-
ACTION_CUSTOMER_RESET_PERS_INFO_BY_SECURITY_QUESTIONS_FAILED
- See Also:
-
ACTION_CUSTOMER_VALIDATE_ACTIVATION
The constant ACTION_CUSTOMER_VALIDATE_ACTIVATION- See Also:
-
ACTION_CUSTOMER_VALIDATE_ACTIVATION_SUCCESS
- See Also:
-
ACTION_CUSTOMER_VALIDATE_ACTIVATION_FAILED
- See Also:
-
ACTION_CART_ADD_ITEMS
The constant ACTION_CART_ADD_ITEMS- See Also:
-
ACTION_CART_ADD_ITEMS_SUCCESS
- See Also:
-
ACTION_CART_ADD_ITEMS_FAILED
- See Also:
-
ACTION_CART_CALCULATE_SHIPPING
The constant ACTION_CART_CALCULATE_SHIPPING- See Also:
-
ACTION_CART_CALCULATE_SHIPPING_SUCCESS
- See Also:
-
ACTION_CART_CALCULATE_SHIPPING_FAILED
- See Also:
-
ACTION_CART_CALCULATE_TAX
The constant ACTION_CART_CALCULATE_TAX- See Also:
-
ACTION_CART_CALCULATE_TAX_SUCCESS
- See Also:
-
ACTION_CART_CALCULATE_TAX_FAILED
- See Also:
-
ACTION_CART_DELETE_ITEM
The constant ACTION_CART_DELETE_ITEM- See Also:
-
ACTION_CART_DELETE_ITEM_SUCCESS
- See Also:
-
ACTION_CART_DELETE_ITEM_FAILED
- See Also:
-
ACTION_CART_UPDATE_ITEM
The constant ACTION_CART_UPDATE_ITEM- See Also:
-
ACTION_CART_UPDATE_ITEM_SUCCESS
- See Also:
-
ACTION_CART_UPDATE_ITEM_FAILED
- See Also:
-
ACTION_CART_UPDATE
The constant ACTION_CART_UPDATE- See Also:
-
ACTION_CART_UPDATE_SUCCESS
- See Also:
-
ACTION_CART_UPDATE_FAILED
- See Also:
-
ACTION_CART_USER_COMMUNICATION_UPDATE
The constant ACTION_CART_USER_COMMUNICATION_UPDATE- See Also:
-
ACTION_CART_USER_COMMUNICATION_UPDATE_SUCCESS
- See Also:
-
ACTION_CART_USER_COMMUNICATION_UPDATE_FAILED
- See Also:
-
ACTION_CART_AGE_VERIFIACTION_UPDATE
The constant ACTION_CART_AGE_VERIFIACTION_UPDATE- See Also:
-
ACTION_CART_AGE_VERIFIACTION_UPDATE_SUCCESS
- See Also:
-
ACTION_CART_AGE_VERIFIACTION_UPDATE_FAILED
- See Also:
-
ACTION_CART_DELIVERY_DETAILS_UPDATE
The constant ACTION_CART_DELIVERY_DETAILS_UPDATE- See Also:
-
ACTION_CART_DELIVERY_DETAILS_UPDATE_SUCCESS
- See Also:
-
ACTION_CART_DELIVERY_DETAILS_UPDATE_FAILED
- See Also:
-
ACTION_CART_ESTIMATION_ADDRESS_DETAILS_UPDATE
The constant ACTION_CART_ESTIMATION_ADDRESS_DETAILS_UPDATE- See Also:
-
ACTION_CART_ESTIMATION_ADDRESS_DETAILS_UPDATE_SUCCESS
- See Also:
-
ACTION_CART_ESTIMATION_ADDRESS_DETAILS_UPDATE_FAILED
- See Also:
-
ACTION_CART_PROPERTIES_UPDATE
The constant ACTION_CART_PROPERTIES_UPDATE- See Also:
-
ACTION_CART_PROPERTIES_UPDATE_SUCCESS
- See Also:
-
ACTION_CART_PROPERTIES_UPDATE_FAILED
- See Also:
-
ACTION_CART_PROPERTIES_DELETE
The constant ACTION_CART_PROPERTIES_DELETE- See Also:
-
ACTION_CART_PROPERTIES_DELETE_SUCCESS
- See Also:
-
ACTION_CART_PROPERTIES_DELETE_FAILED
- See Also:
-
ACTION_CART_ADD_PAYMENTS
The constant ACTION_CART_ADD_PAYMENTS- See Also:
-
ACTION_CART_ADD_PAYMENTS_SUCCESS
- See Also:
-
ACTION_CART_ADD_PAYMENTS_FAILED
- See Also:
-
ACTION_CART_UPDATE_PAYMENTS
The constant ACTION_CART_UPDATE_PAYMENTS- See Also:
-
ACTION_CART_UPDATE_PAYMENTS_SUCCESS
- See Also:
-
ACTION_CART_UPDATE_PAYMENTS_FAILED
- See Also:
-
ACTION_CART_DELETE_PAYMENTS
The constant ACTION_CART_DELETE_PAYMENTS- See Also:
-
ACTION_CART_DELETE_PAYMENTS_SUCCESS
- See Also:
-
ACTION_CART_DELETE_PAYMENTS_FAILED
- See Also:
-
ACTION_CART_ADD_PROMOS
The constant ACTION_CART_ADD_PROMOS- See Also:
-
ACTION_CART_ADD_PROMOS_SUCCESS
- See Also:
-
ACTION_CART_ADD_PROMOS_FAILED
- See Also:
-
ACTION_CART_DELETE_PROMOS
The constant ACTION_CART_DELETE_PROMOS- See Also:
-
ACTION_CART_DELETE_PROMOS_SUCCESS
- See Also:
-
ACTION_CART_DELETE_PROMOS_FAILED
- See Also:
-
ACTION_CART_CREATE_ORDER
The constant ACTION_CART_CREATE_ORDER- See Also:
-
ACTION_CART_CREATE_ORDER_SUCCESS
- See Also:
-
ACTION_CART_CREATE_ORDER_FAILED
- See Also:
-
ACTION_CART_CREATE_SUBSCRIPTION
The constant ACTION_CART_CREATE_SUBSCRIPTION- See Also:
-
ACTION_CART_CREATE_SUBSCRIPTION_SUCCESS
- See Also:
-
ACTION_CART_CREATE_SUBSCRIPTION_FAILED
- See Also:
-
ACTION_CART_ACTIVE_SUBSCRIPTION
The constant ACTION_CART_ACTIVE_SUBSCRIPTION- See Also:
-
ACTION_CART_ACTIVE_SUBSCRIPTION_SUCCESS
- See Also:
-
ACTION_CART_ACTIVE_SUBSCRIPTION_FAILED
- See Also:
-
ACTION_CART_PENDING_SUBSCRIPTION
The constant ACTION_CART_PENDING_SUBSCRIPTION- See Also:
-
ACTION_CART_PENDING_SUBSCRIPTION_SUCCESS
- See Also:
-
ACTION_CART_PENDING_SUBSCRIPTION_FAILED
- See Also:
-
ACTION_SUBSCRIPTION_UPDATE
The constant ACTION_SUBSCRIPTION_UPDATE- See Also:
-
ACTION_SUBSCRIPTION_UPDATE_SUCCESS
- See Also:
-
ACTION_SUBSCRIPTION_UPDATE_FAILED
- See Also:
-
ACTION_CREATE_SUBSCRIPTION
- See Also:
-
ACTION_ORDER_CANCEL
The constant ACTION_ORDER_CANCEL- See Also:
-
ACTION_ORDER_CANCEL_SUCCESS
- See Also:
-
ACTION_ORDER_CANCEL_FAILED
- See Also:
-
ACTION_ORDER_RETURN
The constant ACTION_ORDER_RETURN- See Also:
-
ACTION_ORDER_RETURN_SUCCESS
- See Also:
-
ACTION_ORDER_RETURN_FAILED
- See Also:
-
ACTION_ADD_ITEM_TO_LIST
The constants ACTION_ADD_ITEM_TO_LIST- See Also:
-
ACTION_ADD_ITEM_TO_LIST_SUCCESS
- See Also:
-
ACTION_ADD_ITEM_TO_LIST_FAILED
- See Also:
-
ACTION_UPDATE_ITEM_TO_LIST
The constants ACTION_UPDATE_ITEM_TO_LIST- See Also:
-
ACTION_UPDATE_ITEM_TO_LIST_SUCCESS
- See Also:
-
ACTION_UPDATE_ITEM_TO_LIST_FAILED
- See Also:
-
ACTION_REMOVE_ITEM_FROM_LIST
The constants ACTION_REMOVE_ITEM_FROM_LIST- See Also:
-
ACTION_REMOVE_ITEM_FROM_LIST_SUCCESS
- See Also:
-
ACTION_REMOVE_ITEM_FROM_LIST_FAILED
- See Also:
-
SUFFIX_SUCCESS
Suffixes- See Also:
-
SUFFIX_FAILED
- See Also:
-
-
Method Details
-
getService
Fetches the service name from the action- Parameters:
action- Holds the action- Returns:
- service associated with the action
-
getMessage
Fetches the action message association with the given action and success flag- Parameters:
action- Holds the actionisSuccess- It Refers to the Boolean value- Returns:
- message for the action and the flag
-
getMessage
Fetches the message association with the given action and status code- Parameters:
action- Holds the actionhttpStatusCode- Holds the Http status code- Returns:
- message for the action and status code
-
getMessage
Fetches the message association with the given action and exchange- Parameters:
action- Holds the actionexchange- Holds the exchange- Returns:
- message for the action and exchange
-
isInvalidString
Checks the given action is valid or not- Parameters:
action- Holds the action value- Returns:
- flag
-