Uses of Interface
com.sap.cds.services.messages.Message
Packages that use Message
Package
Description
-
Uses of Message in com.sap.cds.services
Methods in com.sap.cds.services that return MessageModifier and TypeMethodDescriptionCoreFactory.createMessage(Message.Severity severity, String text) Creates aMessageobject.CoreFactory.createMessage(Message.Severity severity, String text, Message message) Creates aMessageobject.CoreFactory.createMessage(String text, ServiceException exception) Creates aMessageobject.Methods in com.sap.cds.services with parameters of type MessageModifier and TypeMethodDescriptionCoreFactory.createMessage(Message.Severity severity, String text, Message message) Creates aMessageobject. -
Uses of Message in com.sap.cds.services.application
Methods in com.sap.cds.services.application that return types with arguments of type MessageModifier and TypeMethodDescriptionErrorResponseEventContext.ErrorResponse.getMessages()Returns the list ofMessageobjects to be written in the error response.Method parameters in com.sap.cds.services.application with type arguments of type MessageModifier and TypeMethodDescriptionvoidErrorResponseEventContext.ErrorResponse.setMessages(List<Message> messages) Sets the list ofMessageobjects to be written in the error response. -
Uses of Message in com.sap.cds.services.messages
Methods in com.sap.cds.services.messages that return MessageModifier and TypeMethodDescriptiondefault MessageMessage.additionalTargets(MessageTarget... additionalTargets) Sets the provided array ofMessageTargetinstances as additional targets.Message.additionalTargets(List<MessageTarget> additionalTargets) Sets the provided list ofMessageTargetinstances as additional targets.Adds the passedcodeto the current message.static MessageMessage.create(Message.Severity severity, String text) This method creates a standalone instance ofMessagethat is not added to theMessagesof the activeRequestContext.static MessageMessage.create(Message.Severity severity, String text, Message message) This method creates a standalone instance ofMessagethat is not added to theMessagesof the activeRequestContext.static MessageMessage.create(String text, ServiceException exception) This method creates a standalone instance ofMessagethat is not added to theMessagesof the activeRequestContext.Adds a newMessagewith severityMessage.Severity.ERRORto the current request with the given message text or format and format parameters.Adds a newMessagewith severityMessage.Severity.INFOto the current request with the given message text or format and format parameters.Message.longTextUrl(String longTextUrl) Adds the passedlongTextUrlto the current message.Adds a newMessagewith severityMessage.Severity.SUCCESSto the current request with the given message text or format and format parameters.default MessageMessage.target(com.sap.cds.ql.cqn.Path path, com.sap.cds.reflect.CdsElement element) Adds the passed path and element as target to the currentMessage.Message.target(MessageTarget target) Sets the providedMessageTargetdefault <E extends com.sap.cds.ql.StructuredType<E>>
MessageAdds the passed path as target to the currentMessage.default MessageSets the provided string-based target.default <E extends com.sap.cds.ql.StructuredType<E>>
MessageAdds the passed target parameter and path as target to the currentMessage.default MessageAdds the passed target parameter and path as target to the currentMessage.default MessageAdds the passed path as target to the currentMessage.Message.transition(boolean isTransition) Sets thetransitionindicator of the current message.Adds a newMessagewith severityMessage.Severity.WARNINGto the current request with the given message text or format and format parameters.Methods in com.sap.cds.services.messages that return types with arguments of type MessageModifier and TypeMethodDescriptionRemoves all messages matching the given filter.Messages.stream()Returns aStreamof the added messages in the current request contextMethods in com.sap.cds.services.messages with parameters of type MessageModifier and TypeMethodDescriptionstatic MessageMessage.create(Message.Severity severity, String text, Message message) This method creates a standalone instance ofMessagethat is not added to theMessagesof the activeRequestContext.Method parameters in com.sap.cds.services.messages with type arguments of type Message