|
|
@ -13,21 +13,21 @@ |
|
|
* See the License for the specific language governing permissions and |
|
|
* See the License for the specific language governing permissions and |
|
|
* limitations under the License. |
|
|
* limitations under the License. |
|
|
*/ |
|
|
*/ |
|
|
package org.thingsboard.server.service.expimp.imp.impl; |
|
|
package org.thingsboard.server.service.exportimport.importing.impl; |
|
|
|
|
|
|
|
|
import org.apache.commons.collections.CollectionUtils; |
|
|
import org.apache.commons.collections.CollectionUtils; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.context.annotation.Lazy; |
|
|
import org.springframework.context.annotation.Lazy; |
|
|
import org.thingsboard.server.common.data.export.EntityExportData; |
|
|
import org.thingsboard.server.common.data.ExportableEntity; |
|
|
import org.thingsboard.server.common.data.export.ExportableEntity; |
|
|
|
|
|
import org.thingsboard.server.common.data.id.EntityId; |
|
|
import org.thingsboard.server.common.data.id.EntityId; |
|
|
import org.thingsboard.server.common.data.id.HasId; |
|
|
import org.thingsboard.server.common.data.id.HasId; |
|
|
import org.thingsboard.server.common.data.id.TenantId; |
|
|
import org.thingsboard.server.common.data.id.TenantId; |
|
|
import org.thingsboard.server.dao.relation.RelationService; |
|
|
import org.thingsboard.server.dao.relation.RelationService; |
|
|
import org.thingsboard.server.service.expimp.ExportableEntitiesService; |
|
|
import org.thingsboard.server.service.exportimport.ExportableEntitiesService; |
|
|
import org.thingsboard.server.service.expimp.imp.EntityImportResult; |
|
|
import org.thingsboard.server.service.exportimport.exporting.data.EntityExportData; |
|
|
import org.thingsboard.server.service.expimp.imp.EntityImportService; |
|
|
import org.thingsboard.server.service.exportimport.importing.EntityImportResult; |
|
|
import org.thingsboard.server.service.expimp.imp.EntityImportSettings; |
|
|
import org.thingsboard.server.service.exportimport.importing.EntityImportService; |
|
|
|
|
|
import org.thingsboard.server.service.exportimport.importing.EntityImportSettings; |
|
|
|
|
|
|
|
|
public abstract class AbstractEntityImportService<I extends EntityId, E extends ExportableEntity<I>, D extends EntityExportData<E>> implements EntityImportService<I, E, D> { |
|
|
public abstract class AbstractEntityImportService<I extends EntityId, E extends ExportableEntity<I>, D extends EntityExportData<E>> implements EntityImportService<I, E, D> { |
|
|
|
|
|
|