Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Evolveum/midpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
semancik committed Jul 2, 2014
2 parents e087a59 + aacbc7d commit fd1a8e0
Show file tree
Hide file tree
Showing 9 changed files with 466 additions and 320 deletions.

Large diffs are not rendered by default.

Expand Up @@ -22,3 +22,9 @@ deleteAllDialog.label.org=Org. Units
deleteAllDialog.label.shadow.account=Account shadows
deleteAllDialog.label.shadow.role=Role shadows
deleteAllDialog.label.shadow.org=Org. unit shadows
deleteAllDialog.label.usersDelete=Users to delete: {0} (User 'Administrator' will not be deleted)
deleteAllDialog.label.orgUnitsDelete=Org. units to delete: {0}
deleteAllDialog.label.accountShadowsDelete=Account shadows to delete: {0}
deleteAllDialog.label.orgShadowsDelete=Org. unit shadows to delete: {0}
deleteAllDialog.label.roleShadowsDelete=Role shadows to delete: {0}
deleteAllDialog.label.totalToDelete=Total objects to delete: {0}
@@ -0,0 +1,143 @@
/*
* Copyright (c) 2010-2013 Evolveum
*
* 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 com.evolveum.midpoint.web.component.dialog;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
* @author shood
* */
public class DeleteAllDto implements Serializable{

public static final String F_USERS = "deleteUsers";
public static final String F_ORGS = "deleteOrgs";
public static final String F_ACC_SHADOW = "deleteAccountShadow";
public static final String F_ORG_SHADOW = "deleteOrgShadow";
public static final String F_ROLE_SHADOW = "deleteRoleShadow";

private boolean deleteUsers = false;
private boolean deleteOrgs = false;
private boolean deleteAccountShadow = false;
private boolean deleteRoleShadow = false;
private boolean deleteOrgShadow = false;

private int objectsToDelete = 0;
private int accountShadowTypeCount = 0;
private int orgUnitCount = 0;
private int userCount = 0;
private int orgShadowCount = 0;
private int roleShadowCount = 0;

private Map<String, String> resourceFocusMap = new HashMap<>();

public Map<String, String> getResourceFocusMap() {
return resourceFocusMap;
}

public void setResourceFocusMap(Map<String, String> resourceFocusMap) {
this.resourceFocusMap = resourceFocusMap;
}

public boolean getDeleteUsers() {
return deleteUsers;
}

public void setDeleteUsers(boolean deleteUsers) {
this.deleteUsers = deleteUsers;
}

public boolean getDeleteOrgs() {
return deleteOrgs;
}

public void setDeleteOrgs(boolean deleteOrgs) {
this.deleteOrgs = deleteOrgs;
}

public boolean getDeleteAccountShadow() {
return deleteAccountShadow;
}

public void setDeleteAccountShadow(boolean deleteAccountShadow) {
this.deleteAccountShadow = deleteAccountShadow;
}

public boolean getDeleteRoleShadow() {
return deleteRoleShadow;
}

public void setDeleteRoleShadow(boolean deleteRoleShadow) {
this.deleteRoleShadow = deleteRoleShadow;
}

public boolean getDeleteOrgShadow() {
return deleteOrgShadow;
}

public void setDeleteOrgShadow(boolean deleteOrgShadow) {
this.deleteOrgShadow = deleteOrgShadow;
}

public int getObjectsToDelete() {
return objectsToDelete;
}

public void setObjectsToDelete(int objectsToDelete) {
this.objectsToDelete = objectsToDelete;
}

public int getAccountShadowTypeCount() {
return accountShadowTypeCount;
}

public void setAccountShadowTypeCount(int accountShadowTypeCount) {
this.accountShadowTypeCount = accountShadowTypeCount;
}

public int getOrgUnitCount() {
return orgUnitCount;
}

public void setOrgUnitCount(int orgUnitCount) {
this.orgUnitCount = orgUnitCount;
}

public int getUserCount() {
return userCount;
}

public void setUserCount(int userCount) {
this.userCount = userCount;
}

public int getOrgShadowCount() {
return orgShadowCount;
}

public void setOrgShadowCount(int orgShadowCount) {
this.orgShadowCount = orgShadowCount;
}

public int getRoleShadowCount() {
return roleShadowCount;
}

public void setRoleShadowCount(int roleShadowCount) {
this.roleShadowCount = roleShadowCount;
}
}

0 comments on commit fd1a8e0

Please sign in to comment.