AIAConstants.cs
4.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace AIAHTML5.API.Constants
{
public class AIAConstants
{
public const string ERROR_IN_FECTHING_DETAILS = "Error in fecthing details.";
public const string USER_NOT_FOUND = "User not found.";
public const string MAIL_NOT_SENT = "Mail not sent.";
public const string MAIL_SENT = "Mail sent.";
public const string EXCEPTION_OCCURED = "We are facing some issue. Please try to login after sometime.";
public const string EXCEPTION_IN_AIAHTML5_MAIL_SUBJECT = "Exception Occuredin AIAHTML5.";
public const string SQL_CONNECTION_ERROR = "We are unable to connect with database. Please contact customer support.";
public const string SQL_CONNECTION_ERROR_MAIL_SUBJECT = "SQL Connection error in AIAHTML5.";
public const string KEY_ID = "id";
public const string KEY_TITLE = "title";
public const string KEY_NAME = "name";
public const string KEY_SLUG = "slug";
public const string KEY_DESCRIPTION = "Description";
public const string PASSWORD_UPDATE_SUCCESS = "Password updated successfully";
public const string PASSWORD_UPDATE_FAILED = "Password update failed";
public const string INVALID_USER = "Invalid UserID";
public const string LICENSE_TERM_CONDITION_UPDATE_SUCCESS = "License Term Accepted field updated successfully.";
public const string LICENSE_TERM_CONDITION_UPDATE_FAILED = "License Term Accepted field update failed.";
public const string EXPORTED_IMAGE_INSERT_FAILED = "Image not Exported.";
public const string KEY_CONTENT = "content";
public const string LICENSE_KEY_ID = "LicenseId";
public const string EDITION_KEY_ID = "EditionId";
public const string USER_UNBLOCK_SUCCESS = "User unblocked";
public const string USER_UNBLOCK_FAILED = "Unblock operation failed";
public const string UNABLE_TO_UNBLOCK = "We are unable to unblock. Please try after sometime.";
public const string FORGOT_USERID_EMAIL_SUBJECT = "UserID recovery mail for:";
public const string FORGOT_PASSWORD_EMAIL_SUBJECT = "Password recovery mail for:";
public const string UNBLOCK_USER_EMAIL_SUBJECT = "Unblock user request mail for:";
public const string LAB_EXERCISE_SAVE_SUCCESS = "Your lab exercise attempt is saved.";
public const string LAB_EXERCISE_SAVE_FAILURE = "We are unable to save your lab exercise attempt, please try again.";
public const string SAVED_LAB_EXERCISE_NOT_FOUND = "Saved Lab Exercise not found.";
public const string NO_COURSE_FOUND = "NO COURSE FOUND";
public const string VALIDATED_CLIENT = "Valid Client.";
public const string INVALID_CLIENT = "InValid Client.";
public const string MSG_NOT_AUTHORIZE_SITE_USER = "User is not authorized.";
public const string SETTINGS_SAVE_FAILURE = "We are unable to save your Settings. Please try again.";
public const string STATUS_OK = "ok";
public const string STATUS_NOT_OK = "notok";
public const int NO_ERROR = 0;
public const int RUN_TIME_EXCEPTION = 10000;
public const String SITE_IP = "siteIP";
public const String SITE_ID = "siteId";
public const String TERM_CONDITION = "termCondition";
public const String MODESTY_SETTING = "modestySetting";
public const Byte SUPER_ADMIN = 1;
public const Byte GENERAL_ADMIN = 2;
public const String USER_NAME = "username";
public const String PASSWORD = "password";
public const String ERROR_ID = "errorId";
public const String LICENSE_ACTIVE = "licenceActive";
public const String ACCOUNT_NUMBER = "accountNumber";
public const String LICENSE_TYPE_ID = "licenceTypeId";
public const String TOTAL_LOGIN = "totalLogin";
public const String EDITION_ID = "editionId";
public const String URL_REFERER = "urlReferer";
public const String USER_CONTEXT = "usercontext";
public const Byte CONCURRENT_USER = 6;
public const Byte SINGLE_USER = 5;
public const Byte SITE_USER = 9;
public const String LICENSE_ID = "licenseId";
public const Byte LICENSE_TYPE_CONCURRENT = 1;
public const Byte LICENSE_TYPE_SINGLE = 2;
public const Byte LICENSE_TYPE_SITE = 3;
public const Byte LICENSE_TYPE_RESELLER = 4;
public const Byte LICENSE_TYPE_TEST = 5;
}
}