From 0cf365e2b320b6d40e802a0037da2a47f320d092 Mon Sep 17 00:00:00 2001 From: zhouhao Date: Thu, 29 May 2025 16:48:07 +0800 Subject: [PATCH] doc: add license --- .../command/crud/CrudCommandHandler.java | 15 +++++++++++++++ .../command/crud/DeleteCommandHandler.java | 15 +++++++++++++++ .../command/crud/QueryCommandHandler.java | 15 +++++++++++++++ .../command/crud/SaveCommandHandler.java | 15 +++++++++++++++ .../community/device/DeviceManagerConstants.java | 15 +++++++++++++++ .../device/cmd/DeviceCommandSupport.java | 15 +++++++++++++++ 6 files changed, 90 insertions(+) diff --git a/jetlinks-components/common-component/src/main/java/org/jetlinks/community/command/crud/CrudCommandHandler.java b/jetlinks-components/common-component/src/main/java/org/jetlinks/community/command/crud/CrudCommandHandler.java index 4764d8f4..d7af2b7b 100644 --- a/jetlinks-components/common-component/src/main/java/org/jetlinks/community/command/crud/CrudCommandHandler.java +++ b/jetlinks-components/common-component/src/main/java/org/jetlinks/community/command/crud/CrudCommandHandler.java @@ -1,3 +1,18 @@ +/* + * Copyright 2025 JetLinks https://www.jetlinks.cn + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.jetlinks.community.command.crud; import org.hswebframework.web.crud.service.ReactiveCrudService; diff --git a/jetlinks-components/common-component/src/main/java/org/jetlinks/community/command/crud/DeleteCommandHandler.java b/jetlinks-components/common-component/src/main/java/org/jetlinks/community/command/crud/DeleteCommandHandler.java index accdc918..65cc446b 100644 --- a/jetlinks-components/common-component/src/main/java/org/jetlinks/community/command/crud/DeleteCommandHandler.java +++ b/jetlinks-components/common-component/src/main/java/org/jetlinks/community/command/crud/DeleteCommandHandler.java @@ -1,3 +1,18 @@ +/* + * Copyright 2025 JetLinks https://www.jetlinks.cn + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.jetlinks.community.command.crud; import com.google.common.collect.Collections2; diff --git a/jetlinks-components/common-component/src/main/java/org/jetlinks/community/command/crud/QueryCommandHandler.java b/jetlinks-components/common-component/src/main/java/org/jetlinks/community/command/crud/QueryCommandHandler.java index d05bfc33..ecc5bcf2 100644 --- a/jetlinks-components/common-component/src/main/java/org/jetlinks/community/command/crud/QueryCommandHandler.java +++ b/jetlinks-components/common-component/src/main/java/org/jetlinks/community/command/crud/QueryCommandHandler.java @@ -1,3 +1,18 @@ +/* + * Copyright 2025 JetLinks https://www.jetlinks.cn + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.jetlinks.community.command.crud; import com.google.common.collect.Collections2; diff --git a/jetlinks-components/common-component/src/main/java/org/jetlinks/community/command/crud/SaveCommandHandler.java b/jetlinks-components/common-component/src/main/java/org/jetlinks/community/command/crud/SaveCommandHandler.java index 3d66f56b..774d6cde 100644 --- a/jetlinks-components/common-component/src/main/java/org/jetlinks/community/command/crud/SaveCommandHandler.java +++ b/jetlinks-components/common-component/src/main/java/org/jetlinks/community/command/crud/SaveCommandHandler.java @@ -1,3 +1,18 @@ +/* + * Copyright 2025 JetLinks https://www.jetlinks.cn + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.jetlinks.community.command.crud; import org.hswebframework.web.authorization.annotation.SaveAction; diff --git a/jetlinks-manager/device-manager/src/main/java/org/jetlinks/community/device/DeviceManagerConstants.java b/jetlinks-manager/device-manager/src/main/java/org/jetlinks/community/device/DeviceManagerConstants.java index f3394e32..ae079f0f 100644 --- a/jetlinks-manager/device-manager/src/main/java/org/jetlinks/community/device/DeviceManagerConstants.java +++ b/jetlinks-manager/device-manager/src/main/java/org/jetlinks/community/device/DeviceManagerConstants.java @@ -1,3 +1,18 @@ +/* + * Copyright 2025 JetLinks https://www.jetlinks.cn + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.jetlinks.community.device; /** diff --git a/jetlinks-manager/device-manager/src/main/java/org/jetlinks/community/device/cmd/DeviceCommandSupport.java b/jetlinks-manager/device-manager/src/main/java/org/jetlinks/community/device/cmd/DeviceCommandSupport.java index 53444952..67d10d27 100644 --- a/jetlinks-manager/device-manager/src/main/java/org/jetlinks/community/device/cmd/DeviceCommandSupport.java +++ b/jetlinks-manager/device-manager/src/main/java/org/jetlinks/community/device/cmd/DeviceCommandSupport.java @@ -1,3 +1,18 @@ +/* + * Copyright 2025 JetLinks https://www.jetlinks.cn + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.jetlinks.community.device.cmd; import io.swagger.v3.oas.annotations.media.Schema;