Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V X 

A

AbstractCqnService - Class in com.sap.cds.services.utils.services
 
AbstractCqnService(String, CdsRuntime) - Constructor for class com.sap.cds.services.utils.services.AbstractCqnService
 
AbstractMessagingService - Class in com.sap.cds.services.utils.messaging.service
Implementation of the MessagingService interface.
AbstractMessagingService(CdsProperties.Messaging.MessagingServiceConfig, CdsModel) - Constructor for class com.sap.cds.services.utils.messaging.service.AbstractMessagingService
 
ACCEPT_LANGUAGE - Static variable in class com.sap.cds.services.utils.HttpHeaders
 
ADD_FIELDS - Static variable in interface com.sap.cds.services.utils.OrderConstants.After
 
addGrant(Privilege.PredefinedGrant) - Method in class com.sap.cds.services.utils.model.Privilege
 
addGrant(String) - Method in class com.sap.cds.services.utils.model.Privilege
 
addPrivilege(Privilege) - Method in class com.sap.cds.services.utils.model.Restriction
 
addPrivileges(Privilege...) - Method in class com.sap.cds.services.utils.model.Restriction
 
addRole(Privilege.PredefinedRole) - Method in class com.sap.cds.services.utils.model.Privilege
 
addRole(String) - Method in class com.sap.cds.services.utils.model.Privilege
 
addTopic(MessageTopic) - Method in class com.sap.cds.services.utils.messaging.service.MessageQueue
 
andPredicate(CqnPredicate) - Static method in class com.sap.cds.services.utils.model.CqnUtils
Creates a function which combines an additional Predicate to the original predicate with a logical AND.
as(Class<T>, Class<V>, V, Supplier<Map<String, Object>>) - Static method in class com.sap.cds.services.utils.ClassMethods
 
asyncConnectionInitialization(MessagingService, Consumer<BrokerConnection>) - Method in class com.sap.cds.services.utils.messaging.jms.BrokerConnectionProvider
Initializes asynchronous the broker connection for the specified messaging service.
AUTO_COMPLETE - Static variable in interface com.sap.cds.services.utils.OrderConstants.On
 

B

basePaths(ServiceCatalog, String) - Static method in class com.sap.cds.services.utils.path.CdsServicePath
Creates a map of the base paths of each exposed service to their respective ApplicationService instance.
BrokerConnection - Class in com.sap.cds.services.utils.messaging.jms
Represents the broker connection for outbount (emitter) and inbound (queues) messages.
BrokerConnection(String, ConnectionFactory) - Constructor for class com.sap.cds.services.utils.messaging.jms.BrokerConnection
 
BrokerConnectionProvider<T extends JsonRestClientConfiguration> - Class in com.sap.cds.services.utils.messaging.jms
This class manages the broker connections to the appropriate messaging services.
BrokerConnectionProvider(T) - Constructor for class com.sap.cds.services.utils.messaging.jms.BrokerConnectionProvider
 
build() - Method in class com.sap.cds.services.utils.path.CdsResourcePathBuilder
Finally constructs the CdsResourcePath
build() - Method in class com.sap.cds.services.utils.path.UrlResourcePathBuilder
Finally constructs the ResourcePath

C

CALCULATE_FIELDS - Static variable in interface com.sap.cds.services.utils.OrderConstants.Before
 
cds(CdsDefinition) - Static method in class com.sap.cds.services.utils.path.CdsResourcePathBuilder
 
CdsAnnotations - Enum in com.sap.cds.services.utils.model
Supported CDS annotations
CdsErrorStatuses - Enum in com.sap.cds.services.utils
Implementation of the ErrorStatus interface, which provides error codes used by the stack
cdsEvent2HttpMethod(String) - Static method in class com.sap.cds.services.utils.path.UrlPathUtil
Maps a CDS event such as "READ" or "CREATE" to corresponding HTTP methods"GET" resp.
CdsInfo - Interface in com.sap.cds.services.utils.info
A CdsInfo describes a part of the CDS runtime stack.
CdsInfo.Details - Enum in com.sap.cds.services.utils.info
Controls level of detail of the content presented
CdsModelUtils - Class in com.sap.cds.services.utils.model
 
CdsResourcePath - Interface in com.sap.cds.services.utils.path
A CdsResourcePath describes the hierarchical structure of a resource along with additional meta information.
CdsResourcePathBuilder - Class in com.sap.cds.services.utils.path
A builder for creating CdsResourcePaths conveniently.
CdsResourcePathBuilder() - Constructor for class com.sap.cds.services.utils.path.CdsResourcePathBuilder
 
CdsServicePath - Class in com.sap.cds.services.utils.path
Provides a stream of CdsResourcePaths which are exposed by the ApplicationServices of a ServiceCatalog
CdsServicePath() - Constructor for class com.sap.cds.services.utils.path.CdsServicePath
 
CHECK_AUTHORIZATION - Static variable in interface com.sap.cds.services.utils.OrderConstants.Before
 
CHECK_CAPABILITIES - Static variable in interface com.sap.cds.services.utils.OrderConstants.Before
 
CHECK_ENTITY_FITS - Static variable in interface com.sap.cds.services.utils.OrderConstants.Before
 
ClassMethods - Class in com.sap.cds.services.utils
 
close() - Method in class com.sap.cds.services.utils.messaging.jms.BrokerConnection
Closes the connection to the broker.
com.sap.cds.services.utils - package com.sap.cds.services.utils
 
com.sap.cds.services.utils.index - package com.sap.cds.services.utils.index
 
com.sap.cds.services.utils.info - package com.sap.cds.services.utils.info
 
com.sap.cds.services.utils.messaging - package com.sap.cds.services.utils.messaging
 
com.sap.cds.services.utils.messaging.jms - package com.sap.cds.services.utils.messaging.jms
 
com.sap.cds.services.utils.messaging.service - package com.sap.cds.services.utils.messaging.service
 
com.sap.cds.services.utils.model - package com.sap.cds.services.utils.model
 
com.sap.cds.services.utils.mtx - package com.sap.cds.services.utils.mtx
 
com.sap.cds.services.utils.path - package com.sap.cds.services.utils.path
 
com.sap.cds.services.utils.rest.client - package com.sap.cds.services.utils.rest.client
 
com.sap.cds.services.utils.runtime - package com.sap.cds.services.utils.runtime
 
com.sap.cds.services.utils.services - package com.sap.cds.services.utils.services
 
connect() - Method in class com.sap.cds.services.utils.messaging.jms.BrokerConnection
Connects to the destination broker and creates the emitter session on the broker connection.
convert(Iterable<? extends Map<String, ?>>) - Static method in class com.sap.cds.services.utils.ResultUtils
 
convertToIndexMap(Object...) - Static method in class com.sap.cds.services.utils.model.CqnUtils
Converts the object array to an indexed map.
CqnUtils - Class in com.sap.cds.services.utils.model
 
create(Class<?>) - Static method in class com.sap.cds.services.utils.ClassMethods
 
create(Supplier<T>, CdsRuntime) - Static method in class com.sap.cds.services.utils.TenantAwareCache
 
create(Supplier<String>, Supplier<T>, Supplier<V>) - Static method in class com.sap.cds.services.utils.TenantAwareCache
 
createAdapter(CdsRuntime) - Method in class com.sap.cds.services.utils.index.IndexPageServletFactory
 
createBrokerConnection(String, Map<String, String>) - Method in class com.sap.cds.services.utils.messaging.jms.BrokerConnectionProvider
Creates the broker connection corresponding the specified client configuration properties.
createClientCredentialJwtProvider(String, String, String) - Method in interface com.sap.cds.services.utils.mtx.MtxUtils.ClientCredentialJwtCreator
 
createClientCredentialJwtReader() - Static method in class com.sap.cds.services.utils.mtx.MtxUtils
 
createClientCredentialJwtReader(MtxUtils.ClientCredentialJwtCreator<T>, Map<String, Object>) - Static method in class com.sap.cds.services.utils.mtx.MtxUtils
 
createETagHeaderValue(String) - Static method in class com.sap.cds.services.utils.ETagUtils
 
createQueue(String, Map<String, String>) - Method in class com.sap.cds.services.utils.messaging.service.AbstractMessagingService
Request the broker for creating a queue with the specified queue name.
createQueueSubscription(String, String) - Method in class com.sap.cds.services.utils.messaging.service.AbstractMessagingService
Requests the broker for creating a queue topic subscription.

D

DEFAULT_ON - Static variable in interface com.sap.cds.services.utils.OrderConstants.On
 
deleteRequest(String) - Method in class com.sap.cds.services.utils.rest.client.JsonRestClient
Performs a HTTP DELETE request and returns the JSON response.
directory() - Method in class com.sap.cds.services.utils.path.UrlResourcePathBuilder
Specifies that the current path includes all endpoints in the directory
DraftUtils - Class in com.sap.cds.services.utils
Utility class for the draft handling.
DraftUtils() - Constructor for class com.sap.cds.services.utils.DraftUtils
 
dynamicDeployerEnabled() - Static method in class com.sap.cds.services.utils.mtx.MtxUtils
 

E

emit(EventContext) - Method in class com.sap.cds.services.utils.messaging.service.AbstractMessagingService
 
emit(String, String) - Method in class com.sap.cds.services.utils.messaging.service.AbstractMessagingService
 
emit(String, Map<String, Object>) - Method in class com.sap.cds.services.utils.messaging.service.AbstractMessagingService
 
emitTopicMessage(String, String) - Method in class com.sap.cds.services.utils.messaging.jms.BrokerConnection
Emits the given message to the specified topic
emitTopicMessage(String, String) - Method in class com.sap.cds.services.utils.messaging.service.AbstractMessagingService
Performs the message emit on the messaging broker.
equals(Object) - Method in class com.sap.cds.services.utils.messaging.service.MessageTopic
 
equalsMapIgnoreCase(Map<String, String>, Map<String, String>) - Static method in class com.sap.cds.services.utils.StringUtils
Compares two string property maps.
ErrorStatusException - Exception in com.sap.cds.services.utils
 
ErrorStatusException(ErrorStatus, Object...) - Constructor for exception com.sap.cds.services.utils.ErrorStatusException
 
ETagUtils - Class in com.sap.cds.services.utils
 
ETagUtils() - Constructor for class com.sap.cds.services.utils.ETagUtils
 
extractETagValue(String) - Static method in class com.sap.cds.services.utils.ETagUtils
 

F

FEATURE - Static variable in interface com.sap.cds.services.utils.OrderConstants.On
 
FeaturesInfo - Class in com.sap.cds.services.utils.info
A CdsInfo describing the loaded features
FeaturesInfo() - Constructor for class com.sap.cds.services.utils.info.FeaturesInfo
 
FILTER_FIELDS - Static variable in interface com.sap.cds.services.utils.OrderConstants.Before
 
findAction(CdsService, CdsEntity, String) - Static method in class com.sap.cds.services.utils.model.CdsModelUtils
 
findFunction(CdsService, CdsEntity, String) - Static method in class com.sap.cds.services.utils.model.CdsModelUtils
 
findOrCreate() - Method in class com.sap.cds.services.utils.TenantAwareCache
 
findTopic(String) - Method in class com.sap.cds.services.utils.messaging.service.MessageQueue
 
fromRequest(HttpServletRequest) - Static method in class com.sap.cds.services.utils.runtime.HttpParameterInfo
Creates the ParameterInfo instance based on the current servlet (http) request.

G

gcDraftsOfAllServices(CdsRuntime) - Static method in class com.sap.cds.services.utils.DraftUtils
 
gcDraftsOfAllServicesAndTenants(CdsRuntime) - Static method in class com.sap.cds.services.utils.DraftUtils
 
getApiUrl() - Method in interface com.sap.cds.services.utils.rest.client.JsonRestClientConfiguration
REST-API endpoint URL.
getBasePath() - Method in class com.sap.cds.services.utils.index.IndexPageServletFactory
 
getBearerAuthorizationHeader(String) - Static method in class com.sap.cds.services.utils.mtx.MtxUtils
 
getBrokerConfiguration() - Method in class com.sap.cds.services.utils.messaging.jms.BrokerConnectionProvider
Returns the broker configuration
getBrokerName() - Method in class com.sap.cds.services.utils.messaging.service.MessageTopic
 
getCacheParams() - Static method in class com.sap.cds.services.utils.mtx.MtxUtils
 
getCdsDefinition() - Method in interface com.sap.cds.services.utils.path.CdsResourcePath
Returns the CDS model element attached to the resource
getClientId() - Method in interface com.sap.cds.services.utils.rest.client.JsonRestClientConfiguration
Authentication client
getClientSecret() - Method in interface com.sap.cds.services.utils.rest.client.JsonRestClientConfiguration
Authentication secret
getCode() - Method in enum com.sap.cds.services.utils.CdsErrorStatuses
 
getCxnWhereCondition() - Method in class com.sap.cds.services.utils.model.Privilege
 
getDescription() - Method in enum com.sap.cds.services.utils.CdsErrorStatuses
 
getEntityPath(CqnStructuredTypeRef, CdsModel) - Static method in class com.sap.cds.services.utils.model.CdsModelUtils
 
getEntityPath(CqnSelect, CdsModel) - Static method in class com.sap.cds.services.utils.model.CdsModelUtils
 
getEventName() - Method in class com.sap.cds.services.utils.messaging.service.MessageTopic
 
getFromTopic(Message) - Method in interface com.sap.cds.services.utils.messaging.jms.TopicAccessor
Retrieves the topic from a JMS message
getGrants() - Method in class com.sap.cds.services.utils.model.Privilege
 
getGrantType() - Method in interface com.sap.cds.services.utils.rest.client.JsonRestClientConfiguration
Authentication grant type.
getHeader(String) - Method in class com.sap.cds.services.utils.runtime.HttpParameterInfo
 
getHeaders() - Method in class com.sap.cds.services.utils.runtime.HttpParameterInfo
 
getHttpError() - Method in enum com.sap.cds.services.utils.CdsErrorStatuses
 
getHttpStatus() - Method in enum com.sap.cds.services.utils.CdsErrorStatuses
 
getJwtTokenInfo() - Method in class com.sap.cds.services.utils.rest.client.JsonRestClient
Returns decoded JWT token used by the client.
getList(T...) - Static method in class com.sap.cds.services.utils.ListUtils
 
getListOrDefault(CdsAnnotatable) - Method in enum com.sap.cds.services.utils.model.CdsAnnotations
 
getListOrValue(CdsAnnotatable, T) - Method in enum com.sap.cds.services.utils.model.CdsAnnotations
 
getLocale(String, String, String) - Static method in class com.sap.cds.services.utils.LocaleUtils
Determines the locale for a request.
getLocale() - Method in class com.sap.cds.services.utils.runtime.HttpParameterInfo
 
getLocaleForBundle(Locale) - Static method in class com.sap.cds.services.utils.LocaleUtils
Determines the locale used for resource bundle lookups
getLocaleStringForQuery(Locale) - Static method in class com.sap.cds.services.utils.LocaleUtils
Returns the correct locale String for the sap-language query parameter
getLocalizedEntityName(String) - Static method in class com.sap.cds.services.utils.LocaleUtils
Calculates the localized entity name that can be used to access localized fields
getLocalizedMessage(Locale) - Method in exception com.sap.cds.services.utils.ErrorStatusException
 
getMappings(CdsRuntime) - Method in class com.sap.cds.services.utils.index.IndexPageServletFactory
 
getMessage() - Method in exception com.sap.cds.services.utils.ErrorStatusException
 
getName() - Method in class com.sap.cds.services.utils.messaging.jms.BrokerConnection
Returns the connection name.
getName() - Method in class com.sap.cds.services.utils.messaging.service.MessageQueue
 
getName() - Method in interface com.sap.cds.services.utils.rest.client.JsonRestClientConfiguration
Configuration name.
getOrDefault(CdsAnnotatable) - Method in enum com.sap.cds.services.utils.model.CdsAnnotations
 
getOrValue(CdsAnnotatable, T) - Method in enum com.sap.cds.services.utils.model.CdsAnnotations
 
getPath() - Method in interface com.sap.cds.services.utils.path.CdsResourcePath
The path including the resource's base path.
getProperties() - Method in class com.sap.cds.services.utils.messaging.service.MessageQueue
 
getPublicEvents(CdsAnnotatable) - Static method in class com.sap.cds.services.utils.model.CdsModelUtils
Returns a list of all events that are not restricted for the given model element, although the element itself is restricted in general.
getQueryParameter(String) - Method in class com.sap.cds.services.utils.runtime.HttpParameterInfo
 
getQueryParameters() - Method in class com.sap.cds.services.utils.runtime.HttpParameterInfo
 
getQueryParams() - Method in class com.sap.cds.services.utils.runtime.HttpParameterInfo
 
getQueueName(String, ApplicationProperties) - Static method in class com.sap.cds.services.utils.messaging.MessagingUtils
Generates an application/service specific queue name.
getQueueName(CdsService, ApplicationProperties) - Static method in class com.sap.cds.services.utils.messaging.MessagingUtils
Generates an application/service specific queue name.
getRefTarget(CqnStructuredTypeRef, CdsEntity) - Static method in class com.sap.cds.services.utils.model.CdsModelUtils
 
getRequest(String) - Method in class com.sap.cds.services.utils.rest.client.JsonRestClient
Performs a HTTP GET request and returns the JSON response.
getRequestWithOnlyResponseCode(String) - Method in class com.sap.cds.services.utils.rest.client.JsonRestClient
Performs a HTTP GET request and returns the response code only.
getResponseCode() - Method in exception com.sap.cds.services.utils.rest.client.JsonRestClientResponseException
 
getRestrictionOrNull(CdsAnnotatable) - Static method in class com.sap.cds.services.utils.model.CdsModelUtils
Returns a Restriction instance reflecting @restrict resp.
getRoles() - Method in class com.sap.cds.services.utils.model.Privilege
 
getServletPath(CdsRuntime) - Method in class com.sap.cds.services.utils.index.IndexPageServletFactory
 
getSidecarAccess() - Static method in class com.sap.cds.services.utils.mtx.MtxUtils
 
getTargetEntity(CqnSelect, CdsModel) - Static method in class com.sap.cds.services.utils.model.CdsModelUtils
 
getTargetEntity(CqnStructuredTypeRef, CdsModel) - Static method in class com.sap.cds.services.utils.model.CdsModelUtils
 
getTargetEntity(CqnStatement) - Method in class com.sap.cds.services.utils.services.AbstractCqnService
 
getTargetKeysAsString(CdsModel, CqnStatement) - Static method in class com.sap.cds.services.utils.model.CdsModelUtils
 
getTemporalRanges(Instant) - Static method in class com.sap.cds.services.utils.TemporalRangeUtils
 
getTemporalRanges(String, String, String) - Static method in class com.sap.cds.services.utils.TemporalRangeUtils
 
getTokenEndpoint() - Method in interface com.sap.cds.services.utils.rest.client.JsonRestClientConfiguration
Authentication endpoint URL.
getTopicPattern(CdsService, CdsEntity, String) - Static method in class com.sap.cds.services.utils.messaging.MessagingUtils
Generates an service/entity/event specific topic name.
getTopicPattern(String, CdsEntity, String) - Static method in class com.sap.cds.services.utils.messaging.MessagingUtils
Generates an service/entity/event specific topic name.
getTopicPattern(String, String, String) - Static method in class com.sap.cds.services.utils.messaging.MessagingUtils
Generates an service/entity/event specific topic name.
getTopics() - Method in class com.sap.cds.services.utils.messaging.service.MessageQueue
 
getValidFrom() - Method in class com.sap.cds.services.utils.runtime.HttpParameterInfo
 
getValidTo() - Method in class com.sap.cds.services.utils.runtime.HttpParameterInfo
 
getWhereCondition() - Method in class com.sap.cds.services.utils.model.Privilege
 
getXsuaaServiceBindings() - Static method in class com.sap.cds.services.utils.XsuaaUtils
 

H

hasEvent(String) - Method in class com.sap.cds.services.utils.messaging.service.MessageQueue
 
hashCode() - Method in class com.sap.cds.services.utils.messaging.service.MessageTopic
 
hasType(Class<T>) - Method in interface com.sap.cds.services.utils.path.CdsResourcePath
Checks if the referred CdsDefinition given with CdsResourcePath.getCdsDefinition() is of given type.
HttpHeaders - Class in com.sap.cds.services.utils
 
HttpHeaders() - Constructor for class com.sap.cds.services.utils.HttpHeaders
 
HttpParameterInfo - Class in com.sap.cds.services.utils.runtime
ParameterInfo instance derived from current HTTP request.

I

IF_MATCH - Static variable in class com.sap.cds.services.utils.HttpHeaders
 
IF_NONE_MATCH - Static variable in class com.sap.cds.services.utils.HttpHeaders
 
IndexPageServlet - Class in com.sap.cds.services.utils.index
 
IndexPageServlet(List<IndexContentProvider>) - Constructor for class com.sap.cds.services.utils.index.IndexPageServlet
 
IndexPageServletFactory - Class in com.sap.cds.services.utils.index
 
IndexPageServletFactory() - Constructor for class com.sap.cds.services.utils.index.IndexPageServletFactory
 
info(CdsInfo.Details) - Method in interface com.sap.cds.services.utils.info.CdsInfo
Provides the information in a specific flavor.
info(CdsInfo.Details) - Method in class com.sap.cds.services.utils.info.FeaturesInfo
 
init() - Method in class com.sap.cds.services.utils.messaging.service.AbstractMessagingService
Performs the initialization of the messaging service, by initializing the queues and registering the topic subscriptions.
is(String, String) - Static method in class com.sap.cds.services.utils.model.Privilege
 
is(String) - Method in enum com.sap.cds.services.utils.model.Privilege.PredefinedGrant
 
is(String) - Method in enum com.sap.cds.services.utils.model.Privilege.PredefinedRole
 
isChildEntity(CqnStructuredTypeRef, CdsModel) - Static method in class com.sap.cds.services.utils.model.CdsModelUtils
 
isConnected() - Method in class com.sap.cds.services.utils.messaging.jms.BrokerConnection
Determines whether the connection is opened.
isDraftEnabled(String, CdsModel) - Static method in class com.sap.cds.services.utils.DraftUtils
Checks if the service has a draft enabled entity.
isDraftEnabled(CdsEntity) - Static method in class com.sap.cds.services.utils.DraftUtils
Checks if the entity is draft enabled.
isDraftEnabledNoChild(CdsEntity) - Static method in class com.sap.cds.services.utils.DraftUtils
 
isEmpty(String) - Static method in class com.sap.cds.services.utils.StringUtils
Tests if a String has content (e.g.
isEnabled() - Method in class com.sap.cds.services.utils.index.IndexPageServletFactory
 
isFullyQualified() - Method in class com.sap.cds.services.utils.messaging.service.MessageQueue
 
isPublic(CdsAnnotatable) - Static method in class com.sap.cds.services.utils.model.CdsModelUtils
Returns true if the passed model element (either service or entity) has no effective restriction.
isPublic() - Method in interface com.sap.cds.services.utils.path.CdsResourcePath
If true, the endpoint should be exposed to public, i.e.
isPublic(boolean) - Method in class com.sap.cds.services.utils.path.CdsResourcePathBuilder
Specifies if the current path should be public accessible
isPublic(boolean) - Method in class com.sap.cds.services.utils.path.UrlResourcePathBuilder
Specifies if the current path should be public accessible
isTrue(CdsAnnotatable) - Method in enum com.sap.cds.services.utils.model.CdsAnnotations
 

J

JsonRestClient - Class in com.sap.cds.services.utils.rest.client
Implementation of a simple JSON REST client.
JsonRestClient(JsonRestClientConfiguration) - Constructor for class com.sap.cds.services.utils.rest.client.JsonRestClient
Creates the client and performs the client authentication.
JsonRestClient(JsonRestClientConfiguration, List<Header>) - Constructor for class com.sap.cds.services.utils.rest.client.JsonRestClient
Creates the client and performs the client authentication.
JsonRestClientConfiguration - Interface in com.sap.cds.services.utils.rest.client
Provides the authentication configuration for the REST client.
JsonRestClientResponseException - Exception in com.sap.cds.services.utils.rest.client
 
JsonRestClientResponseException(int, String) - Constructor for exception com.sap.cds.services.utils.rest.client.JsonRestClientResponseException
 

L

list(Map<String, Object>) - Method in class com.sap.cds.services.utils.services.AbstractCqnService
 
ListUtils - Class in com.sap.cds.services.utils
 
LocaleUtils - Class in com.sap.cds.services.utils
Utility class to handle the locale settings
LocaleUtils() - Constructor for class com.sap.cds.services.utils.LocaleUtils
 
lookupMethod(Method) - Method in class com.sap.cds.services.utils.ClassMethods
 

M

mapper - Variable in class com.sap.cds.services.utils.rest.client.JsonRestClient
 
MAX_VALID_TO - Static variable in class com.sap.cds.services.utils.TemporalRangeUtils
 
MessageQueue - Class in com.sap.cds.services.utils.messaging.service
This class represents the message queue topic subscription and provides also additional the message type and the service the queue was created for.
MessageTopic - Class in com.sap.cds.services.utils.messaging.service
 
MessageTopic(String) - Constructor for class com.sap.cds.services.utils.messaging.service.MessageTopic
 
MessageTopic(String, String) - Constructor for class com.sap.cds.services.utils.messaging.service.MessageTopic
 
MESSAGING - Static variable in interface com.sap.cds.services.utils.OrderConstants.On
 
MessagingBrokerQueueListener - Class in com.sap.cds.services.utils.messaging.service
This class provides the implementation of a message listener which is responsible for passing the received message to the service layer in order to invoke the appropriate custom handler
MessagingUtils - Class in com.sap.cds.services.utils.messaging
 
MessagingUtils() - Constructor for class com.sap.cds.services.utils.messaging.MessagingUtils
 
MIN_VALID_FROM - Static variable in class com.sap.cds.services.utils.TemporalRangeUtils
 
modifiedWhere(S, Function<Predicate, Predicate>) - Static method in class com.sap.cds.services.utils.model.CqnUtils
Creates a CqnStatement with a modified where clause according to the passed function.
mtxEnabled() - Static method in class com.sap.cds.services.utils.mtx.MtxUtils
 
MtxUtils - Class in com.sap.cds.services.utils.mtx
Utility class for the Sidecar
MtxUtils() - Constructor for class com.sap.cds.services.utils.mtx.MtxUtils
 
MtxUtils.ClientCredentialJwtCreator<T> - Interface in com.sap.cds.services.utils.mtx
 

N

name() - Method in interface com.sap.cds.services.utils.info.CdsInfo
 
name() - Method in class com.sap.cds.services.utils.info.FeaturesInfo
 
normalizeBasePath(String) - Static method in class com.sap.cds.services.utils.path.UrlPathUtil
Normalizes a base path of a servlet-based adapter
normalizeName(String) - Static method in class com.sap.cds.services.utils.messaging.MessagingUtils
 
notEmpty(String...) - Static method in class com.sap.cds.services.utils.StringUtils
Returns the first not empty String from the parameters or null if not existing.

O

ODataUtils - Class in com.sap.cds.services.utils
A utility class providing OData related helper methods.
ODataUtils() - Constructor for class com.sap.cds.services.utils.ODataUtils
 
on(String[], String[], int, Handler) - Method in class com.sap.cds.services.utils.messaging.service.AbstractMessagingService
 
OrderConstants - Interface in com.sap.cds.services.utils
This interface is NOT part of the public API.
OrderConstants.After - Interface in com.sap.cds.services.utils
 
OrderConstants.Before - Interface in com.sap.cds.services.utils
 
OrderConstants.On - Interface in com.sap.cds.services.utils
 

P

parseHeader(String) - Static method in class com.sap.cds.services.utils.ETagUtils
 
parseHeaderValues(List<String>) - Static method in class com.sap.cds.services.utils.ETagUtils
 
path(String...) - Method in class com.sap.cds.services.utils.path.CdsResourcePathBuilder
Sets the path of the resource.
path(String...) - Static method in class com.sap.cds.services.utils.path.UrlResourcePathBuilder
Sets the path of the resource.
postRequest(String, JsonNode) - Method in class com.sap.cds.services.utils.rest.client.JsonRestClient
Performs a HTTP POST request and returns the JSON response.
Privilege - Class in com.sap.cds.services.utils.model
A Privilege specifies access rules for operations.
Privilege() - Constructor for class com.sap.cds.services.utils.model.Privilege
 
Privilege.PredefinedGrant - Enum in com.sap.cds.services.utils.model
 
Privilege.PredefinedRole - Enum in com.sap.cds.services.utils.model
Predefined roles that are handled specifically
privileges() - Method in class com.sap.cds.services.utils.model.Restriction
 
publicEvents() - Method in interface com.sap.cds.services.utils.path.CdsResourcePath
A Stream of events that are public even if isPublic()==false.
publicEvents(Stream<String>) - Method in class com.sap.cds.services.utils.path.CdsResourcePathBuilder
Specifies public events.
publicEvents(Stream<String>) - Method in class com.sap.cds.services.utils.path.UrlResourcePathBuilder
Specifies public events.
putRequest(String, JsonNode) - Method in class com.sap.cds.services.utils.rest.client.JsonRestClient
Performs a HTTP PUT request and returns the JSON response.

Q

QueryParameters - Interface in com.sap.cds.services.utils
Contains constants for supported request parameters.

R

receivedMessage(String, String, String) - Method in class com.sap.cds.services.utils.messaging.service.MessagingBrokerQueueListener
 
recursive() - Method in class com.sap.cds.services.utils.path.UrlResourcePathBuilder
Specifies that the current path includes all sub paths
registerQueueListener(String, MessagingBrokerQueueListener, TopicAccessor, int) - Method in class com.sap.cds.services.utils.messaging.jms.BrokerConnection
Registers the queue listener for the specified queue.
registerQueueListener(String, MessagingBrokerQueueListener) - Method in class com.sap.cds.services.utils.messaging.service.AbstractMessagingService
Registers the MessagingBrokerQueueListener implementation to the specified queue of the message broker.
REJECT - Static variable in interface com.sap.cds.services.utils.OrderConstants.On
 
removeQueue(String) - Method in class com.sap.cds.services.utils.messaging.service.AbstractMessagingService
Request the broker for queue deletion with all its subscriptions.
Restriction - Class in com.sap.cds.services.utils.model
A Restriction reflects a single restriction for CDS services or entities as defined with @restrict resp.
Restriction() - Constructor for class com.sap.cds.services.utils.model.Restriction
 
ResultUtils - Class in com.sap.cds.services.utils
 
run(CqnSelect, Object...) - Method in class com.sap.cds.services.utils.services.AbstractCqnService
 
run(CqnSelect, Map<String, Object>) - Method in class com.sap.cds.services.utils.services.AbstractCqnService
 
run(CqnInsert) - Method in class com.sap.cds.services.utils.services.AbstractCqnService
 
run(CqnUpsert) - Method in class com.sap.cds.services.utils.services.AbstractCqnService
 
run(CqnUpdate, Object...) - Method in class com.sap.cds.services.utils.services.AbstractCqnService
 
run(CqnUpdate, Map<String, Object>) - Method in class com.sap.cds.services.utils.services.AbstractCqnService
 
run(CqnUpdate, Iterable<Map<String, Object>>) - Method in class com.sap.cds.services.utils.services.AbstractCqnService
 
run(CqnDelete, Object...) - Method in class com.sap.cds.services.utils.services.AbstractCqnService
 
run(CqnDelete, Map<String, Object>) - Method in class com.sap.cds.services.utils.services.AbstractCqnService
 
run(CqnDelete, Iterable<Map<String, Object>>) - Method in class com.sap.cds.services.utils.services.AbstractCqnService
 
runtime - Variable in class com.sap.cds.services.utils.services.AbstractCqnService
 

S

SAP_LANGUAGE - Static variable in interface com.sap.cds.services.utils.QueryParameters
Request parameter "sap-language".
SAP_SEARCH - Static variable in interface com.sap.cds.services.utils.QueryParameters
Request parameter "search".
sendMessageEvent(TopicMessageEventContext) - Method in class com.sap.cds.services.utils.messaging.service.AbstractMessagingService
 
service(HttpServletRequest, HttpServletResponse) - Method in class com.sap.cds.services.utils.index.IndexPageServlet
 
servicePaths(ServiceCatalog, String) - Static method in class com.sap.cds.services.utils.path.CdsServicePath
Creates a Stream of CdsResourcePath instances containing the paths of all exposed ApplicationServices given in the ServiceCatalog and configuration.
SessionContextUtils - Class in com.sap.cds.services.utils
 
setCxnWhereCondition(String) - Method in class com.sap.cds.services.utils.model.Privilege
 
setRuntime(CdsRuntime) - Method in interface com.sap.cds.services.utils.info.CdsInfo
Called after creation of the CdsInfo object to set the CdsRuntime
setWhereCondition(String) - Method in class com.sap.cds.services.utils.model.Privilege
 
stringifyList(List<String>) - Static method in class com.sap.cds.services.utils.StringUtils
Converts a list of values to a string 'value1, value2, ...'
stringifyMap(Map<String, Object>) - Static method in class com.sap.cds.services.utils.StringUtils
Converts a map of key value pairs to a string 'key1=value1, key2=value2, ...'
StringUtils - Class in com.sap.cds.services.utils
Helper functions providing simple String operations
subPath(CdsResourcePath) - Method in class com.sap.cds.services.utils.path.CdsResourcePathBuilder
Adds a new CdsResourcePath as child of the current path.
subPath(UrlResourcePath) - Method in class com.sap.cds.services.utils.path.UrlResourcePathBuilder
Adds a new ResourcePath as child of the current path.
subPaths() - Method in interface com.sap.cds.services.utils.path.CdsResourcePath
A Stream of child paths.
subPaths(Stream<CdsResourcePath>) - Method in class com.sap.cds.services.utils.path.CdsResourcePathBuilder
Adds new CdsResourcePaths as children of the current path.
subPaths(Stream<UrlResourcePath>) - Method in class com.sap.cds.services.utils.path.UrlResourcePathBuilder
Adds new ResourcePaths as children of the current path.

T

TemporalRangeUtils - Class in com.sap.cds.services.utils
 
TemporalRangeUtils() - Constructor for class com.sap.cds.services.utils.TemporalRangeUtils
 
TenantAwareCache<T,V> - Class in com.sap.cds.services.utils
 
toFullyQualifiedQueueName(MessageQueue) - Method in class com.sap.cds.services.utils.messaging.service.AbstractMessagingService
Translates the queue name corresponding the broker queue name specification.
toFullyQualifiedTopicName(String) - Method in class com.sap.cds.services.utils.messaging.service.AbstractMessagingService
Translates the given topic definition to the broker environment specific name (in the enterprise messaging this could be extended by the client name space)
toODataName(String) - Static method in class com.sap.cds.services.utils.ODataUtils
Converts a given CDS entity name into an OData entity name.
TopicAccessor - Interface in com.sap.cds.services.utils.messaging.jms
 
toSessionContext(EventContext) - Static method in class com.sap.cds.services.utils.SessionContextUtils
Creates a SessionContext from the given EventContext.
toSessionContext(RequestContext) - Static method in class com.sap.cds.services.utils.SessionContextUtils
Creates a SessionContext from the given RequestContext.
toString() - Method in enum com.sap.cds.services.utils.model.Privilege.PredefinedGrant
 
toString() - Method in enum com.sap.cds.services.utils.model.Privilege.PredefinedRole
 
toStringSafely(Object[]) - Static method in class com.sap.cds.services.utils.StringUtils
Converts an array of objects into a string, while catching and handling all exception types.
toTopicName(CdsEvent) - Method in class com.sap.cds.services.utils.messaging.service.AbstractMessagingService
Translates the specified CDS event into the broker topic structure.
TRANSACTION_BEGIN - Static variable in interface com.sap.cds.services.utils.OrderConstants.Before
 
trim(String, char) - Static method in class com.sap.cds.services.utils.StringUtils
Trims a string from a certain character

U

UrlPathUtil - Class in com.sap.cds.services.utils.path
 
UrlPathUtil() - Constructor for class com.sap.cds.services.utils.path.UrlPathUtil
 
UrlPathUtil.HttpMethod - Enum in com.sap.cds.services.utils.path
 
UrlResourcePathBuilder - Class in com.sap.cds.services.utils.path
A builder for creating UrlResourcePaths conveniently.
UrlResourcePathBuilder() - Constructor for class com.sap.cds.services.utils.path.UrlResourcePathBuilder
 

V

VALID_AT - Static variable in interface com.sap.cds.services.utils.QueryParameters
Request parameter "sap-valid-at" used for temporal data requests.
VALID_FROM - Static variable in interface com.sap.cds.services.utils.QueryParameters
Request parameter "sap-valid-from" used for temporal data requests.
VALID_TO - Static variable in interface com.sap.cds.services.utils.QueryParameters
Request parameter "sap-valid-to" used for temporal data requests.
VALIDATE_FIELDS - Static variable in interface com.sap.cds.services.utils.OrderConstants.Before
 
valueOf(String) - Static method in enum com.sap.cds.services.utils.CdsErrorStatuses
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sap.cds.services.utils.info.CdsInfo.Details
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sap.cds.services.utils.model.CdsAnnotations
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sap.cds.services.utils.model.Privilege.PredefinedGrant
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sap.cds.services.utils.model.Privilege.PredefinedRole
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sap.cds.services.utils.path.UrlPathUtil.HttpMethod
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.sap.cds.services.utils.CdsErrorStatuses
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sap.cds.services.utils.info.CdsInfo.Details
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sap.cds.services.utils.model.CdsAnnotations
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sap.cds.services.utils.model.Privilege.PredefinedGrant
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sap.cds.services.utils.model.Privilege.PredefinedRole
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sap.cds.services.utils.path.UrlPathUtil.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.

X

X_SAP_REQUEST_LANGUAGE_HEADER - Static variable in class com.sap.cds.services.utils.HttpHeaders
 
xsuaaConfiguredCondition() - Static method in class com.sap.cds.services.utils.XsuaaUtils
 
XsuaaUtils - Class in com.sap.cds.services.utils
 
XsuaaUtils() - Constructor for class com.sap.cds.services.utils.XsuaaUtils
 
A B C D E F G H I J L M N O P Q R S T U V X 
Skip navigation links

Copyright © 2021. All rights reserved.