Class ServiceEntityResource<T extends ServiceEntityInterface,R extends ServiceEntityRepository<T,S>,S extends ServiceConnectionEntityInterface>
java.lang.Object
org.openmetadata.service.resources.EntityResource<T,R>
org.openmetadata.service.resources.services.ServiceEntityResource<T,R,S>
- Direct Known Subclasses:
DashboardServiceResource,DatabaseServiceResource,MessagingServiceResource,MetadataServiceResource,MlModelServiceResource,PipelineServiceResource,SearchServiceResource,StorageServiceResource
public abstract class ServiceEntityResource<T extends ServiceEntityInterface,R extends ServiceEntityRepository<T,S>,S extends ServiceConnectionEntityInterface>
extends EntityResource<T,R>
-
Field Summary
Fields inherited from class org.openmetadata.service.resources.EntityResource
allowedFields, authorizer, entityClass, entityType, fieldsToViewOperations, repository, VIEW_ALL_OPERATIONS, VIEW_BASIC_OPERATIONS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedServiceEntityResource(String entityType, Authorizer authorizer, ServiceType serviceType) -
Method Summary
Modifier and TypeMethodDescriptionprotected ResultList<T>decryptOrNullify(javax.ws.rs.core.SecurityContext securityContext, ResultList<T> services) protected TdecryptOrNullify(javax.ws.rs.core.SecurityContext securityContext, T service) protected abstract StringextractServiceType(T service) protected ResultList<T>listInternal(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.SecurityContext securityContext, String fieldsParam, Include include, String domain, int limitParam, String before, String after) protected abstract TnullifyConnection(T service) protected TMethods inherited from class org.openmetadata.service.resources.EntityResource
addHref, addHref, addViewOperation, create, createOrUpdate, delete, deleteByName, exportCsvInternal, getByNameInternal, getByNameInternal, getEntityReference, getEntityReferences, getEntitySpecificOperations, getFields, getInternal, getInternal, getResourceContext, getResourceContextById, getResourceContextByName, getVersionInternal, getVersionInternal, importCsvInternal, initialize, listInternal, listInternal, listVersionsInternal, listVersionsInternal, patchInternal, restoreEntity, upgrade
-
Constructor Details
-
ServiceEntityResource
-
-
Method Details
-
decryptOrNullify
-
decryptOrNullify
protected ResultList<T> decryptOrNullify(javax.ws.rs.core.SecurityContext securityContext, ResultList<T> services) -
unmask
-
nullifyConnection
-
extractServiceType
-
listInternal
-