Enum Class CrudEndpoint
- All Implemented Interfaces:
Serializable
,Comparable<CrudEndpoint>
,Constable
Enumeration of CRUD (Create, Read, Update, Delete) endpoints.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCreates multiple resources in a single request.Deletes multiple resources in a single request.Finds multiple resources by their IDs in a single request.Partially updates multiple resources in a single request.Updates multiple resources in a single request.Creates or updates multiple resources in a single request.Counts the total number of resources that match the criteria.Deletes a resource by its ID.Checks if a resource exists by its ID.Exports resources in a specific format, based on specified criteria.Gets all resources, with pagination and sorting options.Gets all reference versions of resources, with pagination and sorting options.Gets a single resource by its ID.Partially updates an existing resource by its ID.Creates a new resource.Updates an existing resource by its ID.Searches for resources based on specific criteria.Validates a resource without creating or updating it. -
Method Summary
Modifier and TypeMethodDescriptionstatic CrudEndpoint
Returns the enum constant of this class with the specified name.static CrudEndpoint[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GET_ALL
Gets all resources, with pagination and sorting options. -
GET_ALL_REF
Gets all reference versions of resources, with pagination and sorting options. -
GET_ONE
Gets a single resource by its ID. -
POST
Creates a new resource. -
PUT
Updates an existing resource by its ID. -
PATCH
Partially updates an existing resource by its ID. -
DELETE
Deletes a resource by its ID. -
BULK_CREATE
Creates multiple resources in a single request. -
BULK_UPDATE
Updates multiple resources in a single request. -
BULK_PATCH
Partially updates multiple resources in a single request. -
BULK_UPSERT
Creates or updates multiple resources in a single request. -
BULK_DELETE
Deletes multiple resources in a single request. -
BULK_FIND_BY_IDS
Finds multiple resources by their IDs in a single request. -
EXISTS
Checks if a resource exists by its ID. -
COUNT
Counts the total number of resources that match the criteria. -
SEARCH
Searches for resources based on specific criteria. -
VALIDATE
Validates a resource without creating or updating it. -
EXPORT
Exports resources in a specific format, based on specified criteria.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-