You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2016/03/31 17:28:59 UTC
[05/10] syncope git commit: [SYNCOPE-156] Internal refactoring
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/PropagationTaskDirectoryPanel_pt_BR.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/PropagationTaskDirectoryPanel_pt_BR.properties b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/PropagationTaskDirectoryPanel_pt_BR.properties
new file mode 100644
index 0000000..a882f45
--- /dev/null
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/PropagationTaskDirectoryPanel_pt_BR.properties
@@ -0,0 +1,22 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+operation=Operation
+anyTypeKind=Involved object
+anyKey=Local id
+connObjectKey=Remote Id
+start=Start
+end=End
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/PropagationTaskSearchResultPanel.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/PropagationTaskSearchResultPanel.properties b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/PropagationTaskSearchResultPanel.properties
deleted file mode 100644
index a882f45..0000000
--- a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/PropagationTaskSearchResultPanel.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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.
-operation=Operation
-anyTypeKind=Involved object
-anyKey=Local id
-connObjectKey=Remote Id
-start=Start
-end=End
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/PropagationTaskSearchResultPanel_it.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/PropagationTaskSearchResultPanel_it.properties b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/PropagationTaskSearchResultPanel_it.properties
deleted file mode 100644
index 13e1fb1..0000000
--- a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/PropagationTaskSearchResultPanel_it.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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.
-operation=Operazione
-anyTypeKind=Oggetto coinvolto
-anyKey=Id locale
-connObjectKey=Id remoto
-start=Inizio
-end=Fine
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/PropagationTaskSearchResultPanel_pt_BR.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/PropagationTaskSearchResultPanel_pt_BR.properties b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/PropagationTaskSearchResultPanel_pt_BR.properties
deleted file mode 100644
index a882f45..0000000
--- a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/PropagationTaskSearchResultPanel_pt_BR.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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.
-operation=Operation
-anyTypeKind=Involved object
-anyKey=Local id
-connObjectKey=Remote Id
-start=Start
-end=End
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskDirectoryPanel.html
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskDirectoryPanel.html b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskDirectoryPanel.html
new file mode 100644
index 0000000..e4c5611
--- /dev/null
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskDirectoryPanel.html
@@ -0,0 +1,23 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org">
+ <wicket:extend>
+ <span wicket:id="startAt"/>
+ </wicket:extend>
+</html>
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskDirectoryPanel.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskDirectoryPanel.properties b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskDirectoryPanel.properties
new file mode 100644
index 0000000..e68cee7
--- /dev/null
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskDirectoryPanel.properties
@@ -0,0 +1,28 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+name=Name
+description=Description
+destinationRealm=Destination realm
+jobDelegateClassName=Job
+lastExec=Last execution
+nextExec=Next execution
+active=Active
+
+any.edit=Edit ${name}
+any.new=New task
+any.finish=Submit ${name}
+any.cancel=Cancel ${name}
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskDirectoryPanel_it.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskDirectoryPanel_it.properties b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskDirectoryPanel_it.properties
new file mode 100644
index 0000000..f88f658
--- /dev/null
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskDirectoryPanel_it.properties
@@ -0,0 +1,28 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+name=Nome
+description=Descrizione
+destinationRealm=Realm di destinazione
+jobDelegateClassName=Job
+lastExec=Ultima esecuszione
+nextExec=Prossima esecuzione
+active=Attivo
+
+any.edit=Modifica ${name}
+any.new=Nuovo Task
+any.finish=Invia ${name}
+any.cancel=Annulla ${name}
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskDirectoryPanel_pt_BR.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskDirectoryPanel_pt_BR.properties b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskDirectoryPanel_pt_BR.properties
new file mode 100644
index 0000000..e68cee7
--- /dev/null
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskDirectoryPanel_pt_BR.properties
@@ -0,0 +1,28 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+name=Name
+description=Description
+destinationRealm=Destination realm
+jobDelegateClassName=Job
+lastExec=Last execution
+nextExec=Next execution
+active=Active
+
+any.edit=Edit ${name}
+any.new=New task
+any.finish=Submit ${name}
+any.cancel=Cancel ${name}
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskSearchResultPanel.html
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskSearchResultPanel.html b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskSearchResultPanel.html
deleted file mode 100644
index e4c5611..0000000
--- a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskSearchResultPanel.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you 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.
--->
-<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org">
- <wicket:extend>
- <span wicket:id="startAt"/>
- </wicket:extend>
-</html>
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskSearchResultPanel.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskSearchResultPanel.properties b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskSearchResultPanel.properties
deleted file mode 100644
index e68cee7..0000000
--- a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskSearchResultPanel.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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.
-name=Name
-description=Description
-destinationRealm=Destination realm
-jobDelegateClassName=Job
-lastExec=Last execution
-nextExec=Next execution
-active=Active
-
-any.edit=Edit ${name}
-any.new=New task
-any.finish=Submit ${name}
-any.cancel=Cancel ${name}
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskSearchResultPanel_it.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskSearchResultPanel_it.properties b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskSearchResultPanel_it.properties
deleted file mode 100644
index f88f658..0000000
--- a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskSearchResultPanel_it.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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.
-name=Nome
-description=Descrizione
-destinationRealm=Realm di destinazione
-jobDelegateClassName=Job
-lastExec=Ultima esecuszione
-nextExec=Prossima esecuzione
-active=Attivo
-
-any.edit=Modifica ${name}
-any.new=Nuovo Task
-any.finish=Invia ${name}
-any.cancel=Annulla ${name}
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskSearchResultPanel_pt_BR.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskSearchResultPanel_pt_BR.properties b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskSearchResultPanel_pt_BR.properties
deleted file mode 100644
index e68cee7..0000000
--- a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/SchedTaskSearchResultPanel_pt_BR.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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.
-name=Name
-description=Description
-destinationRealm=Destination realm
-jobDelegateClassName=Job
-lastExec=Last execution
-nextExec=Next execution
-active=Active
-
-any.edit=Edit ${name}
-any.new=New task
-any.finish=Submit ${name}
-any.cancel=Cancel ${name}
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskDirectoryPanel.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskDirectoryPanel.properties b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskDirectoryPanel.properties
new file mode 100644
index 0000000..65ce5d1
--- /dev/null
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskDirectoryPanel.properties
@@ -0,0 +1,24 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+profile=Profile
+executions=Executions
+title=Task
+
+key=Id
+latestExecStatus=Last execution status
+
+task.view=Executions of task '${key}'
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskDirectoryPanel_it.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskDirectoryPanel_it.properties b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskDirectoryPanel_it.properties
new file mode 100644
index 0000000..1d1f8e3
--- /dev/null
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskDirectoryPanel_it.properties
@@ -0,0 +1,24 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+profile=Profilo
+executions=Esecuzioni
+title=Task
+
+key=Id
+latestExecStatus=Stato ultima esecuzione
+
+task.view=Esecuzioni del task '${key}'
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskDirectoryPanel_pt_BR.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskDirectoryPanel_pt_BR.properties b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskDirectoryPanel_pt_BR.properties
new file mode 100644
index 0000000..0440e71
--- /dev/null
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskDirectoryPanel_pt_BR.properties
@@ -0,0 +1,24 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+profile=Profilo
+executions=Esecuzioni
+title=Task
+
+key=Id
+latestExecStatus=Stato ultima esecuzione
+
+task.view=Executions of task '${key}'
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskSearchResultPanel.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskSearchResultPanel.properties b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskSearchResultPanel.properties
deleted file mode 100644
index 65ce5d1..0000000
--- a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskSearchResultPanel.properties
+++ /dev/null
@@ -1,24 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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.
-profile=Profile
-executions=Executions
-title=Task
-
-key=Id
-latestExecStatus=Last execution status
-
-task.view=Executions of task '${key}'
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskSearchResultPanel_it.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskSearchResultPanel_it.properties b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskSearchResultPanel_it.properties
deleted file mode 100644
index 1d1f8e3..0000000
--- a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskSearchResultPanel_it.properties
+++ /dev/null
@@ -1,24 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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.
-profile=Profilo
-executions=Esecuzioni
-title=Task
-
-key=Id
-latestExecStatus=Stato ultima esecuzione
-
-task.view=Esecuzioni del task '${key}'
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskSearchResultPanel_pt_BR.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskSearchResultPanel_pt_BR.properties b/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskSearchResultPanel_pt_BR.properties
deleted file mode 100644
index 0440e71..0000000
--- a/client/console/src/main/resources/org/apache/syncope/client/console/tasks/TaskSearchResultPanel_pt_BR.properties
+++ /dev/null
@@ -1,24 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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.
-profile=Profilo
-executions=Esecuzioni
-title=Task
-
-key=Id
-latestExecStatus=Stato ultima esecuzione
-
-task.view=Executions of task '${key}'
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/pages/CamelRoutes.java
----------------------------------------------------------------------
diff --git a/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/pages/CamelRoutes.java b/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/pages/CamelRoutes.java
index f6bce47..de928b5 100644
--- a/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/pages/CamelRoutes.java
+++ b/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/pages/CamelRoutes.java
@@ -28,7 +28,7 @@ import org.apache.syncope.common.lib.types.CamelEntitlement;
import org.apache.wicket.authroles.authorization.strategies.role.metadata.MetaDataRoleAuthorizationStrategy;
import org.apache.wicket.markup.html.WebMarkupContainer;
import org.apache.syncope.client.console.annotations.ExtPage;
-import org.apache.syncope.client.console.panels.CamelRoutesPanel;
+import org.apache.syncope.client.console.panels.CamelRoutesDirectoryPanel;
import org.apache.wicket.extensions.markup.html.tabs.AbstractTab;
import org.apache.wicket.extensions.markup.html.tabs.ITab;
import org.apache.wicket.markup.html.panel.Panel;
@@ -67,7 +67,8 @@ public class CamelRoutes extends BaseExtPage {
@Override
public Panel getPanel(final String panelId) {
- CamelRoutesPanel panel = new CamelRoutesPanel(panelId, getPageReference(), AnyTypeKind.USER);
+ CamelRoutesDirectoryPanel panel =
+ new CamelRoutesDirectoryPanel(panelId, getPageReference(), AnyTypeKind.USER);
panel.setEnabled(restClient.isCamelEnabledFor(AnyTypeKind.USER));
return panel;
}
@@ -79,7 +80,8 @@ public class CamelRoutes extends BaseExtPage {
@Override
public Panel getPanel(final String panelId) {
- CamelRoutesPanel panel = new CamelRoutesPanel(panelId, getPageReference(), AnyTypeKind.GROUP);
+ CamelRoutesDirectoryPanel panel =
+ new CamelRoutesDirectoryPanel(panelId, getPageReference(), AnyTypeKind.GROUP);
panel.setEnabled(restClient.isCamelEnabledFor(AnyTypeKind.GROUP));
return panel;
}
@@ -91,7 +93,8 @@ public class CamelRoutes extends BaseExtPage {
@Override
public Panel getPanel(final String panelId) {
- CamelRoutesPanel panel = new CamelRoutesPanel(panelId, getPageReference(), AnyTypeKind.ANY_OBJECT);
+ CamelRoutesDirectoryPanel panel =
+ new CamelRoutesDirectoryPanel(panelId, getPageReference(), AnyTypeKind.ANY_OBJECT);
panel.setEnabled(restClient.isCamelEnabledFor(AnyTypeKind.ANY_OBJECT));
return panel;
}
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel.java
----------------------------------------------------------------------
diff --git a/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel.java b/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel.java
new file mode 100644
index 0000000..b859c64
--- /dev/null
+++ b/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel.java
@@ -0,0 +1,225 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.apache.syncope.client.console.panels;
+
+import de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Modal;
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.Iterator;
+import java.util.List;
+import org.apache.syncope.client.console.SyncopeConsoleSession;
+import org.apache.syncope.client.console.commons.Constants;
+import org.apache.syncope.client.console.commons.DirectoryDataProvider;
+import org.apache.syncope.client.console.commons.SortableDataProviderComparator;
+import org.apache.syncope.client.console.pages.CamelRoutes;
+import org.apache.syncope.client.console.panels.CamelRoutesDirectoryPanel.CamelRoutesProvider;
+import org.apache.syncope.client.console.rest.CamelRoutesRestClient;
+import org.apache.syncope.client.console.wicket.extensions.markup.html.repeater.data.table.ActionColumn;
+import org.apache.syncope.client.console.wicket.markup.html.bootstrap.dialog.BaseModal;
+import org.apache.syncope.client.console.wicket.markup.html.form.ActionLink;
+import org.apache.syncope.client.console.wicket.markup.html.form.ActionLinksPanel;
+import org.apache.syncope.client.console.wizards.AbstractModalPanelBuilder;
+import org.apache.syncope.client.console.wizards.AjaxWizard;
+import org.apache.syncope.client.console.wizards.WizardMgtPanel;
+import org.apache.syncope.common.lib.to.CamelRouteTO;
+import org.apache.syncope.common.lib.types.AnyTypeKind;
+import org.apache.syncope.common.lib.types.CamelEntitlement;
+import org.apache.wicket.PageReference;
+import org.apache.wicket.ajax.AjaxRequestTarget;
+import org.apache.wicket.event.Broadcast;
+import org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn;
+import org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn;
+import org.apache.wicket.markup.html.form.Form;
+import org.apache.wicket.model.CompoundPropertyModel;
+import org.apache.wicket.model.IModel;
+import org.apache.wicket.model.ResourceModel;
+
+public class CamelRoutesDirectoryPanel extends DirectoryPanel<
+ CamelRouteTO, CamelRouteTO, CamelRoutesProvider, CamelRoutesRestClient> {
+
+ private static final long serialVersionUID = 3727444742501082182L;
+
+ private final AnyTypeKind anyTypeKind;
+
+ public CamelRoutesDirectoryPanel(final String id, final PageReference pageRef, final AnyTypeKind anyTypeKind) {
+ super(id, new Builder<CamelRouteTO, CamelRouteTO, CamelRoutesRestClient>(
+ new CamelRoutesRestClient(), pageRef) {
+
+ private static final long serialVersionUID = 8769126634538601689L;
+
+ @Override
+ protected WizardMgtPanel<CamelRouteTO> newInstance(final String id) {
+ return new CamelRoutesDirectoryPanel(id, this, anyTypeKind);
+ }
+ }.disableCheckBoxes());
+
+ this.anyTypeKind = anyTypeKind;
+ setFooterVisibility(true);
+ modal.addSumbitButton();
+ modal.size(Modal.Size.Large);
+ initResultTable();
+
+ this.addNewItemPanelBuilder(new AbstractModalPanelBuilder<CamelRouteTO>(
+ BaseModal.CONTENT_ID, new CamelRouteTO(), pageRef) {
+
+ private static final long serialVersionUID = -6388405037134399367L;
+
+ @Override
+ public ModalPanel<CamelRouteTO> build(final int index, final AjaxWizard.Mode mode) {
+ final CamelRouteTO modelObject = newModelObject();
+ return new CamelRoutesModalPanel(modal, modelObject, pageRef) {
+
+ private static final long serialVersionUID = -6227956682141146095L;
+
+ @Override
+ public void onSubmit(final AjaxRequestTarget target, final Form<?> form) {
+ try {
+ restClient.update(modelObject);
+ info(getString(Constants.OPERATION_SUCCEEDED));
+ modal.close(target);
+ } catch (Exception e) {
+ LOG.error("While creating or updating CamelRouteTO", e);
+ error(getString(Constants.ERROR) + ": " + e.getMessage());
+ }
+ SyncopeConsoleSession.get().getNotificationPanel().refresh(target);
+ }
+ };
+ }
+
+ @Override
+ protected void onCancelInternal(final CamelRouteTO modelObject) {
+ }
+
+ @Override
+ protected Serializable onApplyInternal(final CamelRouteTO modelObject) {
+ // do nothing
+ return null;
+ }
+ }, false);
+ }
+
+ private CamelRoutesDirectoryPanel(
+ final String id,
+ final Builder<CamelRouteTO, CamelRouteTO, CamelRoutesRestClient> builder,
+ final AnyTypeKind anyTypeKind) {
+
+ super(id, builder);
+ this.anyTypeKind = anyTypeKind;
+ }
+
+ @Override
+ protected CamelRoutesProvider dataProvider() {
+ return new CamelRoutesProvider(anyTypeKind, rows);
+ }
+
+ @Override
+ protected String paginatorRowsKey() {
+ return CamelRoutes.PREF_CAMEL_ROUTES_PAGINATOR_ROWS;
+ }
+
+ @Override
+ protected Collection<ActionLink.ActionType> getBulkActions() {
+ return Collections.<ActionLink.ActionType>emptyList();
+ }
+
+ @Override
+ protected List<IColumn<CamelRouteTO, String>> getColumns() {
+ List<IColumn<CamelRouteTO, String>> columns = new ArrayList<>();
+
+ columns.add(new PropertyColumn<CamelRouteTO, String>(new ResourceModel("key"), "key", "key"));
+
+ columns.add(new ActionColumn<CamelRouteTO, String>(new ResourceModel("actions", "")) {
+
+ private static final long serialVersionUID = 906457126287899096L;
+
+ @Override
+ public ActionLinksPanel<CamelRouteTO> getActions(
+ final String componentId, final IModel<CamelRouteTO> model) {
+
+ ActionLinksPanel<CamelRouteTO> panel = ActionLinksPanel.<CamelRouteTO>builder().
+ add(new ActionLink<CamelRouteTO>() {
+
+ private static final long serialVersionUID = -3722207913631435501L;
+
+ @Override
+ public void onClick(final AjaxRequestTarget target, final CamelRouteTO ignore) {
+ send(CamelRoutesDirectoryPanel.this, Broadcast.EXACT,
+ new AjaxWizard.EditItemActionEvent<>(model.getObject(), target));
+ }
+ }, ActionLink.ActionType.EDIT, CamelEntitlement.ROUTE_UPDATE).
+ build(componentId);
+
+ return panel;
+ }
+
+ @Override
+ public ActionLinksPanel<CamelRouteTO> getHeader(final String componentId) {
+ final ActionLinksPanel.Builder<CamelRouteTO> panel = ActionLinksPanel.builder();
+
+ return panel.add(new ActionLink<CamelRouteTO>() {
+
+ private static final long serialVersionUID = -1140254463922516111L;
+
+ @Override
+ public void onClick(final AjaxRequestTarget target, final CamelRouteTO ignore) {
+ if (target != null) {
+ target.add(container);
+ }
+ }
+ }, ActionLink.ActionType.RELOAD).build(componentId);
+ }
+ });
+
+ return columns;
+ }
+
+ protected final class CamelRoutesProvider extends DirectoryDataProvider<CamelRouteTO> {
+
+ private static final long serialVersionUID = -185944053385660794L;
+
+ private final AnyTypeKind anyTypeKind;
+
+ private final SortableDataProviderComparator<CamelRouteTO> comparator;
+
+ private CamelRoutesProvider(final AnyTypeKind anyTypeKind, final int paginatorRows) {
+ super(paginatorRows);
+ this.anyTypeKind = anyTypeKind;
+ comparator = new SortableDataProviderComparator<>(this);
+ }
+
+ @Override
+ public Iterator<CamelRouteTO> iterator(final long first, final long count) {
+ List<CamelRouteTO> list = restClient.list(anyTypeKind);
+ Collections.sort(list, comparator);
+ return list.subList((int) first, (int) first + (int) count).iterator();
+ }
+
+ @Override
+ public long size() {
+ return restClient.list(anyTypeKind).size();
+ }
+
+ @Override
+ public IModel<CamelRouteTO> model(final CamelRouteTO object) {
+ return new CompoundPropertyModel<>(object);
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/panels/CamelRoutesPanel.java
----------------------------------------------------------------------
diff --git a/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/panels/CamelRoutesPanel.java b/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/panels/CamelRoutesPanel.java
deleted file mode 100644
index 5368933..0000000
--- a/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/panels/CamelRoutesPanel.java
+++ /dev/null
@@ -1,225 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.apache.syncope.client.console.panels;
-
-import de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Modal;
-import java.io.Serializable;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.Iterator;
-import java.util.List;
-import org.apache.syncope.client.console.SyncopeConsoleSession;
-import org.apache.syncope.client.console.commons.Constants;
-import org.apache.syncope.client.console.commons.SearchableDataProvider;
-import org.apache.syncope.client.console.commons.SortableDataProviderComparator;
-import org.apache.syncope.client.console.pages.CamelRoutes;
-import org.apache.syncope.client.console.panels.CamelRoutesPanel.CamelRoutesProvider;
-import org.apache.syncope.client.console.rest.CamelRoutesRestClient;
-import org.apache.syncope.client.console.wicket.extensions.markup.html.repeater.data.table.ActionColumn;
-import org.apache.syncope.client.console.wicket.markup.html.bootstrap.dialog.BaseModal;
-import org.apache.syncope.client.console.wicket.markup.html.form.ActionLink;
-import org.apache.syncope.client.console.wicket.markup.html.form.ActionLinksPanel;
-import org.apache.syncope.client.console.wizards.AbstractModalPanelBuilder;
-import org.apache.syncope.client.console.wizards.AjaxWizard;
-import org.apache.syncope.client.console.wizards.WizardMgtPanel;
-import org.apache.syncope.common.lib.to.CamelRouteTO;
-import org.apache.syncope.common.lib.types.AnyTypeKind;
-import org.apache.syncope.common.lib.types.CamelEntitlement;
-import org.apache.wicket.PageReference;
-import org.apache.wicket.ajax.AjaxRequestTarget;
-import org.apache.wicket.event.Broadcast;
-import org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn;
-import org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn;
-import org.apache.wicket.markup.html.form.Form;
-import org.apache.wicket.model.CompoundPropertyModel;
-import org.apache.wicket.model.IModel;
-import org.apache.wicket.model.ResourceModel;
-
-public class CamelRoutesPanel extends AbstractSearchResultPanel<
- CamelRouteTO, CamelRouteTO, CamelRoutesProvider, CamelRoutesRestClient> {
-
- private static final long serialVersionUID = 3727444742501082182L;
-
- private final AnyTypeKind anyTypeKind;
-
- public CamelRoutesPanel(final String id, final PageReference pageRef, final AnyTypeKind anyTypeKind) {
- super(id, new Builder<CamelRouteTO, CamelRouteTO, CamelRoutesRestClient>(
- new CamelRoutesRestClient(), pageRef) {
-
- private static final long serialVersionUID = 8769126634538601689L;
-
- @Override
- protected WizardMgtPanel<CamelRouteTO> newInstance(final String id) {
- return new CamelRoutesPanel(id, this, anyTypeKind);
- }
- }.disableCheckBoxes());
-
- this.anyTypeKind = anyTypeKind;
- setFooterVisibility(true);
- modal.addSumbitButton();
- modal.size(Modal.Size.Large);
- initResultTable();
-
- this.addNewItemPanelBuilder(new AbstractModalPanelBuilder<CamelRouteTO>(
- BaseModal.CONTENT_ID, new CamelRouteTO(), pageRef) {
-
- private static final long serialVersionUID = -6388405037134399367L;
-
- @Override
- public ModalPanel<CamelRouteTO> build(final int index, final AjaxWizard.Mode mode) {
- final CamelRouteTO modelObject = newModelObject();
- return new CamelRoutesModalPanel(modal, modelObject, pageRef) {
-
- private static final long serialVersionUID = -6227956682141146095L;
-
- @Override
- public void onSubmit(final AjaxRequestTarget target, final Form<?> form) {
- try {
- restClient.update(modelObject);
- info(getString(Constants.OPERATION_SUCCEEDED));
- modal.close(target);
- } catch (Exception e) {
- LOG.error("While creating or updating CamelRouteTO", e);
- error(getString(Constants.ERROR) + ": " + e.getMessage());
- }
- SyncopeConsoleSession.get().getNotificationPanel().refresh(target);
- }
- };
- }
-
- @Override
- protected void onCancelInternal(final CamelRouteTO modelObject) {
- }
-
- @Override
- protected Serializable onApplyInternal(final CamelRouteTO modelObject) {
- // do nothing
- return null;
- }
- }, false);
- }
-
- private CamelRoutesPanel(
- final String id,
- final Builder<CamelRouteTO, CamelRouteTO, CamelRoutesRestClient> builder,
- final AnyTypeKind anyTypeKind) {
-
- super(id, builder);
- this.anyTypeKind = anyTypeKind;
- }
-
- @Override
- protected CamelRoutesProvider dataProvider() {
- return new CamelRoutesProvider(anyTypeKind, rows);
- }
-
- @Override
- protected String paginatorRowsKey() {
- return CamelRoutes.PREF_CAMEL_ROUTES_PAGINATOR_ROWS;
- }
-
- @Override
- protected Collection<ActionLink.ActionType> getBulkActions() {
- return Collections.<ActionLink.ActionType>emptyList();
- }
-
- @Override
- protected List<IColumn<CamelRouteTO, String>> getColumns() {
- List<IColumn<CamelRouteTO, String>> columns = new ArrayList<>();
-
- columns.add(new PropertyColumn<CamelRouteTO, String>(new ResourceModel("key"), "key", "key"));
-
- columns.add(new ActionColumn<CamelRouteTO, String>(new ResourceModel("actions", "")) {
-
- private static final long serialVersionUID = 906457126287899096L;
-
- @Override
- public ActionLinksPanel<CamelRouteTO> getActions(
- final String componentId, final IModel<CamelRouteTO> model) {
-
- ActionLinksPanel<CamelRouteTO> panel = ActionLinksPanel.<CamelRouteTO>builder().
- add(new ActionLink<CamelRouteTO>() {
-
- private static final long serialVersionUID = -3722207913631435501L;
-
- @Override
- public void onClick(final AjaxRequestTarget target, final CamelRouteTO ignore) {
- send(CamelRoutesPanel.this, Broadcast.EXACT,
- new AjaxWizard.EditItemActionEvent<>(model.getObject(), target));
- }
- }, ActionLink.ActionType.EDIT, CamelEntitlement.ROUTE_UPDATE).
- build(componentId);
-
- return panel;
- }
-
- @Override
- public ActionLinksPanel<CamelRouteTO> getHeader(final String componentId) {
- final ActionLinksPanel.Builder<CamelRouteTO> panel = ActionLinksPanel.builder();
-
- return panel.add(new ActionLink<CamelRouteTO>() {
-
- private static final long serialVersionUID = -1140254463922516111L;
-
- @Override
- public void onClick(final AjaxRequestTarget target, final CamelRouteTO ignore) {
- if (target != null) {
- target.add(container);
- }
- }
- }, ActionLink.ActionType.RELOAD).build(componentId);
- }
- });
-
- return columns;
- }
-
- protected final class CamelRoutesProvider extends SearchableDataProvider<CamelRouteTO> {
-
- private static final long serialVersionUID = -185944053385660794L;
-
- private final AnyTypeKind anyTypeKind;
-
- private final SortableDataProviderComparator<CamelRouteTO> comparator;
-
- private CamelRoutesProvider(final AnyTypeKind anyTypeKind, final int paginatorRows) {
- super(paginatorRows);
- this.anyTypeKind = anyTypeKind;
- comparator = new SortableDataProviderComparator<>(this);
- }
-
- @Override
- public Iterator<CamelRouteTO> iterator(final long first, final long count) {
- List<CamelRouteTO> list = restClient.list(anyTypeKind);
- Collections.sort(list, comparator);
- return list.subList((int) first, (int) first + (int) count).iterator();
- }
-
- @Override
- public long size() {
- return restClient.list(anyTypeKind).size();
- }
-
- @Override
- public IModel<CamelRouteTO> model(final CamelRouteTO object) {
- return new CompoundPropertyModel<>(object);
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel.properties
----------------------------------------------------------------------
diff --git a/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel.properties b/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel.properties
new file mode 100644
index 0000000..bbb89ab
--- /dev/null
+++ b/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel.properties
@@ -0,0 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+any.edit=Edit Camel Route ${key}
+any.new=New Camel Route
+any.finish=Update
+any.cancel=Cancel
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel_it.properties
----------------------------------------------------------------------
diff --git a/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel_it.properties b/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel_it.properties
new file mode 100644
index 0000000..07d463e
--- /dev/null
+++ b/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel_it.properties
@@ -0,0 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+any.edit=Modifica Camel Route ${key}
+any.new=Nuova Camel Route
+any.finish=Aggiorna
+any.cancel=Annulla
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel_pt_BR.properties
----------------------------------------------------------------------
diff --git a/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel_pt_BR.properties b/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel_pt_BR.properties
new file mode 100644
index 0000000..a25f1a1
--- /dev/null
+++ b/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel_pt_BR.properties
@@ -0,0 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+any.edit=Alterar Camel Route ${key}
+any.new=Nova Camel Route
+any.finish=Atualizar
+any.cancel=Cancelar
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesPanel.properties
----------------------------------------------------------------------
diff --git a/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesPanel.properties b/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesPanel.properties
deleted file mode 100644
index bbb89ab..0000000
--- a/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesPanel.properties
+++ /dev/null
@@ -1,20 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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.
-any.edit=Edit Camel Route ${key}
-any.new=New Camel Route
-any.finish=Update
-any.cancel=Cancel
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesPanel_it.properties
----------------------------------------------------------------------
diff --git a/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesPanel_it.properties b/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesPanel_it.properties
deleted file mode 100644
index 07d463e..0000000
--- a/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesPanel_it.properties
+++ /dev/null
@@ -1,20 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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.
-any.edit=Modifica Camel Route ${key}
-any.new=Nuova Camel Route
-any.finish=Aggiorna
-any.cancel=Annulla
http://git-wip-us.apache.org/repos/asf/syncope/blob/3e8912c3/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesPanel_pt_BR.properties
----------------------------------------------------------------------
diff --git a/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesPanel_pt_BR.properties b/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesPanel_pt_BR.properties
deleted file mode 100644
index a25f1a1..0000000
--- a/ext/camel/client-console/src/main/resources/org/apache/syncope/client/console/panels/CamelRoutesPanel_pt_BR.properties
+++ /dev/null
@@ -1,20 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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.
-any.edit=Alterar Camel Route ${key}
-any.new=Nova Camel Route
-any.finish=Atualizar
-any.cancel=Cancelar