175 lines
8.3 KiB
C#
175 lines
8.3 KiB
C#
// Copyright (c) 2011, Outercurve Foundation.
|
|
// All rights reserved.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without modification,
|
|
// are permitted provided that the following conditions are met:
|
|
//
|
|
// - Redistributions of source code must retain the above copyright notice, this
|
|
// list of conditions and the following disclaimer.
|
|
//
|
|
// - Redistributions in binary form must reproduce the above copyright notice,
|
|
// this list of conditions and the following disclaimer in the documentation
|
|
// and/or other materials provided with the distribution.
|
|
//
|
|
// - Neither the name of the Outercurve Foundation nor the names of its
|
|
// contributors may be used to endorse or promote products derived from this
|
|
// software without specific prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
|
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
namespace WebsitePanel.Providers.HostedSolution
|
|
{
|
|
public class CrmErrorCodes
|
|
{
|
|
public const string CRM_SQL_SERVER_ERROR = "CRM_SQL_SERVER_ERROR";
|
|
|
|
public const string CRM_ORGANIZATION_ALREADY_EXISTS = "CRM_ORGANIZATION_ALREADY_EXISTS";
|
|
|
|
public const string CRM_REPORT_SERVER_ERROR = "CRM_REPORT_SERVER_ERROR";
|
|
|
|
public const string CRM_PERMISSIONS_ERROR = "CRM_PERMISSIONS_ERROR";
|
|
|
|
public const string CANNOT_CREATE_CRM_ORGANIZATION = "CANNOT_CREATE_CRM_ORGANIZATION";
|
|
|
|
public const string DNS_SERVER_IS_NOT_SELECTED_IN_HOSTIN_PLAN = "DNS_SERVER_IS_NOT_SELECTED_IN_HOSTIN_PLAN";
|
|
|
|
public const string CANNOT_CREATE_CRM_ORGANIZATION_DOMAIN = "CANNOT_CREATE_CRM_ORGANIZATION_DOMAIN";
|
|
|
|
public const string CANNOT_CREATE_DNS_ZONE = "CANNOT_CREATE_DNS_ZONE";
|
|
|
|
public const string CREATE_CRM_ORGANIZATION_DOMAIN_GENERAL_ERROR = "CREATE_CRM_ORGANIZATION_DOMAIN_GENERAL_ERROR";
|
|
|
|
public const string CREATE_CRM_ORGANIZATION_GENERAL_ERROR = "CREATE_CRM_ORGANIZATION_GENERAL_ERROR";
|
|
|
|
public const string CANNOT_CHANGE_CRM_ORGANIZATION_STATE = "CANNOT_CHANGE_CRM_ORGANIZATION_STATE";
|
|
|
|
public const string CANNOT_DELETE_CRM_ORGANIZATION = "CANNOT_DELETE_CRM_ORGANIZATION";
|
|
|
|
public const string DELETE_CRM_ORGANIZATION_GENERAL_ERROR = "DELETE_CRM_ORGANIZATION_GENERAL_ERROR";
|
|
|
|
public const string CRM_LICENSE_NOT_FOUND = "CRM_LICENSE_NOT_FOUND";
|
|
|
|
public const string CRM_LICENSE_BLOCKED = "CRM_LICENSE_BLOCKED";
|
|
|
|
public const string DELETE_DNS_RECORD_ERROR = "DELETE_DNS_RECORD_ERROR";
|
|
|
|
public const string CANNOT_DELETE_DNS_RECORD = "CANNOT_DELETE_DNS_RECORD";
|
|
|
|
public const string CANNOT_DELETE_CRM_ORGANIZATIO_DOMAIN = "CANNOT_DELETE_CRM_ORGANIZATIO_DOMAIN";
|
|
|
|
public const string DELETE_CRM_ORGANIZATION_DOMAIN_GENERAL_ERROR = "DELETE_CRM_ORGANIZATION_DOMAIN_GENERAL_ERROR";
|
|
|
|
public const string CANNOT_GET_CRM_ORGANIZATION_DOMAIN = "CANNOT_GET_CRM_ORGANIZATION_DOMAIN";
|
|
|
|
public const string QUOTA_HAS_BEEN_REACHED = "QUOTA_HAS_BEEN_REACHED";
|
|
|
|
public const string CANNOT_SET_DATABASE_COLLATION = "CANNOT_SET_DATABASE_COLLATION";
|
|
|
|
public const string CANNOT_DELETE_CRM_ORGANIZATION_DATABASE = "CANNOT_DELETE_CRM_ORGANIZATION_DATABASE";
|
|
|
|
public const string CANNOT_CONFIGURE_CRM_ORGANIZATION = "CANNOT_CONFIGURE_CRM_ORGANIZATION";
|
|
|
|
public const string CANNOT_SET_ORGANIZATION_CURRENCY = "CANNOT_SET_ORGANIZATION_CURRENCY";
|
|
|
|
public const string CANNOT_CREATE_CRM_REPORT = "CANNOT_CREATE_CRM_REPORT";
|
|
|
|
public const string CANNOT_APPLY_CRM_UPDATES = "CANNOT_APPLY_CRM_UPDATES";
|
|
|
|
public const string CANNOT_ENABLE_CRM_ORGANIZATION = "CANNOT_ENABLE_CRM_ORGANIZATION";
|
|
|
|
public const string CANNOT_CREATE_CRM_ORGANIZATION_DATABASE = "CANNOT_CREATE_CRM_ORGANIZATION_DATABASE";
|
|
|
|
public const string CANNOT_CHECK_QUOTAS = "CANNOT_CHECK_QUOTAS";
|
|
|
|
public const string CRM_IS_NOT_SELECTED_IN_HOSTING_PLAN = "CRM_IS_NOT_SELECTED_IN_HOSTING_PLAN";
|
|
|
|
public const string CANNOT_GET_COLLATION_NAMES = "CANNOT_GET_COLLATION_NAMES";
|
|
|
|
public const string CANNOT_GET_CURRENCY_LIST = "CANNOT_GET_CURRENCY_LIST";
|
|
|
|
public const string GET_CRM_USERS = "GET_CRM_USERS";
|
|
|
|
public const string GET_CRM_USER_COUNT = "GET_CRM_USER_COUNT";
|
|
|
|
public const string CANNOT_CREATE_CRM_USER = "CANNOT_CREATE_CRM_USER";
|
|
|
|
public const string CANNOT_CREATE_CRM_USER_GENERAL_ERROR = "CANNOT_CREATE_CRM_USER_GENERAL_ERROR";
|
|
|
|
public const string CANNOT_CREATE_CRM_USER_IN_DATABASE = "CANNOT_CREATE_CRM_USER_IN_DATABASE";
|
|
|
|
public const string CANNOT_GET_CRM_SERVICE = "CANNOT_GET_CRM_SERVICE";
|
|
|
|
public const string CANNOT_GET_CRM_BUSINESS_UNITS = "CANNOT_GET_CRM_BUSINESS_UNITS";
|
|
|
|
public const string CANNOT_FILL_BASE_UNITS_COLLECTION = "CANNOT_FILL_BASE_UNITS_COLLECTION";
|
|
|
|
public const string CANNOT_GET_BUSINESS_UNITS_GENERAL_ERROR = "CANNOT_GET_BUSINESS_UNITS_GENERAL_ERROR";
|
|
|
|
public const string CANNOT_GET_CRM_ORGANIZATION = "CANNOT_GET_CRM_ORGANIZATION";
|
|
|
|
public const string CANNOT_GET_ALL_CRM_ROLES = "CANNOT_GET_ALL_CRM_ROLES";
|
|
|
|
public const string CANNOT_FILL_ROLES_COLLECTION = "CANNOT_FILL_ROLES_COLLECTION";
|
|
|
|
public const string CANNOT_GET_CRM_USER_ROLES = "CANNOT_GET_CRM_USER_ROLES";
|
|
|
|
public const string GET_ORGANIZATION_BUSINESS_UNITS_GENERAL_ERROR = "GET_ORGANIZATION_BUSINESS_UNITS_GENERAL_ERROR";
|
|
|
|
public const string GET_ALL_CRM_ROLES_GENERAL_ERROR = "GET_ALL_CRM_ROLES_GENERAL_ERROR";
|
|
|
|
public const string GET_CRM_USER_ROLE_GENERAL_ERROR = "GET_CRM_USER_ROLE_GENERAL_ERROR";
|
|
|
|
public const string CANNOT_REMOVE_CRM_USER_ROLES = "CANNOT_REMOVE_CRM_USER_ROLES";
|
|
|
|
public const string CANNOT_ASSIGN_CRM_USER_ROLES = "CANNOT_ASSIGN_CRM_USER_ROLES";
|
|
|
|
public const string CANNOT_SET_CRM_USER_ROLES_GENERAL_ERROR = "CANNOT_SET_CRM_USER_ROLES_GENERAL_ERROR";
|
|
|
|
public const string CREATE_CRM_USER_GENERAL_ERROR = "CREATE_CRM_USER_GENERAL_ERROR";
|
|
|
|
public const string FIRST_NAME_IS_NOT_SPECIFIED = "FIRST_NAME_IS_NOT_SPECIFIED";
|
|
|
|
public const string LAST_NAME_IS_NOT_SPECIFIED = "LAST_NAME_IS_NOT_SPECIFIED";
|
|
|
|
public const string CRM_USER_ALREADY_EXISTS = "CRM_USER_ALREADY_EXISTS";
|
|
|
|
public const string CANNOT_GET_CRM_ROLES_GENERAL_ERROR = "CANNOT_GET_CRM_ROLES_GENERAL_ERROR";
|
|
|
|
public const string CHECK_QUOTA = "CHECK_QUOTA";
|
|
|
|
public const string USER_QUOTA_HAS_BEEN_REACHED = "USER_QUOTA_HAS_BEEN_REACHED";
|
|
|
|
public const string CANNOT_ADD_ORGANIZATION_OWNER_TO_ORGANIZATIO_USER =
|
|
"CANNOT_ADD_ORGANIZATION_OWNER_TO_ORGANIZATIO_USER";
|
|
|
|
public const string CANONT_GET_CRM_USER_BY_DOMAIN_NAME = "CANONT_GET_CRM_USER_BY_DOMAIN_NAME";
|
|
|
|
public const string CANNOT_DISABLE_USER_FEATURES = "CANNOT_DISABLE_USER_FEATURES";
|
|
|
|
public const string CANNOT_DELETE_CRM_ORGANIZATION_METADATA = "CANNOT_DELETE_CRM_ORGANIZATION_METADATA";
|
|
|
|
public const string CANONT_GET_CRM_USER_BY_ID = "CANONT_GET_CRM_USER_BY_ID";
|
|
|
|
public const string CRM_WEB_SERVICE_ERROR = "CRM_WEB_SERVICE_ERROR";
|
|
|
|
public const string CANNOT_CHANGE_USER_STATE = "CANNOT_CHANGE_USER_STATE";
|
|
|
|
public const string CANNOT_CHANGE_USER_STATE_GENERAL_ERROR = "CANNOT_CHANGE_USER_STATE_GENERAL_ERROR";
|
|
|
|
public const string CANONT_GET_CRM_USER_FROM_METADATA = "CANONT_GET_CRM_USER_FROM_METADATA";
|
|
|
|
public const string CANONT_GET_CRM_USER_GENERAL_ERROR = "CANONT_GET_CRM_USER_GENERAL_ERROR";
|
|
|
|
|
|
|
|
}
|
|
}
|