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 TypeMethodDescriptionAdds 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.Message.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.<E extends com.sap.cds.ql.StructuredType<E>>
MessageAdds the passed path as target to the currentMessage.Sets the provided string-based target.<E extends com.sap.cds.ql.StructuredType<E>>
MessageAdds the passed target parameter and path as target to the currentMessage.Adds the passed target parameter and path as target to the currentMessage.Adds the passed path as target to the currentMessage.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 TypeMethodDescriptionMessages.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.