logActionTypeValueOf function

NUILogActionType logActionTypeValueOf(
  1. int value
)

Implementation

NUILogActionType logActionTypeValueOf(int value){
  switch(value){
    case 1000: return NUILogActionType.LOGIN;
    case 1002: return NUILogActionType.LOGOUT;
    case 1004: return NUILogActionType.VIEW;
    case 1006: return NUILogActionType.UPDATE;
    case 1008: return NUILogActionType.ADD;
    case 1010: return NUILogActionType.DELETE;
    case 1012: return NUILogActionType.EXPORT;
    case 1014: return NUILogActionType.GRANT;
    case 1016: return NUILogActionType.REVOKE;
    case 1018: return NUILogActionType.SUBMIT;
    case 1020: return NUILogActionType.APPROVE;
    case 1022: return NUILogActionType.REJECT;
    default: return NUILogActionType.OTHER;
  }
}