Class DomainMessageConstants
java.lang.Object
com.bluebell.greenhouse.platform.constants.message.DomainMessageConstants
Shared domain validation, lookup, and operation messages.
Messages containing %s or %d are String.format(String, Object...)
templates and must be formatted before use.
- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringMessage when an account balance refreshes successfully; expects%daccount number.static final StringMessage when an account cannot be found by account number; expects%saccount number.static final StringMessage when an action execution cannot be found by id; expects%sexecution id.static final StringMessage when an analysis filter value is invalid; expects%sfilter.static final StringMessage when fetching market events fails unexpectedly.static final StringFailure message when market prices ingestion failed.static final StringFailure message for acknowledging a ping event; expects%sping identifier.static final StringFailure message when trading information updates failed.static final StringMessage when a strategy import is requested for an unsupported import format.static final StringMessage when a provided import format is invalid; expects%sformat.static final StringMessage when the given user is not authorized to access whatever endpoint.static final StringMessage when the given string is not a valid api token.static final StringMessage when the given string doesn't contain the expected api token prefix or constituents.static final StringMessage when the given api token has expired.static final StringMessage when the given request did not have an auth header.static final StringMessage when the given request did not have an auth token in the header.static final StringMessage when the given api token does not contain a valid email.static final StringMessage when the given api token does not map to an existing user.static final StringMessage when the given string does not conform to the expected api token format.static final StringMessage when a country value is invalid; expects%sISO country or display name.static final StringMessage when a currency value is invalid; expects%sISO currency code.static final StringMessage when the given string was not a valid data source.static final StringMessage for unsupported or malformed file format; expects%sfilename.static final StringMessage when an incoming ping type is invalid; expects%stype token.static final StringMessage when the given string is not a valid job status.static final StringMessage when the given string is not a valid job type.static final StringMessage when input JSON is missing required keys; expects%scomma-separated key list.static final StringMessage when a symbol name is invalid; expects%ssymbol.static final StringMessage when a symbol revision is invalid.static final StringMessage when a symbol type is invalid.static final StringMessage when a time zone value is invalid; expects%sIANA time zone id.static final StringMessage when the given string is not a valid trade type.static final StringMessage when the given string is not a valid job status.static final StringMessage when the given string is not a valid job type.static final StringMessage when a job cannot be cancelled durably; expects%sjob id.static final StringMessage when a job cannot be found by id; expects%sjob id.static final StringMessage when a job type does not support an empty payload definition; expects%s.static final StringMessage when no market events exist for a date; expects%sdate string.static final StringMessage when a market price cannot be found by uid; expects%suid.static final StringMessage for missing/blank fields when creating an account entity.static final StringMessage for missing/blank fields when updating an account entity.static final StringMessage for missing/blank fields when updating an account strategy assignment.static final StringMessage for missing/blank fields when creating a market price entity.static final StringMessage for missing/blank fields when updating a market price entity.static final StringMessage for missing/blank fields when creating a portfolio entity.static final StringMessage for missing/blank fields when updating a portfolio entity.static final StringMessage for missing/blank fields when creating a recurring notification entity.static final StringMessage for missing/blank fields when updating a recurring notification entity.static final StringMessage for missing/blank fields when updating a strategy's assigned accounts.static final StringMessage for missing/blank fields when creating a strategy entity.static final StringMessage for missing/blank fields when updating a strategy entity.static final StringMessage for missing/blank fields when creating a strategy implementation entity.static final StringMessage for missing/blank fields when updating a strategy implementation entity.static final StringMessage for missing/blank fields when creating a symbol alias entity.static final StringMessage for missing/blank fields when updating a symbol alias entity.static final StringMessage for missing/blank fields when creating a symbol entity.static final StringMessage for missing/blank fields when updating a symbol entity.static final StringMessage for missing/blank fields when creating a trade entity.static final StringMessage for missing/blank fields when updating a trade entity.static final StringMessage for missing/blank fields when creating a transaction entity.static final StringMessage for missing/blank fields when updating a transaction entity.static final StringMessage for missing/blank fields when updating user access.static final StringMessage for missing/blank fields when creating a user.static final StringMessage for missing/blank fields when updating a user.static final StringMessage for missing/blank fields when creating a watchlist entity.static final StringMessage for missing/blank fields when updating a watchlist entity.static final StringMessage for missing/blank fields when creating a watchlist item entity.static final StringMessage for missing/blank fields when updating a watchlist item entity.static final StringMessage when market events collection is empty.static final StringMessage when an operation would deactivate all portfolios; at least one must remain active.static final StringMessage for errors while modifying a portfolio; expects%sunderlying error detail.static final StringMessage when a portfolio cannot be found by portfolio number; expects%dportfolio number.static final StringMessage when a position duration filter value is invalid; expects%sfilter.static final StringMessage when a position cannot be found by number; expects%dposition number.static final StringMessage when a position order cannot be found by uid; expects%suid.static final StringMessage when a position transaction cannot be found by uid; expects%suid.static final StringMessage when a recurring notification cannot be found by type; expects%snotification type.static final StringMessage when a recurring notification type is invalid; expects%snotification type value.static final StringMessage when a reporter payload cannot be serialized.static final StringInternal failure message when strategy deletion unexpectedly returns false; expects%suid.static final StringInternal failure message when strategy implementation deletion unexpectedly returns false; expects%suid.static final StringMessage when a strategy implementation cannot be found by uid; expects%suid.static final StringMessage when a strategy cannot be found by reference code; expects%scode.static final StringMessage when a strategy cannot be found by uid; expects%suid.static final StringSuccess message when market prices were ingested.static final StringSuccess message when trading information was updated.static final StringSuccess message for acknowledging a ping event; expects%sping identifier.static final StringMessage when the given uid does not match to a symbol alias.static final StringMessage when a symbol cannot be found by ticker; expects%sticker.static final StringMessage when a symbol cannot be found by uid; expects%suid.static final StringMessage when a provided time interval label is invalid; expects%sinterval.static final StringMessage when a transaction cannot be found by number; expects%dtransaction number.static final StringMessage when a transaction status is invalid; expects%sstatus value.static final StringMessage when a transaction type is invalid; expects%stype value.static final StringMessage when a user cannot be deleted because they still own platform data.static final StringMessage when a user is disabled; expects%susername.static final StringMessage when a user cannot be found by username; expects%susername.static final StringMessage when a watchlist item cannot be found by uid; expects%suid.static final StringMessage when a watchlist cannot be found by uid; expects%suid.static final StringMessage when a weekday value is invalid; expects%sweekday token. -
Method Summary
-
Field Details
-
ACCOUNT_NOT_FOUND_FOR_ACCOUNT_NUMBER
Message when an account cannot be found by account number; expects%saccount number.- See Also:
-
PORTFOLIO_NOT_FOUND_FOR_PORTFOLIO_NUMBER
Message when a portfolio cannot be found by portfolio number; expects%dportfolio number.- See Also:
-
JOB_NOT_FOUND_FOR_JOB_ID
Message when a job cannot be found by id; expects%sjob id.- See Also:
-
JOB_DOES_NOT_SUPPORT_DURABLE_CANCELLATION
Message when a job cannot be cancelled durably; expects%sjob id.- See Also:
-
JOB_TYPE_DOES_NOT_USE_EMPTY_PAYLOAD_DEFINITION
Message when a job type does not support an empty payload definition; expects%s.- See Also:
-
ACTION_EXECUTION_NOT_FOUND_FOR_EXECUTION_ID
Message when an action execution cannot be found by id; expects%sexecution id.- See Also:
-
REPORTER_PAYLOAD_COULD_NOT_BE_SERIALIZED
Message when a reporter payload cannot be serialized.- See Also:
-
TIME_INTERVAL_IS_NOT_VALID
Message when a provided time interval label is invalid; expects%sinterval.- See Also:
-
USER_NOT_FOUND_FOR_USERNAME
Message when a user cannot be found by username; expects%susername.- See Also:
-
USER_IS_DISABLED
Message when a user is disabled; expects%susername.- See Also:
-
TRANSACTION_TYPE_IS_NOT_VALID
Message when a transaction type is invalid; expects%stype value.- See Also:
-
TRANSACTION_STATUS_IS_NOT_VALID
Message when a transaction status is invalid; expects%sstatus value.- See Also:
-
RECURRING_NOTIFICATION_TYPE_IS_NOT_VALID
Message when a recurring notification type is invalid; expects%snotification type value.- See Also:
-
TRANSACTION_NOT_FOUND_FOR_TRANSACTION_NUMBER
Message when a transaction cannot be found by number; expects%dtransaction number.- See Also:
-
POSITION_NOT_FOUND_FOR_POSITION_NUMBER
Message when a position cannot be found by number; expects%dposition number.- See Also:
-
POSITION_ORDER_NOT_FOUND_FOR_UID
Message when a position order cannot be found by uid; expects%suid.- See Also:
-
POSITION_TRANSACTION_NOT_FOUND_FOR_UID
Message when a position transaction cannot be found by uid; expects%suid.- See Also:
-
WATCHLIST_NOT_FOUND_FOR_UID
Message when a watchlist cannot be found by uid; expects%suid.- See Also:
-
WATCHLIST_ITEM_NOT_FOUND_FOR_UID
Message when a watchlist item cannot be found by uid; expects%suid.- See Also:
-
STRATEGY_NOT_FOUND_FOR_UID
Message when a strategy cannot be found by uid; expects%suid.- See Also:
-
STRATEGY_NOT_FOUND_FOR_REFERENCE_CODE
Message when a strategy cannot be found by reference code; expects%scode.- See Also:
-
STRATEGY_IMPLEMENTATION_NOT_FOUND_FOR_UID
Message when a strategy implementation cannot be found by uid; expects%suid.- See Also:
-
STRATEGY_DELETE_FAILURE
Internal failure message when strategy deletion unexpectedly returns false; expects%suid.- See Also:
-
STRATEGY_IMPLEMENTATION_DELETE_FAILURE
Internal failure message when strategy implementation deletion unexpectedly returns false; expects%suid.- See Also:
-
RECURRING_NOTIFICATION_NOT_FOUND_FOR_NOTIFICATION_TYPE
Message when a recurring notification cannot be found by type; expects%snotification type.- See Also:
-
MARKET_PRICE_NOT_FOUND_FOR_UID
Message when a market price cannot be found by uid; expects%suid.- See Also:
-
MISSING_REQUIRED_ACCOUNT_DATA_FOR_CREATION
Message for missing/blank fields when creating an account entity.- See Also:
-
MISSING_REQUIRED_ACCOUNT_DATA_FOR_UPDATE
Message for missing/blank fields when updating an account entity.- See Also:
-
MISSING_REQUIRED_ACCOUNT_STRATEGY_DATA_FOR_UPDATE
Message for missing/blank fields when updating an account strategy assignment.- See Also:
-
MISSING_REQUIRED_MARKET_PRICE_DATA_FOR_CREATION
Message for missing/blank fields when creating a market price entity.- See Also:
-
MISSING_REQUIRED_MARKET_PRICE_DATA_FOR_UPDATE
Message for missing/blank fields when updating a market price entity.- See Also:
-
SUCCESS_TRADING_INFORMATION_UPDATES
Success message when trading information was updated.- See Also:
-
FAILED_TRADING_INFORMATION_UPDATES
Failure message when trading information updates failed.- See Also:
-
SUCCESS_MARKET_PRICES_INGESTED
Success message when market prices were ingested.- See Also:
-
FAILED_MARKET_PRICES_INGESTED
Failure message when market prices ingestion failed.- See Also:
-
ANALYSIS_FILTER_IS_NOT_VALID
Message when an analysis filter value is invalid; expects%sfilter.- See Also:
-
POSITION_DURATION_FILTER_IS_NOT_VALID
Message when a position duration filter value is invalid; expects%sfilter.- See Also:
-
WEEKDAY_IS_NOT_VALID
Message when a weekday value is invalid; expects%sweekday token.- See Also:
-
INVALID_FILE_FORMAT
Message for unsupported or malformed file format; expects%sfilename.- See Also:
-
IMPORT_FORMAT_IS_NOT_VALID
Message when a provided import format is invalid; expects%sformat.- See Also:
-
IMPORT_FORMAT_DOES_NOT_SUPPORT_STRATEGY
Message when a strategy import is requested for an unsupported import format.- See Also:
-
INVALID_SYMBOL_NAME
Message when a symbol name is invalid; expects%ssymbol.- See Also:
-
INVALID_SYMBOL_REVISION
Message when a symbol revision is invalid.- See Also:
-
INVALID_SYMBOL_TYPE
-
SYMBOL_NOT_FOUND_FOR_TICKER
Message when a symbol cannot be found by ticker; expects%sticker.- See Also:
-
SYMBOL_NOT_FOUND_FOR_UID
Message when a symbol cannot be found by uid; expects%suid.- See Also:
-
MARKET_EVENTS_NOT_FOUND_FOR_DATE
Message when no market events exist for a date; expects%sdate string.- See Also:
-
NO_MARKET_EVENTS
Message when market events collection is empty.- See Also:
-
ERROR_FETCHING_MARKET_EVENTS
Message when fetching market events fails unexpectedly.- See Also:
-
MISSING_REQUIRED_PORTFOLIO_DATA_FOR_CREATION
Message for missing/blank fields when creating a portfolio entity.- See Also:
-
MISSING_REQUIRED_PORTFOLIO_DATA_FOR_UPDATE
Message for missing/blank fields when updating a portfolio entity.- See Also:
-
MISSING_REQUIRED_USER_DATA_FOR_CREATION
Message for missing/blank fields when creating a user.- See Also:
-
MISSING_REQUIRED_USER_DATA_FOR_UPDATE
Message for missing/blank fields when updating a user.- See Also:
-
MISSING_REQUIRED_USER_ACCESS_DATA_FOR_UPDATE
Message for missing/blank fields when updating user access.- See Also:
-
USER_CANNOT_BE_DELETED_WHILE_DATA_EXISTS
Message when a user cannot be deleted because they still own platform data.- See Also:
-
MISSING_REQUIRED_TRADE_DATA_FOR_CREATION
Message for missing/blank fields when creating a trade entity.- See Also:
-
MISSING_REQUIRED_TRADE_DATA_FOR_UPDATE
Message for missing/blank fields when updating a trade entity.- See Also:
-
MISSING_REQUIRED_TRANSACTION_DATA_FOR_CREATION
Message for missing/blank fields when creating a transaction entity.- See Also:
-
MISSING_REQUIRED_TRANSACTION_DATA_FOR_UPDATE
Message for missing/blank fields when updating a transaction entity.- See Also:
-
MISSING_REQUIRED_RECURRING_NOTIFICATION_DATA_FOR_CREATION
Message for missing/blank fields when creating a recurring notification entity.- See Also:
-
MISSING_REQUIRED_RECURRING_NOTIFICATION_DATA_FOR_UPDATE
Message for missing/blank fields when updating a recurring notification entity.- See Also:
-
MISSING_REQUIRED_WATCHLIST_DATA_FOR_CREATION
Message for missing/blank fields when creating a watchlist entity.- See Also:
-
MISSING_REQUIRED_WATCHLIST_DATA_FOR_UPDATE
Message for missing/blank fields when updating a watchlist entity.- See Also:
-
MISSING_REQUIRED_WATCHLIST_ITEM_DATA_FOR_CREATION
Message for missing/blank fields when creating a watchlist item entity.- See Also:
-
MISSING_REQUIRED_WATCHLIST_ITEM_DATA_FOR_UPDATE
Message for missing/blank fields when updating a watchlist item entity.- See Also:
-
MISSING_REQUIRED_SYMBOL_DATA_FOR_CREATION
Message for missing/blank fields when creating a symbol entity.- See Also:
-
MISSING_REQUIRED_SYMBOL_DATA_FOR_UPDATE
Message for missing/blank fields when updating a symbol entity.- See Also:
-
MISSING_REQUIRED_SYMBOL_ALIAS_DATA_FOR_CREATION
Message for missing/blank fields when creating a symbol alias entity.- See Also:
-
MISSING_REQUIRED_SYMBOL_ALIAS_DATA_FOR_UPDATE
Message for missing/blank fields when updating a symbol alias entity.- See Also:
-
MISSING_REQUIRED_STRATEGY_DATA_FOR_CREATION
Message for missing/blank fields when creating a strategy entity.- See Also:
-
MISSING_REQUIRED_STRATEGY_DATA_FOR_UPDATE
Message for missing/blank fields when updating a strategy entity.- See Also:
-
MISSING_REQUIRED_STRATEGY_ACCOUNT_ASSIGNMENTS_DATA_FOR_UPDATE
Message for missing/blank fields when updating a strategy's assigned accounts.- See Also:
-
MISSING_REQUIRED_STRATEGY_IMPLEMENTATION_DATA_FOR_CREATION
Message for missing/blank fields when creating a strategy implementation entity.- See Also:
-
MISSING_REQUIRED_STRATEGY_IMPLEMENTATION_DATA_FOR_UPDATE
Message for missing/blank fields when updating a strategy implementation entity.- See Also:
-
INVALID_JSON
Message when input JSON is missing required keys; expects%scomma-separated key list.- See Also:
-
SUCCESSFUL_PING_ACKNOWLEDGEMENT
Success message for acknowledging a ping event; expects%sping identifier.- See Also:
-
FAILED_PING_ACKNOWLEDGEMENT
Failure message for acknowledging a ping event; expects%sping identifier.- See Also:
-
PORTFOLIO_MODIFICATION_EXCEPTION
Message for errors while modifying a portfolio; expects%sunderlying error detail.- See Also:
-
ONE_PORTFOLIO_MUST_REMAIN_ACTIVE
Message when an operation would deactivate all portfolios; at least one must remain active.- See Also:
-
INVALID_TIME_ZONE
Message when a time zone value is invalid; expects%sIANA time zone id.- See Also:
-
INVALID_COUNTRY
Message when a country value is invalid; expects%sISO country or display name.- See Also:
-
INVALID_CURRENCY
Message when a currency value is invalid; expects%sISO currency code.- See Also:
-
INVALID_INCOMING_PING_TYPE
Message when an incoming ping type is invalid; expects%stype token.- See Also:
-
ACCOUNT_BALANCE_REFRESHED_SUCCESSFULLY
Message when an account balance refreshes successfully; expects%daccount number.- See Also:
-
INVALID_JOB_TYPE
Message when the given string is not a valid job type.- See Also:
-
INVALID_JOB_STATUS
Message when the given string is not a valid job status.- See Also:
-
INVALID_TRADE_TYPE
Message when the given string is not a valid trade type.- See Also:
-
INVALID_TRANSACTION_TYPE
Message when the given string is not a valid job type.- See Also:
-
INVALID_TRANSACTION_STATUS
Message when the given string is not a valid job status.- See Also:
-
INSUFFICIENT_USER_PRIVILEGES
Message when the given user is not authorized to access whatever endpoint.- See Also:
-
INVALID_API_TOKEN
Message when the given string is not a valid api token.- See Also:
-
INVALID_API_TOKEN_NONCONFORMING
Message when the given string does not conform to the expected api token format.- See Also:
-
INVALID_API_TOKEN_BAD_FORMAT
Message when the given string doesn't contain the expected api token prefix or constituents.- See Also:
-
INVALID_API_TOKEN_EXPIRED
Message when the given api token has expired.- See Also:
-
INVALID_API_TOKEN_NO_MAPPED_EMAIL
Message when the given api token does not contain a valid email.- See Also:
-
INVALID_API_TOKEN_NO_MATCHING_USER
Message when the given api token does not map to an existing user.- See Also:
-
INVALID_API_TOKEN_MISSING_AUTH_HEADER
Message when the given request did not have an auth header.- See Also:
-
INVALID_API_TOKEN_MISSING_AUTH_TOKEN
Message when the given request did not have an auth token in the header.- See Also:
-
INVALID_DATA_SOURCE
Message when the given string was not a valid data source.- See Also:
-
SYMBOL_ALIAS_NOT_FOUND
Message when the given uid does not match to a symbol alias.- See Also:
-