mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-08-06 12:11:13 +00:00
Organize imports
This commit is contained in:
@@ -36,6 +36,7 @@ import org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean;
|
||||
import org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter;
|
||||
import org.springframework.transaction.PlatformTransactionManager;
|
||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.transaction.support.TransactionTemplate;
|
||||
|
||||
import tech.ailef.snapadmin.internal.InternalSnapAdminConfiguration;
|
||||
|
@@ -55,10 +55,10 @@ import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
|
||||
import tech.ailef.snapadmin.external.SnapAdmin;
|
||||
import tech.ailef.snapadmin.external.dbmapping.SnapAdminRepository;
|
||||
import tech.ailef.snapadmin.external.dbmapping.DbFieldValue;
|
||||
import tech.ailef.snapadmin.external.dbmapping.DbObject;
|
||||
import tech.ailef.snapadmin.external.dbmapping.DbObjectSchema;
|
||||
import tech.ailef.snapadmin.external.dbmapping.SnapAdminRepository;
|
||||
import tech.ailef.snapadmin.external.dbmapping.fields.DbField;
|
||||
import tech.ailef.snapadmin.external.dbmapping.query.DbQueryResult;
|
||||
import tech.ailef.snapadmin.external.dbmapping.query.DbQueryResultRow;
|
||||
|
@@ -37,10 +37,10 @@ import org.springframework.web.bind.annotation.ResponseBody;
|
||||
import org.springframework.web.server.ResponseStatusException;
|
||||
|
||||
import tech.ailef.snapadmin.external.SnapAdmin;
|
||||
import tech.ailef.snapadmin.external.dbmapping.SnapAdminRepository;
|
||||
import tech.ailef.snapadmin.external.dbmapping.DbFieldValue;
|
||||
import tech.ailef.snapadmin.external.dbmapping.DbObject;
|
||||
import tech.ailef.snapadmin.external.dbmapping.DbObjectSchema;
|
||||
import tech.ailef.snapadmin.external.dbmapping.SnapAdminRepository;
|
||||
import tech.ailef.snapadmin.external.exceptions.SnapAdminException;
|
||||
|
||||
/**
|
||||
|
@@ -19,7 +19,6 @@
|
||||
|
||||
package tech.ailef.snapadmin.external.controller;
|
||||
|
||||
import java.security.Principal;
|
||||
import java.text.DecimalFormat;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.ArrayList;
|
||||
@@ -57,9 +56,9 @@ import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.validation.ConstraintViolationException;
|
||||
import tech.ailef.snapadmin.external.SnapAdmin;
|
||||
import tech.ailef.snapadmin.external.SnapAdminProperties;
|
||||
import tech.ailef.snapadmin.external.dbmapping.SnapAdminRepository;
|
||||
import tech.ailef.snapadmin.external.dbmapping.DbObject;
|
||||
import tech.ailef.snapadmin.external.dbmapping.DbObjectSchema;
|
||||
import tech.ailef.snapadmin.external.dbmapping.SnapAdminRepository;
|
||||
import tech.ailef.snapadmin.external.dbmapping.query.DbQueryResult;
|
||||
import tech.ailef.snapadmin.external.dto.CompareOperator;
|
||||
import tech.ailef.snapadmin.external.dto.FacetedSearchRequest;
|
||||
@@ -68,9 +67,9 @@ import tech.ailef.snapadmin.external.dto.PaginatedResult;
|
||||
import tech.ailef.snapadmin.external.dto.PaginationInfo;
|
||||
import tech.ailef.snapadmin.external.dto.QueryFilter;
|
||||
import tech.ailef.snapadmin.external.dto.ValidationErrorsContainer;
|
||||
import tech.ailef.snapadmin.external.exceptions.InvalidPageException;
|
||||
import tech.ailef.snapadmin.external.exceptions.SnapAdminException;
|
||||
import tech.ailef.snapadmin.external.exceptions.SnapAdminNotFoundException;
|
||||
import tech.ailef.snapadmin.external.exceptions.InvalidPageException;
|
||||
import tech.ailef.snapadmin.external.misc.Utils;
|
||||
import tech.ailef.snapadmin.internal.model.ConsoleQuery;
|
||||
import tech.ailef.snapadmin.internal.model.UserAction;
|
||||
|
@@ -31,8 +31,8 @@ import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import tech.ailef.snapadmin.external.SnapAdmin;
|
||||
import tech.ailef.snapadmin.external.dbmapping.SnapAdminRepository;
|
||||
import tech.ailef.snapadmin.external.dbmapping.DbObjectSchema;
|
||||
import tech.ailef.snapadmin.external.dbmapping.SnapAdminRepository;
|
||||
import tech.ailef.snapadmin.external.dto.AutocompleteSearchResult;
|
||||
|
||||
/**
|
||||
|
@@ -54,8 +54,8 @@ import tech.ailef.snapadmin.external.dto.FacetedSearchRequest;
|
||||
import tech.ailef.snapadmin.external.dto.PaginatedResult;
|
||||
import tech.ailef.snapadmin.external.dto.PaginationInfo;
|
||||
import tech.ailef.snapadmin.external.dto.QueryFilter;
|
||||
import tech.ailef.snapadmin.external.exceptions.SnapAdminException;
|
||||
import tech.ailef.snapadmin.external.exceptions.InvalidPageException;
|
||||
import tech.ailef.snapadmin.external.exceptions.SnapAdminException;
|
||||
|
||||
/**
|
||||
* Implements the basic CRUD operations (and some more)
|
||||
|
Reference in New Issue
Block a user