Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addInterceptors(InterceptorRegistry) - Method in class com.moeen.file_manager.config.WebConfig
- ADMIN - Enum constant in enum class com.moeen.shared_lib.user.UserRoles
- AI_DOCUMENTS - Enum constant in enum class com.moeen.file_manager.model.enums.Buckets
- AsyncConfig - Class in com.moeen.file_manager.config
- AsyncConfig() - Constructor for class com.moeen.file_manager.config.AsyncConfig
- AVAILABLE - Enum constant in enum class com.moeen.file_manager.model.enums.FileStatus
B
- Buckets - Enum Class in com.moeen.file_manager.model.enums
- build() - Method in class com.moeen.shared_lib.exception.ValidationException.Builder
- builder() - Static method in exception class com.moeen.shared_lib.exception.ValidationException
- Builder() - Constructor for class com.moeen.shared_lib.exception.ValidationException.Builder
C
- cacheDownloadUrl(UUID, String) - Method in class com.moeen.file_manager.service.FileUrlCacheService
- cacheDownloadUrl(UUID, String, long) - Method in class com.moeen.file_manager.service.FileUrlCacheService
- cleanupStalePendingUploads() - Method in class com.moeen.file_manager.service.FileCleanupService
- com.moeen.file_manager - package com.moeen.file_manager
- com.moeen.file_manager.config - package com.moeen.file_manager.config
- com.moeen.file_manager.controller - package com.moeen.file_manager.controller
- com.moeen.file_manager.dto - package com.moeen.file_manager.dto
- com.moeen.file_manager.mapper - package com.moeen.file_manager.mapper
- com.moeen.file_manager.model - package com.moeen.file_manager.model
- com.moeen.file_manager.model.enums - package com.moeen.file_manager.model.enums
- com.moeen.file_manager.repository - package com.moeen.file_manager.repository
- com.moeen.file_manager.service - package com.moeen.file_manager.service
- com.moeen.shared_lib.exception - package com.moeen.shared_lib.exception
- com.moeen.shared_lib.filter - package com.moeen.shared_lib.filter
- com.moeen.shared_lib.interceptor - package com.moeen.shared_lib.interceptor
- com.moeen.shared_lib.user - package com.moeen.shared_lib.user
- ConflictException - Exception Class in com.moeen.shared_lib.exception
-
Exception thrown when a conflict occurs, such as when trying to create a resource that already exists.
- ConflictException(String) - Constructor for exception class com.moeen.shared_lib.exception.ConflictException
- createBucket(String) - Method in class com.moeen.file_manager.service.MinIOService
- createBucketIfNotExists(String) - Method in class com.moeen.file_manager.service.MinIOService
- createUploadUrl(UploadUrlRequest, GatewayUser) - Method in class com.moeen.file_manager.service.FileService
- createUploadUrl(GatewayUser, UploadUrlRequest) - Method in class com.moeen.file_manager.controller.FileController
D
- delete(UUID) - Method in class com.moeen.file_manager.controller.FileController
- DELETED - Enum constant in enum class com.moeen.file_manager.model.enums.FileStatus
- deleteFile(UUID) - Method in class com.moeen.file_manager.service.FileService
- deleteFileRecord(UUID) - Method in class com.moeen.file_manager.service.FileCleanupService
- deleteFiles(List<UUID>) - Method in class com.moeen.file_manager.controller.FileController
- deleteFiles(List<UUID>) - Method in class com.moeen.file_manager.service.FileService
- deleteObject(String, String) - Method in class com.moeen.file_manager.service.MinIOService
- details() - Method in record class com.moeen.shared_lib.exception.ErrorResponse
-
Returns the value of the
detailsrecord component. - doesBucketExist(String) - Method in class com.moeen.file_manager.service.MinIOService
- doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class com.moeen.shared_lib.filter.SimpleGatewayUserFilter
E
- equals(Object) - Method in record class com.moeen.shared_lib.exception.ErrorResponse
-
Indicates whether some other object is "equal to" this one.
- error() - Method in record class com.moeen.shared_lib.exception.ErrorResponse
-
Returns the value of the
errorrecord component. - ErrorResponse - Record Class in com.moeen.shared_lib.exception
-
Standardized error response body used across all microservices.
- ErrorResponse(Instant, int, String, String, String, String, Map<String, Object>) - Constructor for record class com.moeen.shared_lib.exception.ErrorResponse
-
Creates an instance of a
ErrorResponserecord class.
F
- field(String, String) - Method in class com.moeen.shared_lib.exception.ValidationException.Builder
- File - Class in com.moeen.file_manager.model
- File() - Constructor for class com.moeen.file_manager.model.File
- fileCleanupExecutor() - Method in class com.moeen.file_manager.config.AsyncConfig
- FileCleanupService - Class in com.moeen.file_manager.service
- FileCleanupService() - Constructor for class com.moeen.file_manager.service.FileCleanupService
- FileController - Class in com.moeen.file_manager.controller
- FileController() - Constructor for class com.moeen.file_manager.controller.FileController
- fileExist(UUID) - Method in class com.moeen.file_manager.controller.FileController
- fileExist(UUID) - Method in class com.moeen.file_manager.service.FileService
- FileManagerApplication - Class in com.moeen.file_manager
- FileManagerApplication() - Constructor for class com.moeen.file_manager.FileManagerApplication
- FileMapper - Class in com.moeen.file_manager.mapper
- FileMapper() - Constructor for class com.moeen.file_manager.mapper.FileMapper
- FileRepository - Interface in com.moeen.file_manager.repository
- FileResponse - Class in com.moeen.file_manager.dto
- FileResponse() - Constructor for class com.moeen.file_manager.dto.FileResponse
- FileService - Class in com.moeen.file_manager.service
- FileService() - Constructor for class com.moeen.file_manager.service.FileService
- FileStatus - Enum Class in com.moeen.file_manager.model.enums
- FileUrlCacheService - Class in com.moeen.file_manager.service
- FileUrlCacheService() - Constructor for class com.moeen.file_manager.service.FileUrlCacheService
- findAllByEntityId(String) - Method in interface com.moeen.file_manager.repository.FileRepository
- findAllByStatusAndCreatedAtBefore(FileStatus, Instant) - Method in interface com.moeen.file_manager.repository.FileRepository
- findByEntityId(String) - Method in interface com.moeen.file_manager.repository.FileRepository
- findByKey(String) - Method in interface com.moeen.file_manager.repository.FileRepository
- findByUploaderId(String) - Method in interface com.moeen.file_manager.repository.FileRepository
G
- GatewayUser - Class in com.moeen.shared_lib.user
-
Represents a user in the gateway.
- GatewayUser() - Constructor for class com.moeen.shared_lib.user.GatewayUser
- generatePresignedDownloadUrl(String, String) - Method in class com.moeen.file_manager.service.MinIOService
- generatePresignedUploadUrl(String, String, String) - Method in class com.moeen.file_manager.service.MinIOService
- getCachedUrl(UUID) - Method in class com.moeen.file_manager.service.FileUrlCacheService
- getDownloadExpirySeconds() - Method in class com.moeen.file_manager.service.MinIOService
- getFieldErrors() - Method in exception class com.moeen.shared_lib.exception.ValidationException
- getFile(File) - Method in class com.moeen.file_manager.service.FileService
- getFile(UUID) - Method in class com.moeen.file_manager.controller.FileController
- getFile(UUID) - Method in class com.moeen.file_manager.service.FileService
- getFiles(List<UUID>) - Method in class com.moeen.file_manager.controller.FileController
- getFiles(List<UUID>) - Method in class com.moeen.file_manager.service.FileService
- getFilesByEntityId(String) - Method in class com.moeen.file_manager.service.FileService
- getUploadExpirySeconds() - Method in class com.moeen.file_manager.service.MinIOService
- getValue() - Method in enum class com.moeen.file_manager.model.enums.Buckets
- GlobalExceptionHandler - Class in com.moeen.shared_lib.exception
-
Global Exception Handler for the REST API.
- GlobalExceptionHandler() - Constructor for class com.moeen.shared_lib.exception.GlobalExceptionHandler
H
- handleConflictException(ConflictException, WebRequest) - Method in class com.moeen.shared_lib.exception.GlobalExceptionHandler
-
Handles exceptions when a conflict occurs.
- handleConstraintViolationException(ConstraintViolationException, WebRequest) - Method in class com.moeen.shared_lib.exception.GlobalExceptionHandler
-
Handles validation errors for path variables and request parameters.
- handleEntityNotFoundException(ResourceNotFoundException, WebRequest) - Method in class com.moeen.shared_lib.exception.GlobalExceptionHandler
-
Handles exceptions when a specific entity is not found in the database.
- handleGlobalException(Exception, WebRequest) - Method in class com.moeen.shared_lib.exception.GlobalExceptionHandler
-
A catch-all handler for any other unhandled exceptions.
- handleHttpMessageNotReadable(HttpMessageNotReadableException, WebRequest) - Method in class com.moeen.shared_lib.exception.GlobalExceptionHandler
-
Handles exceptions when the request body is malformed or not readable.
- handleIllegalArgumentException(IllegalArgumentException, WebRequest) - Method in class com.moeen.shared_lib.exception.GlobalExceptionHandler
-
Handles general bad requests that don't fall into more specific categories.
- handleIllegalStateException(IllegalStateException, WebRequest) - Method in class com.moeen.shared_lib.exception.GlobalExceptionHandler
-
Handles invalid state transitions for order status changes.
- handleMethodArgumentTypeMismatch(MethodArgumentTypeMismatchException, WebRequest) - Method in class com.moeen.shared_lib.exception.GlobalExceptionHandler
-
Handles exceptions when a method argument is not the expected type.
- handleMethodNotSupportedException(HttpRequestMethodNotSupportedException, WebRequest) - Method in class com.moeen.shared_lib.exception.GlobalExceptionHandler
-
Handles cases where the HTTP method used is not supported for the requested endpoint.
- handleNoResourceFoundException(NoResourceFoundException, WebRequest) - Method in class com.moeen.shared_lib.exception.GlobalExceptionHandler
-
Handles cases where a requested resource is not found.
- handleNoSuchElementException(NoSuchElementException, WebRequest) - Method in class com.moeen.shared_lib.exception.GlobalExceptionHandler
-
Handles cases where a requested resource is not found.
- handleValidationException(ValidationException, WebRequest) - Method in class com.moeen.shared_lib.exception.GlobalExceptionHandler
-
Handles custom programmatic validation errors that include field paths.
- handleValidationExceptions(MethodArgumentNotValidException, WebRequest) - Method in class com.moeen.shared_lib.exception.GlobalExceptionHandler
-
Handles validation errors for request bodies annotated with @Valid.
- hashCode() - Method in record class com.moeen.shared_lib.exception.ErrorResponse
-
Returns a hash code value for this object.
- HEADER_USER_ID - Static variable in class com.moeen.shared_lib.filter.SimpleGatewayUserFilter
- HEADER_USER_ROLE - Static variable in class com.moeen.shared_lib.filter.SimpleGatewayUserFilter
- headObject(String, String) - Method in class com.moeen.file_manager.service.MinIOService
I
- initBuckets() - Method in class com.moeen.file_manager.service.MinIOService
- invalidate(UUID) - Method in class com.moeen.file_manager.service.FileUrlCacheService
L
- listByEntity(String) - Method in class com.moeen.file_manager.controller.FileController
M
- main(String[]) - Static method in class com.moeen.file_manager.FileManagerApplication
- maybeMarkAvailableAndPublish(File) - Method in class com.moeen.file_manager.service.FileService
- message() - Method in record class com.moeen.shared_lib.exception.ErrorResponse
-
Returns the value of the
messagerecord component. - minioClient() - Method in class com.moeen.file_manager.config.MinIOConfig
- MinIOConfig - Class in com.moeen.file_manager.config
- MinIOConfig() - Constructor for class com.moeen.file_manager.config.MinIOConfig
- MinIOService - Class in com.moeen.file_manager.service
- MinIOService() - Constructor for class com.moeen.file_manager.service.MinIOService
O
- of(HttpStatusCode, String, String, WebRequest, Map<String, Object>) - Static method in record class com.moeen.shared_lib.exception.ErrorResponse
P
- path() - Method in record class com.moeen.shared_lib.exception.ErrorResponse
-
Returns the value of the
pathrecord component. - PENDING_UPLOAD - Enum constant in enum class com.moeen.file_manager.model.enums.FileStatus
- preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class com.moeen.shared_lib.interceptor.RoleGuardInterceptor
R
- RequireGatewayUser - Annotation Interface in com.moeen.shared_lib.user
-
Marks a controller method or class as requiring a valid gateway user (X-User-Id and X-User-Role headers).
- RequireRole - Annotation Interface in com.moeen.shared_lib.user
-
Marks a controller method or class as requiring a specific role.
- ResourceNotFoundException - Exception Class in com.moeen.shared_lib.exception
- ResourceNotFoundException(String) - Constructor for exception class com.moeen.shared_lib.exception.ResourceNotFoundException
- RoleGuardInterceptor - Class in com.moeen.shared_lib.interceptor
- RoleGuardInterceptor() - Constructor for class com.moeen.shared_lib.interceptor.RoleGuardInterceptor
S
- SimpleGatewayUserFilter - Class in com.moeen.shared_lib.filter
-
Attempts to extract gateway user information from request headers.
- SimpleGatewayUserFilter() - Constructor for class com.moeen.shared_lib.filter.SimpleGatewayUserFilter
- status() - Method in record class com.moeen.shared_lib.exception.ErrorResponse
-
Returns the value of the
statusrecord component. - SYSTEM - Enum constant in enum class com.moeen.shared_lib.user.UserRoles
T
- timestamp() - Method in record class com.moeen.shared_lib.exception.ErrorResponse
-
Returns the value of the
timestamprecord component. - toDto(File) - Method in class com.moeen.file_manager.mapper.FileMapper
- toDto(File, String, Long) - Method in class com.moeen.file_manager.mapper.FileMapper
- toEntity(UploadUrlRequest) - Method in class com.moeen.file_manager.mapper.FileMapper
- toResponseEntity() - Method in record class com.moeen.shared_lib.exception.ErrorResponse
- toResponseEntity(HttpHeaders) - Method in record class com.moeen.shared_lib.exception.ErrorResponse
- toString() - Method in enum class com.moeen.file_manager.model.enums.Buckets
- toString() - Method in record class com.moeen.shared_lib.exception.ErrorResponse
-
Returns a string representation of this record class.
- traceId() - Method in record class com.moeen.shared_lib.exception.ErrorResponse
-
Returns the value of the
traceIdrecord component.
U
- updateFileStatus(UUID, FileStatus, Long) - Method in class com.moeen.file_manager.service.FileCleanupService
- updateFileStatusToAvailable(File, long) - Method in class com.moeen.file_manager.service.FileService
- UploadUrlRequest - Class in com.moeen.file_manager.dto
- UploadUrlRequest() - Constructor for class com.moeen.file_manager.dto.UploadUrlRequest
- UploadUrlResponse - Class in com.moeen.file_manager.dto
- UploadUrlResponse() - Constructor for class com.moeen.file_manager.dto.UploadUrlResponse
- USER - Enum constant in enum class com.moeen.shared_lib.user.UserRoles
- USER_ATTRIBUTE - Static variable in class com.moeen.shared_lib.filter.SimpleGatewayUserFilter
- USER_DOCUMENTS - Enum constant in enum class com.moeen.file_manager.model.enums.Buckets
- UserRoles - Enum Class in com.moeen.shared_lib.user
V
- ValidationException - Exception Class in com.moeen.shared_lib.exception
-
Exception for programmatic validation errors that include field paths.
- ValidationException(String, String) - Constructor for exception class com.moeen.shared_lib.exception.ValidationException
- ValidationException(Map<String, String>) - Constructor for exception class com.moeen.shared_lib.exception.ValidationException
- ValidationException.Builder - Class in com.moeen.shared_lib.exception
- value() - Element in annotation interface com.moeen.shared_lib.user.RequireRole
- valueOf(String) - Static method in enum class com.moeen.file_manager.model.enums.Buckets
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.moeen.file_manager.model.enums.FileStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.moeen.shared_lib.user.UserRoles
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.moeen.file_manager.model.enums.Buckets
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.moeen.file_manager.model.enums.FileStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.moeen.shared_lib.user.UserRoles
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WebConfig - Class in com.moeen.file_manager.config
- WebConfig() - Constructor for class com.moeen.file_manager.config.WebConfig
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form