Class DefaultLegalContextService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,LegalContextService
Legal contexts are templates for legal transactions that predefines how a legal transaction must be processed; what information must be provided; which parties are involved and so on. The service contains legal context and legal context text nodes. The information sent in the request payload is used while creating a legal context, including appropriate checks for restricted values and authorizations. Once the legal context is created, the legal context ID is sent in the response. If there are any issues when the legal context is created, the system displays error messages in the response. For more information, refer to the business documentation of this API. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_LEGALCONTEXT_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Legal Context Integration(SAP_COM_0791) |
| Scope Items: | SAP S/4HANA for Enterprise Contract Management(1XV) |
| Authentication Methods: | x509 |
| Service Group Name: | API_LEGALCONTEXT |
| Business Object: | Legal Context |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.LegalContextService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingLegalContextService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theLegalContextentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theLegalContextCategoryentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theLegalContextCategoryGroupentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theLegalContextDateentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theLegalContextEntityentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theLegalCotextExternalContactentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theLegalContextIntContactentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theLegalContextLinkedObjectentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theLegalContextParentCategoryentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theLegalContextRelationshipentity collection matching the filter and search expressions.Deprecated.Fetch multipleLegalContextentities.Deprecated.Fetch multipleLegalContextCategoryentities.Deprecated.Fetch multipleLegalContextCategoryGroupentities.Deprecated.Fetch multipleLegalContextDateentities.Deprecated.Fetch multipleLegalContextEntityentities.Deprecated.Fetch multipleLegalCotextExternalContactentities.Deprecated.Fetch multipleLegalContextIntContactentities.Deprecated.Fetch multipleLegalContextLinkedObjectentities.Deprecated.Fetch multipleLegalContextParentCategoryentities.Deprecated.Fetch multipleLegalContextRelationshipentities.getLegalContextByKey(UUID lglCntntMContextUUID) Deprecated.Fetch a singleLegalContextentity using key fields.getLegalContextCategoryByKey(UUID lglCntntMCntxtCategoryUUID) Deprecated.Fetch a singleLegalContextCategoryentity using key fields.getLegalContextCategoryGroupByKey(UUID lglCntntMCntxtCatGroupUUID) Deprecated.Fetch a singleLegalContextCategoryGroupentity using key fields.getLegalContextDateByKey(UUID lglCntntMCntxtDateUUID) Deprecated.Fetch a singleLegalContextDateentity using key fields.getLegalContextEntityByKey(UUID lglCntntMCntxtEntityUUID) Deprecated.Fetch a singleLegalContextEntityentity using key fields.getLegalContextExternalContactByKey(UUID lglCntntMCntxtExtCntctUUID) Deprecated.Fetch a singleLegalCotextExternalContactentity using key fields.getLegalContextInternalContactByKey(UUID lglCntntMCntxtIntCntctUUID) Deprecated.Fetch a singleLegalContextIntContactentity using key fields.getLegalContextLinkedObjectByKey(UUID lglCntntMCntxtLinkObjUUID) Deprecated.Fetch a singleLegalContextLinkedObjectentity using key fields.getLegalContextParentCategoryByKey(UUID lglCntntMCntxtParCategoryUUID) Deprecated.Fetch a singleLegalContextParentCategoryentity using key fields.getLegalContextRelationshipByKey(UUID lglCntntMCntxtRelshpUUID) Deprecated.Fetch a singleLegalContextRelationshipentity using key fields.Deprecated.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultLegalContextService
public DefaultLegalContextService()Deprecated.Creates a service usingLegalContextService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:LegalContextServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceLegalContextService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:LegalContextServiceCreates a batch request builder object.- Specified by:
batchin interfaceLegalContextService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllLegalContext
Deprecated.Description copied from interface:LegalContextServiceFetch multipleLegalContextentities.- Specified by:
getAllLegalContextin interfaceLegalContextService- Returns:
- A request builder to fetch multiple
LegalContextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countLegalContext
Deprecated.Description copied from interface:LegalContextServiceFetch the number of entries from theLegalContextentity collection matching the filter and search expressions.- Specified by:
countLegalContextin interfaceLegalContextService- Returns:
- A request builder to fetch the count of
LegalContextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getLegalContextByKey
@Nonnull public GetByKeyRequestBuilder<LegalContext> getLegalContextByKey(UUID lglCntntMContextUUID) Deprecated.Description copied from interface:LegalContextServiceFetch a singleLegalContextentity using key fields.- Specified by:
getLegalContextByKeyin interfaceLegalContextService- Parameters:
lglCntntMContextUUID- Universal Unique IdentifierConstraints: Not nullable
- Returns:
- A request builder to fetch a single
LegalContextentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllLegalContextCategory
Deprecated.Description copied from interface:LegalContextServiceFetch multipleLegalContextCategoryentities.- Specified by:
getAllLegalContextCategoryin interfaceLegalContextService- Returns:
- A request builder to fetch multiple
LegalContextCategoryentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countLegalContextCategory
Deprecated.Description copied from interface:LegalContextServiceFetch the number of entries from theLegalContextCategoryentity collection matching the filter and search expressions.- Specified by:
countLegalContextCategoryin interfaceLegalContextService- Returns:
- A request builder to fetch the count of
LegalContextCategoryentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getLegalContextCategoryByKey
@Nonnull public GetByKeyRequestBuilder<LegalContextCategory> getLegalContextCategoryByKey(UUID lglCntntMCntxtCategoryUUID) Deprecated.Description copied from interface:LegalContextServiceFetch a singleLegalContextCategoryentity using key fields.- Specified by:
getLegalContextCategoryByKeyin interfaceLegalContextService- Parameters:
lglCntntMCntxtCategoryUUID- Universal Unique IdentifierConstraints: Not nullable
- Returns:
- A request builder to fetch a single
LegalContextCategoryentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllLegalContextCategoryGroup
Deprecated.Description copied from interface:LegalContextServiceFetch multipleLegalContextCategoryGroupentities.- Specified by:
getAllLegalContextCategoryGroupin interfaceLegalContextService- Returns:
- A request builder to fetch multiple
LegalContextCategoryGroupentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countLegalContextCategoryGroup
Deprecated.Description copied from interface:LegalContextServiceFetch the number of entries from theLegalContextCategoryGroupentity collection matching the filter and search expressions.- Specified by:
countLegalContextCategoryGroupin interfaceLegalContextService- Returns:
- A request builder to fetch the count of
LegalContextCategoryGroupentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getLegalContextCategoryGroupByKey
@Nonnull public GetByKeyRequestBuilder<LegalContextCategoryGroup> getLegalContextCategoryGroupByKey(UUID lglCntntMCntxtCatGroupUUID) Deprecated.Description copied from interface:LegalContextServiceFetch a singleLegalContextCategoryGroupentity using key fields.- Specified by:
getLegalContextCategoryGroupByKeyin interfaceLegalContextService- Parameters:
lglCntntMCntxtCatGroupUUID- Universal Unique IdentifierConstraints: Not nullable
- Returns:
- A request builder to fetch a single
LegalContextCategoryGroupentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllLegalContextDate
Deprecated.Description copied from interface:LegalContextServiceFetch multipleLegalContextDateentities.- Specified by:
getAllLegalContextDatein interfaceLegalContextService- Returns:
- A request builder to fetch multiple
LegalContextDateentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countLegalContextDate
Deprecated.Description copied from interface:LegalContextServiceFetch the number of entries from theLegalContextDateentity collection matching the filter and search expressions.- Specified by:
countLegalContextDatein interfaceLegalContextService- Returns:
- A request builder to fetch the count of
LegalContextDateentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getLegalContextDateByKey
@Nonnull public GetByKeyRequestBuilder<LegalContextDate> getLegalContextDateByKey(UUID lglCntntMCntxtDateUUID) Deprecated.Description copied from interface:LegalContextServiceFetch a singleLegalContextDateentity using key fields.- Specified by:
getLegalContextDateByKeyin interfaceLegalContextService- Parameters:
lglCntntMCntxtDateUUID- Universal Unique IdentifierConstraints: Not nullable
- Returns:
- A request builder to fetch a single
LegalContextDateentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllLegalContextEntity
Deprecated.Description copied from interface:LegalContextServiceFetch multipleLegalContextEntityentities.- Specified by:
getAllLegalContextEntityin interfaceLegalContextService- Returns:
- A request builder to fetch multiple
LegalContextEntityentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countLegalContextEntity
Deprecated.Description copied from interface:LegalContextServiceFetch the number of entries from theLegalContextEntityentity collection matching the filter and search expressions.- Specified by:
countLegalContextEntityin interfaceLegalContextService- Returns:
- A request builder to fetch the count of
LegalContextEntityentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getLegalContextEntityByKey
@Nonnull public GetByKeyRequestBuilder<LegalContextEntity> getLegalContextEntityByKey(UUID lglCntntMCntxtEntityUUID) Deprecated.Description copied from interface:LegalContextServiceFetch a singleLegalContextEntityentity using key fields.- Specified by:
getLegalContextEntityByKeyin interfaceLegalContextService- Parameters:
lglCntntMCntxtEntityUUID- Universal Unique IdentifierConstraints: Not nullable
- Returns:
- A request builder to fetch a single
LegalContextEntityentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllLegalContextExternalContact
@Nonnull public GetAllRequestBuilder<LegalCotextExternalContact> getAllLegalContextExternalContact()Deprecated.Description copied from interface:LegalContextServiceFetch multipleLegalCotextExternalContactentities.- Specified by:
getAllLegalContextExternalContactin interfaceLegalContextService- Returns:
- A request builder to fetch multiple
LegalCotextExternalContactentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countLegalContextExternalContact
Deprecated.Description copied from interface:LegalContextServiceFetch the number of entries from theLegalCotextExternalContactentity collection matching the filter and search expressions.- Specified by:
countLegalContextExternalContactin interfaceLegalContextService- Returns:
- A request builder to fetch the count of
LegalCotextExternalContactentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getLegalContextExternalContactByKey
@Nonnull public GetByKeyRequestBuilder<LegalCotextExternalContact> getLegalContextExternalContactByKey(UUID lglCntntMCntxtExtCntctUUID) Deprecated.Description copied from interface:LegalContextServiceFetch a singleLegalCotextExternalContactentity using key fields.- Specified by:
getLegalContextExternalContactByKeyin interfaceLegalContextService- Parameters:
lglCntntMCntxtExtCntctUUID- Universal Unique IdentifierConstraints: Not nullable
- Returns:
- A request builder to fetch a single
LegalCotextExternalContactentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllLegalContextInternalContact
Deprecated.Description copied from interface:LegalContextServiceFetch multipleLegalContextIntContactentities.- Specified by:
getAllLegalContextInternalContactin interfaceLegalContextService- Returns:
- A request builder to fetch multiple
LegalContextIntContactentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countLegalContextInternalContact
Deprecated.Description copied from interface:LegalContextServiceFetch the number of entries from theLegalContextIntContactentity collection matching the filter and search expressions.- Specified by:
countLegalContextInternalContactin interfaceLegalContextService- Returns:
- A request builder to fetch the count of
LegalContextIntContactentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getLegalContextInternalContactByKey
@Nonnull public GetByKeyRequestBuilder<LegalContextIntContact> getLegalContextInternalContactByKey(UUID lglCntntMCntxtIntCntctUUID) Deprecated.Description copied from interface:LegalContextServiceFetch a singleLegalContextIntContactentity using key fields.- Specified by:
getLegalContextInternalContactByKeyin interfaceLegalContextService- Parameters:
lglCntntMCntxtIntCntctUUID- Universal Unique IdentifierConstraints: Not nullable
- Returns:
- A request builder to fetch a single
LegalContextIntContactentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllLegalContextLinkedObject
Deprecated.Description copied from interface:LegalContextServiceFetch multipleLegalContextLinkedObjectentities.- Specified by:
getAllLegalContextLinkedObjectin interfaceLegalContextService- Returns:
- A request builder to fetch multiple
LegalContextLinkedObjectentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countLegalContextLinkedObject
Deprecated.Description copied from interface:LegalContextServiceFetch the number of entries from theLegalContextLinkedObjectentity collection matching the filter and search expressions.- Specified by:
countLegalContextLinkedObjectin interfaceLegalContextService- Returns:
- A request builder to fetch the count of
LegalContextLinkedObjectentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getLegalContextLinkedObjectByKey
@Nonnull public GetByKeyRequestBuilder<LegalContextLinkedObject> getLegalContextLinkedObjectByKey(UUID lglCntntMCntxtLinkObjUUID) Deprecated.Description copied from interface:LegalContextServiceFetch a singleLegalContextLinkedObjectentity using key fields.- Specified by:
getLegalContextLinkedObjectByKeyin interfaceLegalContextService- Parameters:
lglCntntMCntxtLinkObjUUID- Universal Unique IdentifierConstraints: Not nullable
- Returns:
- A request builder to fetch a single
LegalContextLinkedObjectentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllLegalContextParentCategory
Deprecated.Description copied from interface:LegalContextServiceFetch multipleLegalContextParentCategoryentities.- Specified by:
getAllLegalContextParentCategoryin interfaceLegalContextService- Returns:
- A request builder to fetch multiple
LegalContextParentCategoryentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countLegalContextParentCategory
Deprecated.Description copied from interface:LegalContextServiceFetch the number of entries from theLegalContextParentCategoryentity collection matching the filter and search expressions.- Specified by:
countLegalContextParentCategoryin interfaceLegalContextService- Returns:
- A request builder to fetch the count of
LegalContextParentCategoryentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getLegalContextParentCategoryByKey
@Nonnull public GetByKeyRequestBuilder<LegalContextParentCategory> getLegalContextParentCategoryByKey(UUID lglCntntMCntxtParCategoryUUID) Deprecated.Description copied from interface:LegalContextServiceFetch a singleLegalContextParentCategoryentity using key fields.- Specified by:
getLegalContextParentCategoryByKeyin interfaceLegalContextService- Parameters:
lglCntntMCntxtParCategoryUUID- Universal Unique IdentifierConstraints: Not nullable
- Returns:
- A request builder to fetch a single
LegalContextParentCategoryentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllLegalContextRelationship
Deprecated.Description copied from interface:LegalContextServiceFetch multipleLegalContextRelationshipentities.- Specified by:
getAllLegalContextRelationshipin interfaceLegalContextService- Returns:
- A request builder to fetch multiple
LegalContextRelationshipentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countLegalContextRelationship
Deprecated.Description copied from interface:LegalContextServiceFetch the number of entries from theLegalContextRelationshipentity collection matching the filter and search expressions.- Specified by:
countLegalContextRelationshipin interfaceLegalContextService- Returns:
- A request builder to fetch the count of
LegalContextRelationshipentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getLegalContextRelationshipByKey
@Nonnull public GetByKeyRequestBuilder<LegalContextRelationship> getLegalContextRelationshipByKey(UUID lglCntntMCntxtRelshpUUID) Deprecated.Description copied from interface:LegalContextServiceFetch a singleLegalContextRelationshipentity using key fields.- Specified by:
getLegalContextRelationshipByKeyin interfaceLegalContextService- Parameters:
lglCntntMCntxtRelshpUUID- Universal Unique IdentifierConstraints: Not nullable
- Returns:
- A request builder to fetch a single
LegalContextRelationshipentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-