Constant Field Values


Contents
com.platform.*

com.platform.api.CONSTANTS.DOCUMENT
public static final String HTML "HTML"
public static final String PDF "PDF"

com.platform.api.CONSTANTS.FILTER
public static final String CONTAINS "contains"
public static final String ENDSWITH "ends with"
public static final String EQ "equals"
public static final String GT "greater than"
public static final String GTEQ "greater than equals"
public static final String LT "less than"
public static final String LTEQ "less than equals"
public static final String NOTCONTAINS "not contains"
public static final String NOTEQ "not equal to"
public static final String NOTSTARTSWITH "does not start with"
public static final String STARTSWITH "starts with"

com.platform.api.CONSTANTS.FILTER.BINOP
public static final String AND "and"
public static final String OR "or"

com.platform.api.CONSTANTS.FILTER.NODETYPE
public static final int OPERAND 1
public static final int OPERATOR 2

com.platform.api.CONSTANTS.FILTER.TYPE
public static final String DYNAMIC_FILTERS "DYNAMIC_FILTERS"
public static final String STATIC_FILTERS "STATIC_FILTERS"

com.platform.api.CONSTANTS.HTTP.METHOD
public static final int DELETE 4
public static final int GET 1
public static final int POST 3
public static final int PUT 2

com.platform.api.CONSTANTS.IMPORT
public static final String ALWAYS_USE_POLICY "ALWAYS_USE_POLICY"
public static final String ASSOCIATE_OPPORTUNITY_BASED_ON_ACCOUNT_NAME "ASSOCIATE_OPPORTUNITY_BASED_ON_ACCOUNT_NAME"
public static final String ASSOCIATE_OPPORTUNITY_BASED_ON_ACCOUNT_NUMBER "ASSOCIATE_OPPORTUNITY_BASED_ON_ACCOUNT_NUMBER"
public static final String ASSOCIATE_OPPORTUNITY_BASED_ON_PROSPECT_NAME "ASSOCIATE_OPPORTUNITY_BASED_ON_PROSPECT_NAME"
public static final String DO_NOT_MERGE "DO_NOT_MERGE"
public static final String DO_NOT_USE_POLICY "DO_NOT_USE_POLICY"
public static final String DUNS_LEAD_PROVIDER "DUNS"
public static final String MATCH_BY_LOOKUP_FK "MATCH_BY_LOOKUP_FOREIGN_KEY"
public static final String MATCH_BY_LOOKUP_ID "MATCH_BY_LOOKUP_ID"
public static final String MATCH_BY_LOOKUP_NAME "MATCH_BY_LOOKUP_RECORD_LOCATOR"
public static final String MERGE_USING_ACOUNT_NAME "MERGE_USING_ACOUNT_NAME"
public static final String MERGE_USING_ACOUNT_NAME_AND_STREET_ADDRESS "MERGE_USING_ACOUNT_NAME_AND_STREET_ADDRESS"
public static final String MERGE_USING_ACOUNT_NUMBER "MERGE_USING_ACOUNT_NUMBER"
public static final String MERGE_USING_PRIMARY_KEY "MERGE_USING_PRIMARY_KEY"
public static final String MERGE_USING_PROSPECT_NAME "MERGE_USING_PROSPECT_NAME"
public static final String MERGE_USING_PROSPECT_NAME_AND_STREET_ADDR "MERGE_USING_PROSPECT_NAME_AND_STREET_ADDR"
public static final String MERGE_USING_RECORD_ID "MERGE_USING_RECORD_ID"
public static final String NO_LEAD_PROVIDER "NO_LEAD_PROVIDER"
public static final String USE_POLICY_IF_OWNERSHIP_CANNOT_BE_DETERMINED "USE_POLICY_IF_OWNERSHIP_CANNOT_BE_DETERMINED"

com.platform.api.CONSTANTS.PACKAGE
public static final String UPGRADE_ROLE_WITH_IGNORE_OPTION "ignore"
public static final String UPGRADE_ROLE_WITH_MERGE_OPTION "merge"
public static final String UPGRADE_ROLE_WITH_OVERRIDE_OPTION "override"

com.platform.api.CONSTANTS.POLICY.ACTION
public static final String ADD "add"
public static final String CHANGE_OWNER "change_custom_object"
public static final String CHANGE_WORKFLOW_STATE "workflow_status_change"
public static final String CONVERT "convert"
public static final String DELETE "delete"
public static final String IMPORT_BATCH "batch_import"
public static final String IMPORT_RECORD "import"
public static final String LOGIN "login"
public static final String LOGOUT "logout"
public static final String MERGE "merge"
public static final String ON_DUEDATE "on_due_date"
public static final String ON_SEARCH "on_search"
public static final String ON_VIEW "on_view"
public static final String PASSWORD_CHANGE "password_change"
public static final String PASSWORD_RESET "reset"
public static final String PRINT "print"
public static final String PROXY_LOGIN "proxy"
public static final String SELF_UPDATE "selfedit"
public static final String UPDATE "update"
public static final String USERTEAMADD "user_team_attach"
public static final String USERTEAMDELETE "user_team_remove"
public static final String USERTEAMUPDATE "user_team_edit"

com.platform.api.CONSTANTS.POLICY.ACTIVATION
public static final int AFTER 1
public static final int BEFORE 0

com.platform.api.CONSTANTS.RECORD
public static final String RESULT "VIEW_RESULT"

com.platform.api.CONSTANTS.SEARCH
public static final String NUMBER_OF_ROWS "number_of_rows"
public static final String OFFSET "offset"
public static final String SEARCH_RESULTS "SEARCH_RESULTS"
public static final String SORT_ASCENDING "asc"
public static final String SORT_BY_FIELD "column_data_sort_by"
public static final String SORT_BY_FIELD_2 "column_data_sort_by_2"
public static final String SORT_BY_ORDER "column_data_sort_order"
public static final String SORT_BY_ORDER_2 "column_data_sort_order_2"
public static final String SORT_DESCENDING "desc"

com.platform.api.CONSTANTS.SOCIAL
public static final int CUSTOM_ACTION_TYPE_LINK 2
public static final int CUSTOM_ACTION_TYPE_PAGE 1
public static final int FEED_TO_TYPE_FEED 5
public static final int FEED_TO_TYPE_FILE 4
public static final int FEED_TO_TYPE_GROUP 2
public static final int FEED_TO_TYPE_RECORD 3
public static final int FEED_TO_TYPE_USER 1
public static final int NOTIFICATION_TYPE_LIKE 3
public static final String NOTIFICATION_TYPE_LIKE_STRING "like"
public static final int NOTIFICATION_TYPE_POSTING 1
public static final String NOTIFICATION_TYPE_POSTING_STRING "posting"
public static final int NOTIFICATION_TYPE_SOCIAL 1
public static final int NOTIFICATION_TYPE_SYSTEM 2
public static final String TO_TYPE_FEED_STRING "posting"
public static final String TO_TYPE_FILE_STRING "document"
public static final String TO_TYPE_GROUP_STRING "group"
public static final String TO_TYPE_RECORD_STRING "record"
public static final String TO_TYPE_USER_STRING "user"

com.platform.api.CONSTANTS.STATUS
public static final int COMPLETED 4
public static final String EXPORT "exportStatus"
public static final String IMPORT "import"
public static final int IN_PROCESS_QUEUE 1
public static final String PACKAGE_DEPLOY "packageDeploy"
public static final int STARTED 3
public static final int STOPPED 5
public static final int WAITING_TO_BE_STOPPED 2

com.platform.api.CONSTANTS.TRANSLATION_ELEMENTS
public static final String CUSTOM_LABEL "customlabel"

com.platform.api.ENV.COMMUNITY.TENANT
public static final String ID "COMMUNITY_TENANT_ID"

com.platform.api.ENV.ISV
public static final String RECAPTCHA_PUBLIC_KEY "RECAPTCHA_PUBLIC_KEY"
public static final String RECAPTCHA_PUBLIC_KEY_ALT1 "RECAPTCHA_PUBLIC_KEY_ALT1"

com.platform.api.ENV.MSP
public static final String ID "MSP_ID"

com.platform.api.ENV.SESSION
public static final String ID "SESSION_ID"

com.platform.api.ENV.USER
public static final String COMPANY_NAME "COMPANY_NAME"
public static final String EMAIL "EMAIL"
public static final String FULL_NAME "FULL_NAME"
public static final String ID "USER_ID"
public static final String TENANT_ID "TENANT_ID"
public static final String TIME_ZONE "TIME_ZONE"
public static final String USER_NAME "USER_NAME"

com.platform.api.Logger
public static final int DEBUG 2
public static final int ERROR 5
public static final int FATAL 6
public static final int INFO 3
public static final int TRACE 1
public static final int WARN 4

com.platform.api.ObjectInterface
public static final String OBJECT_NAME "object_name"
public static final String OWNER_ID "owner_id"

com.platform.api.PLATFORM.PARAMS.RECORD
public static final String ACTION "a"
public static final String DO_NOT_EXEC_DATA_POLICY "PLATFORM.PARAMS.RECORD.DO_NOT_EXEC_DATA_POLICY"
public static final String ENABLE_MULTIPART "PLATORM.PARAMS.RECORD.ENABLE_MULTIPART"
public static final String ENABLE_MULTIPART_REQUEST "PLATFORM.PARAMS.RECORD.ENABLE_MULTIPART"
public static final String RECORD_PERMISSIONS "PLATFORM.PARAMS.RECORD.RECORD_PERMISSIONS"
public static final String RETRIEVE_RECORD_PERMISSIONS "PLATFORM.PARAMS.RECORD.RETRIEVE_RECORD_PERMISSIONS"

com.platform.api.PlatformException.CODE.ACTIVITY
public static final int INVALID_ROLE_ID -6500

com.platform.api.PlatformException.CODE.APPLICATIONACCESS
public static final int INVALID_APPLICATION_ID -7500
public static final int INVALID_RELATIONSHIP -7600

com.platform.api.PlatformException.CODE.AUTH
public static final int INVALID_ISV_LOGIN -102
public static final int INVALID_LOGIN_CREDENTIALS -100
public static final int MOBILE_ACCESS_NOT_ENABLED -103
public static final int NOT_CASE_DYNAMICS_TENANT -107
public static final int OAUTH_GENERAL_FAILURE -105
public static final int OAUTH_NO_CREDENTIALS -106
public static final int OAUTH_NO_MATCHING_ACCOUNT -104
public static final int USER_NOT_LOGGED_IN -101

com.platform.api.PlatformException.CODE.CLASS
public static final int CLASS_NOT_FOUND -900
public static final int COULD_NOT_INSTANTIATE -901
public static final int ILLEGAL_ARGUMENT_FOR_METHOD -903
public static final int INVALID_GLOBAL_CLASS -904
public static final int NO_SUCH_METHOD -902

com.platform.api.PlatformException.CODE.DATAPOLICY
public static final int DP_DOES_NOT_EXIST -4500
public static final int INVALID_DP_ACTION -4501
public static final int INVALID_OBJECT_ID_OF_ADD_RECORD_ACTION -4502

com.platform.api.PlatformException.CODE.DOCUMENT.UPLOAD
public static final int FILENAME_NOT_SPECIFIED -1200

com.platform.api.PlatformException.CODE.FIELD
public static final int FORMULA_NO_SYNTAX_ERROR -786
public static final int INVALID_BOOLEAN -704
public static final int INVALID_DEPENDENT_PICKLIST_ITEM_ID -708
public static final int INVALID_ENUMERATED_TYPE_ITEM_ID -707
public static final int INVALID_FIELD_NAME -702
public static final int INVALID_FIELD_TYPE -700
public static final int INVALID_LOOKUP_OBJECT_ID -703
public static final int INVALID_MULTI_OBJECT_LOOKUP_OBJECT_ID -710
public static final int INVALID_PARENT_PICKLIST_FIELD_ID -709
public static final int INVALID_PARENT_PICKLIST_ID -701
public static final int INVALID_PICKLIST_ITEM_LABEL -705
public static final int INVALID_PICKLIST_ITEM_VALUE -704
public static final int INVALID_PICKLIST_NAME -706
public static final int PROVIDE_FORMULA -787

com.platform.api.PlatformException.CODE.FILTER
public static final int INVALID_OPERATOR -4100

com.platform.api.PlatformException.CODE.FORM
public static final int ADD_ACTION_NOT_ALLOWED -501
public static final int DELETE_ACTION_NOT_ALLOWED -503
public static final int EDIT_ACTION_NOT_ALLOWED -502
public static final int VIEW_ACTION_NOT_ALLOWED -500

com.platform.api.PlatformException.CODE.IMPORT
public static final int FIELD_IN_MAPPED_COLUMNS_DOES_NOT_EXIST -57
public static final int INVALID_CSV_COLUMN_NUMBER -58
public static final int INVALID_DEFAULT_OWNER_ID_SELECTED -54
public static final int INVALID_JOB_ID -51
public static final int INVALID_MAPPING_PROFILE_NAME -52
public static final int INVALID_MERGE_OPTION_FOR_ACCOUNTS -55
public static final int INVALID_OBJECT_ID -50
public static final int INVALID_PROPSECT_OWNER_ASSIGNMENT_OPTION -56
public static final int PLEASE_PROVIDE_ADVANCED_MAPPING_OPTIONS -53

com.platform.api.PlatformException.CODE.INDEX
public static final int INAVALID_INDEX_NAME -7000

com.platform.api.PlatformException.CODE.INTERNAL
public static final int NO_PERMISSIONS_FOR_THIS_OPERATION -2
public static final int UNKNOWN -1

com.platform.api.PlatformException.CODE.MARKETPLACE
public static final int INVALID_TYPE -5900

com.platform.api.PlatformException.CODE.OBJECT
public static final int INVALID_ALIAS -202
public static final int INVALID_CUSTOM_OBJECT_NAME_OR_ID -203
public static final int INVALID_OBJECT_NAME_OR_ID -200
public static final int INVALID_PARENT_OBJECT_NAME_OR_ID -201

com.platform.api.PlatformException.CODE.PACKAGE
public static final int BILLING_SUBSCRIPTION -4002
public static final int ERROR_DEPLOY_TIME -4007
public static final int ERROR_DOWNLOADING -4000
public static final int ERROR_FILENAME -4001
public static final int ERROR_PACKAGE_ITEM_ID -4009
public static final int ERROR_PACKAGE_ITEM_LISTENERID -4010
public static final int ERROR_PACKAGE_ITEM_TYPE -4008
public static final int ERROR_PACKAGEID -4005
public static final int ERROR_PERMISSION -4003
public static final int ERROR_SUBSCRIBE_PARAMS -4004
public static final int ERROR_TENANTID -4006

com.platform.api.PlatformException.CODE.PERMISSION
public static final int CANNOT_MANAGE_USER -800
public static final int FORBIDDEN -850

com.platform.api.PlatformException.CODE.PLATFORMSQLAPI
public static final int AMBIGUOUS_COLUMN -6002
public static final int COLUM_DOES_NOT_EXIST -6001
public static final int EMPTY_SQL -6006
public static final int FIELD_VISIBILITY_NO_PERMISSION -6005
public static final int INVALID_ALIAS -6012
public static final int LIMIT_CLAUSE_MAX_ROWS -6000
public static final int NO_PERMISSION_TO_VIEW_RESOURCE -6011
public static final int PROVIDE_ALIAS -6003
public static final int SPECIFY_ALIAS_FOR_TABLE -6008
public static final int SQL_EXCEEDS_EXECUTION_TIME_THRESHOLD -6007
public static final int SQL_SYNTAX_EXCEPTION -6010
public static final int TABLE_DOES_NOT_EXIST -6009
public static final int TOO_MANY_STARS -6004

com.platform.api.PlatformException.CODE.RECAPTCHA
public static final int INVALID_CAPTCHA_ANSWER -10

com.platform.api.PlatformException.CODE.RECORD
public static final int RECORD_DOES_NOT_EXIST -690

com.platform.api.PlatformException.CODE.RECORD.ADD.N21
public static final int NOT_ALLOWED -675

com.platform.api.PlatformException.CODE.RECORD.MULTIPART
public static final int INVALID_CONTENT_TYPE -684
public static final int INVALID_FILEPART_FIELDNAME -680
public static final int MISMATCH_FIELDNAME_STRING_FILEPART -681
public static final int MISMATCH_FILENAME_STRING_FILEPART -682
public static final int MULTIPART_REQUEST_MUST_CONTAIN_XML_JSON_PART -683

com.platform.api.PlatformException.CODE.RECORD.SEARCH
public static final int INVALID_COLUMN_IN_FILTER -601
public static final int INVALID_FIELD_IN_FIELDLIST -603
public static final int INVALID_OBJECT_ALIAS -602
public static final int SEARCH_FIELD_LIST_MISSING -600
public static final int UNSUPPORTED_FUNCTION -604

com.platform.api.PlatformException.CODE.RECORD.VIEW
public static final int INVALID_VIEW_ID -650

com.platform.api.PlatformException.CODE.RESOURCE
public static final int RESOURCE_DOES_NOT_EXIST -300

com.platform.api.PlatformException.CODE.ROLE
public static final int INSUFFICIENT_ROLE_MANAGE -1101
public static final int INVALID_APPLICATION_ID -1103
public static final int INVALID_DISABLED_ROLE -1102
public static final int INVALID_OBJECT -1100

com.platform.api.PlatformException.CODE.SANDBOX
public static final int RULES_FROM_REQUIRED -5801
public static final int RULES_TO_CANNOT_BE_NULL -5802
public static final int SANDBOX_NOT_ENABLED -5800

com.platform.api.PlatformException.CODE.SOCIAL
public static final int COMMENT_LIKES_NOT_ALLOWED -4607
public static final int DUPLICATE_FOLLOWER -4604
public static final int INVALID_FEED -4609
public static final int INVALID_FOLLOWER -4608
public static final int INVALID_ID -4603
public static final int INVALID_SOCIAL_BEAN -4601
public static final int INVALID_SOCIAL_TYPE -4602
public static final int INVALID_VOTE_ACTION -4605
public static final int MULTIPLE_LIKES -4606
public static final int SOCIAL_NOT_ENABLED -4600

com.platform.api.PlatformException.CODE.SSO
public static final int SSO_PROFILE_ALREADY_EXISTS -5600

com.platform.api.PlatformException.CODE.TEAM
public static final int INSUFFICIENT_TEAM_MANAGE -1301
public static final int INVALID_PARENT_TEAM -1300

com.platform.api.PlatformException.CODE.TENANT
public static final int INVALID_MSP_MNTC_MODE -1004
public static final int INVALID_OPERATION -1002
public static final int INVALID_ROLLUP_FILED_COUNT -1003
public static final int INVALID_TENANT_ID -1000
public static final int INVALID_TENANT_ID2 -1005
public static final int NOT_EXIST -1001

com.platform.api.PlatformException.CODE.TRANSLATION
public static final int INVALID_ELEMENT_TYPE -5500

com.platform.api.PlatformException.CODE.UPSERT
public static final int INVALID_FOREIGN_KEY -2004
public static final int INVALID_PAYLOAD_FOREIGN_KEY_REFERENCE -2002
public static final int INVALID_PAYLOAD_NATIVE_KEY_REFERENCE -2003
public static final int INVALID_RELATED_OBJECT -2000
public static final int INVALID_RELATED_OBJECT_FOREIGN_KEY -2001

com.platform.api.PlatformException.CODE.USER
public static final int INSUFFICIENT_USER_MANAGE -402
public static final int INVALID_LANGUAGE_TRANSLATION -401
public static final int INVALID_TIMEZONE -400
public static final int INVALID_USER -403

com.platform.api.PlatformException.CODE.USER_TEAM
public static final int INVALID_FLAG_PRIMARY -1200

com.platform.api.PlatformException.CODE.WEBFORM
public static final int OBJECT_ID_AND_FORM_ID_REQUIRED -5700

com.platform.api.PlatformException.CODE.WORKFLOW.ACTION
public static final int INVALID_ACTION_LIST -3000

com.platform.api.PlatformInterface
public static final String CREATED_ID "created_id"
public static final String DATE_CREATED "date_created"
public static final String DATE_MODIFIED "date_modified"
public static final String MODIFIED_ID "modified_id"
public static final String OBJECT_ID "object_id"
public static final String RECORD_ID "record_id"



Copyright and Legal Notices