diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java index a3940d2c1cdce55e847823c34f9ea5323b2afb4f..c1834c88cc0b50f3a69dc089e284cce2183acce4 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java @@ -1,5 +1,25 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict; +import java.util.stream.Collectors; +import java.util.stream.Stream; + +import javax.annotation.Resource; + import org.codelibs.fess.app.web.api.ApiResult; import org.codelibs.fess.app.web.api.admin.FessApiAdminAction; import org.codelibs.fess.dict.DictionaryFile; @@ -8,10 +28,6 @@ import org.codelibs.fess.dict.DictionaryManager; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; -import javax.annotation.Resource; -import java.util.stream.Collectors; -import java.util.stream.Stream; - public class ApiAdminDictAction extends FessApiAdminAction { @Resource protected DictionaryManager dictionaryManager; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/ListBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/ListBody.java index 872c755912642071404765c790959b5e166e3941..6009709a0519624e8b8c90de3acdef43c8c42930 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/ListBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/ListBody.java @@ -1,9 +1,24 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict; -import org.codelibs.fess.app.web.admin.dict.ListForm; - import java.util.Date; +import org.codelibs.fess.app.web.admin.dict.ListForm; + public class ListBody extends ListForm { public String id; public String type; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java index 6babf29d485603009d71430a09fb1474b2a281f5..23a720ec9a3b130a4912f179b06bed21199f1d8a 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java @@ -1,5 +1,28 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.kuromoji; +import static org.codelibs.fess.app.web.admin.dict.kuromoji.AdminDictKuromojiAction.createKuromojiItem; + +import java.io.File; +import java.io.InputStream; +import java.util.stream.Collectors; + +import javax.annotation.Resource; + import org.codelibs.fess.app.pager.KuromojiPager; import org.codelibs.fess.app.service.KuromojiService; import org.codelibs.fess.app.web.CrudMode; @@ -12,12 +35,6 @@ import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import org.lastaflute.web.response.StreamResponse; -import javax.annotation.Resource; - -import java.io.*; -import java.util.stream.Collectors; -import static org.codelibs.fess.app.web.admin.dict.kuromoji.AdminDictKuromojiAction.*; - public class ApiAdminDictKuromojiAction extends FessApiAdminAction { @Resource diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/CreateBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/CreateBody.java index ceb9796ab7ae347de4e837862a82a959500d0b15..c4f74d0d7fa20c04cae3a51e6c0a4148841b8353 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/CreateBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/CreateBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.kuromoji; import org.codelibs.fess.app.web.admin.dict.kuromoji.CreateForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/DownloadBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/DownloadBody.java index 5f2dc5defed6248e4813dfdd10e25ab6eb3a8bcf..208135fd8691aae63acd9aa4ed2b6978d9d89d25 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/DownloadBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/DownloadBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.kuromoji; import org.codelibs.fess.app.web.admin.dict.kuromoji.DownloadForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/EditBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/EditBody.java index d6de1d852b8260b9bf69729076ae222dcbc09d54..05f3366233622b033ab456b13735a27815612a8c 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/EditBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/EditBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.kuromoji; import org.codelibs.fess.app.web.admin.dict.kuromoji.EditForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/SearchBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/SearchBody.java index 681a4632c9c8d27e704e01fcba4e577cf2cf2d73..194f1a97e8cef59a94b6a9ca9cff5b89aa1c7f9a 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/SearchBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/SearchBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.kuromoji; import org.codelibs.fess.app.web.admin.dict.kuromoji.SearchForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java index 1f771bc905d41be218c59e0261ca87ab91274ced..766e4709cb80bd14f0f2b5d818e55c8a96d702fa 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java @@ -1,5 +1,26 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.mapping; +import java.io.File; +import java.io.InputStream; +import java.util.stream.Collectors; + +import javax.annotation.Resource; + import org.codelibs.fess.app.pager.CharMappingPager; import org.codelibs.fess.app.service.CharMappingService; import org.codelibs.fess.app.web.CrudMode; @@ -13,11 +34,6 @@ import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import org.lastaflute.web.response.StreamResponse; -import javax.annotation.Resource; - -import java.io.*; -import java.util.stream.Collectors; - public class ApiAdminDictMappingAction extends FessApiAdminAction { @Resource diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/CreateBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/CreateBody.java index 7cf2df8aeae9d2f748ede0bf315f062edf24b5a0..0ca1ff23a11cd381fbad00619ff75f0f1bfa546e 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/CreateBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/CreateBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.mapping; import org.codelibs.fess.app.web.admin.dict.mapping.CreateForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/DownloadBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/DownloadBody.java index afaecacc0a60f0837fccf9b153525fc191eeea4b..d0be36e964b42ff16bd534dd01f9892c4ca96cd4 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/DownloadBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/DownloadBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.mapping; import org.codelibs.fess.app.web.admin.dict.mapping.DownloadForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/EditBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/EditBody.java index 96459ab989f317bdea5905c50b42586abc099484..929becf2374a04b11a2c1d5c36dd93ee77071b22 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/EditBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/EditBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.mapping; import org.codelibs.fess.app.web.admin.dict.mapping.EditForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/SearchBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/SearchBody.java index a1915bdd6df9078a85f60d5fef12e469b5240d1a..4c5c84ca360e4461726363b5e665ad73dcc79071 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/SearchBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/SearchBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.mapping; import org.codelibs.fess.app.web.admin.dict.mapping.SearchForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java index 7833ce9b3815f0e19163c584f77e8470b284c16f..3a85ed5743f67b400b0afe4806961bf58af79f4a 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java @@ -1,5 +1,28 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.protwords; +import static org.codelibs.fess.app.web.admin.dict.protwords.AdminDictProtwordsAction.createProtwordsItem; + +import java.io.File; +import java.io.InputStream; +import java.util.stream.Collectors; + +import javax.annotation.Resource; + import org.codelibs.fess.app.pager.ProtwordsPager; import org.codelibs.fess.app.service.ProtwordsService; import org.codelibs.fess.app.web.CrudMode; @@ -12,12 +35,6 @@ import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import org.lastaflute.web.response.StreamResponse; -import javax.annotation.Resource; - -import java.io.*; -import java.util.stream.Collectors; -import static org.codelibs.fess.app.web.admin.dict.protwords.AdminDictProtwordsAction.*; - public class ApiAdminDictProtwordsAction extends FessApiAdminAction { @Resource private ProtwordsService protwordsService; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/CreateBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/CreateBody.java index 87f70f564c3e2c8df47cf3c98a63bbf1b441ac8c..4db1a2596aa497f1c5d34a02c8d14f63005b2bb6 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/CreateBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/CreateBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.protwords; import org.codelibs.fess.app.web.admin.dict.protwords.CreateForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/DownloadBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/DownloadBody.java index 3dc0297cd0624fd44d12dc35aab53eae221470ed..5a9c82a69ad944dfa706649cfb463581d1667c42 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/DownloadBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/DownloadBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.protwords; import org.codelibs.fess.app.web.admin.dict.protwords.DownloadForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/EditBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/EditBody.java index 3dc0b8dfe2930e1debe00f551403fd843cefb8e1..e1c01751010dfa206599d89f239ce51f15f70f50 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/EditBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/EditBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.protwords; import org.codelibs.fess.app.web.admin.dict.protwords.EditForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/SearchBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/SearchBody.java index 5f5f7050194bf98fee2bba61a4b3549319ee538e..8ade2971527883b440814fcf5fbe12d3871698b8 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/SearchBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/SearchBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.protwords; import org.codelibs.fess.app.web.admin.dict.protwords.SearchForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/ApiAdminDictSeunjeonAction.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/ApiAdminDictSeunjeonAction.java index d8d8920ad27be37f9dc015a4122e41f3530a9bb2..a231d7837c35bad395059e8db8dd25d7827a390c 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/ApiAdminDictSeunjeonAction.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/ApiAdminDictSeunjeonAction.java @@ -1,10 +1,31 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.seunjeon; +import java.io.File; +import java.io.InputStream; +import java.util.stream.Collectors; + +import javax.annotation.Resource; + import org.codelibs.fess.app.pager.SeunjeonPager; import org.codelibs.fess.app.service.SeunjeonService; import org.codelibs.fess.app.web.CrudMode; -import org.codelibs.fess.app.web.admin.dict.seunjeon.UploadForm; import org.codelibs.fess.app.web.admin.dict.seunjeon.AdminDictSeunjeonAction; +import org.codelibs.fess.app.web.admin.dict.seunjeon.UploadForm; import org.codelibs.fess.app.web.api.ApiResult; import org.codelibs.fess.app.web.api.admin.FessApiAdminAction; import org.codelibs.fess.dict.seunjeon.SeunjeonFile; @@ -13,11 +34,6 @@ import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import org.lastaflute.web.response.StreamResponse; -import javax.annotation.Resource; - -import java.io.*; -import java.util.stream.Collectors; - public class ApiAdminDictSeunjeonAction extends FessApiAdminAction { @Resource diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/CreateBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/CreateBody.java index 64d8a5b96e32dfd79fa348c9801206fe0d8a4509..d81b64eec21315153f3bdb69d38a796accbb4e01 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/CreateBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/CreateBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.seunjeon; import org.codelibs.fess.app.web.admin.dict.seunjeon.CreateForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/DownloadBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/DownloadBody.java index 22e4873fd987a5f158966ed0c3a15289ed5348f8..516d84330dd6f0452b6ff5662f7f67a2e207c11a 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/DownloadBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/DownloadBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.seunjeon; import org.codelibs.fess.app.web.admin.dict.seunjeon.DownloadForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/EditBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/EditBody.java index c1b3d3613cdf9583296840cc3c525a7959e2a1d9..379a7622e5f2130251275790a972b24ab6529b4a 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/EditBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/EditBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.seunjeon; import org.codelibs.fess.app.web.admin.dict.seunjeon.EditForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/SearchBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/SearchBody.java index ed5303a82a0df968500cdb330460db0a57ba70d4..a6cba671c73d395b131193ea5b2e6044655ca6b3 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/SearchBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/seunjeon/SearchBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.seunjeon; import org.codelibs.fess.app.web.admin.dict.seunjeon.SearchForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java index 78b6e2a23ac80c4806cb3e1452cd70ecf74be702..e494e00d3c59392984787f8334a8d7863303f056 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java @@ -1,5 +1,26 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.synonym; +import java.io.File; +import java.io.InputStream; +import java.util.stream.Collectors; + +import javax.annotation.Resource; + import org.codelibs.fess.app.pager.SynonymPager; import org.codelibs.fess.app.service.SynonymService; import org.codelibs.fess.app.web.CrudMode; @@ -13,11 +34,6 @@ import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import org.lastaflute.web.response.StreamResponse; -import javax.annotation.Resource; - -import java.io.*; -import java.util.stream.Collectors; - public class ApiAdminDictSynonymAction extends FessApiAdminAction { @Resource diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/CreateBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/CreateBody.java index b5eaaa365c4fc8b8906568b701bd452ea1d111d6..31611a151f831dfddcfdd3a4c341d01687f7c562 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/CreateBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/CreateBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.synonym; import org.codelibs.fess.app.web.admin.dict.synonym.CreateForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/DownloadBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/DownloadBody.java index 21c8549e7f227fa8181370c8052fc3339ae8b1ef..e6bd89d26f2aee985ecc642e32260198283c05ef 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/DownloadBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/DownloadBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.synonym; import org.codelibs.fess.app.web.admin.dict.synonym.DownloadForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/EditBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/EditBody.java index 1a9c9162b4ac47ad2ac391a13604c8b5f20a8373..c0b16b408e908b88f52ecd5cb86c8e5cb8f3827e 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/EditBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/EditBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.synonym; import org.codelibs.fess.app.web.admin.dict.synonym.EditForm; diff --git a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/SearchBody.java b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/SearchBody.java index fa3741c51b6e7b0913e8ac7f36cd5e82450f7b4c..b57e4654a7c33c638001b12accbb003aea93f809 100644 --- a/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/SearchBody.java +++ b/src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/SearchBody.java @@ -1,3 +1,18 @@ +/* + * Copyright 2012-2017 CodeLibs Project and the Others. + * + * 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.codelibs.fess.app.web.api.admin.dict.synonym; import org.codelibs.fess.app.web.admin.dict.synonym.SearchForm;