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 a3940d2c1..c1834c88c 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 872c75591..6009709a0 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 6babf29d4..23a720ec9 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 ceb9796ab..c4f74d0d7 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 5f2dc5def..208135fd8 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 d6de1d852..05f336623 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 681a4632c..194f1a97e 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 1f771bc90..766e4709c 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 7cf2df8ae..0ca1ff23a 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 afaecacc0..d0be36e96 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 96459ab98..929becf23 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 a1915bdd6..4c5c84ca3 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 7833ce9b3..3a85ed574 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 87f70f564..4db1a2596 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 3dc0297cd..5a9c82a69 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 3dc0b8dfe..e1c017510 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 5f5f70501..8ade29715 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 d8d8920ad..a231d7837 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 64d8a5b96..d81b64eec 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 22e4873fd..516d84330 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 c1b3d3613..379a7622e 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 ed5303a82..a6cba671c 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 78b6e2a23..e494e00d3 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 b5eaaa365..31611a151 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 21c8549e7..e6bd89d26 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 1a9c9162b..c0b16b408 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 fa3741c51..b57e4654a 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;