]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.security.ui.admin/src/org/argeo/security/ui/admin/internal/commands/UserBatchUpdate.java
fb1a491d95f67c29e2f654efd37c34399a21ba58
2 * Copyright (C) 2007-2012 Argeo GmbH
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package org
.argeo
.security
.ui
.admin
.internal
.commands
;
18 import org
.eclipse
.core
.commands
.AbstractHandler
;
19 import org
.eclipse
.core
.commands
.ExecutionEvent
;
20 import org
.eclipse
.core
.commands
.ExecutionException
;
22 /** Launch a wizard to update various properties about users in JCR. */
23 public class UserBatchUpdate
extends AbstractHandler
{
24 // private Repository repository;
25 // private UserAdminService userAdminService;
27 public Object
execute(ExecutionEvent event
) throws ExecutionException
{
28 // Session session = null;
30 // session = repository.login();
31 // UserBatchUpdateWizard userBatchUpdateWizard = new
32 // UserBatchUpdateWizard(
33 // session, userAdminService);
34 // WizardDialog dialog = new WizardDialog(
35 // HandlerUtil.getActiveShell(event), userBatchUpdateWizard);
37 // } catch (Exception e) {
38 // throw new ExecutionException("Cannot open wizard", e);
40 // JcrUtils.logoutQuietly(session);
45 // public void setRepository(Repository repository) {
46 // this.repository = repository;
49 // public void setUserAdminService(UserAdminService userAdminService) {
50 // this.userAdminService = userAdminService;
53 // public void setJcrSecurityModel(JcrSecurityModel jcrSecurityModel) {
54 // this.jcrSecurityModel = jcrSecurityModel;