| | |
| | | pac.setPacComponents(pacComponents); |
| | | AbstractEntity newPacEntity = null; |
| | | String pacType = pac.getBasepac().getName(); |
| | | if (!pacType.equals(Pac.PAC_WEB) && !pacType.equals(Pac.PAC_DW) && !pacType.equals(Pac.PAC_SW)) { |
| | | if (pacType.equals(Pac.PAC_WEB) || pacType.equals(Pac.PAC_DW) || pacType.equals(Pac.PAC_SW)) { |
| | | Set<UnixUser> users = new HashSet<UnixUser>(); |
| | | pac.setUnixUser(users); |
| | | UnixUser admin = new UnixUser(); |
| | |
| | | throw new AuthorisationException(getTransaction().getLoginUser(), "delete", existingEntity); |
| | | } |
| | | String pacType = pac.getBasepac().getName(); |
| | | if (!pacType.equals(Pac.PAC_WEB) && !pacType.equals(Pac.PAC_DW) && !pacType.equals(Pac.PAC_SW)) { |
| | | if (pacType.equals(Pac.PAC_WEB) || pacType.equals(Pac.PAC_DW) || pacType.equals(Pac.PAC_SW)) { |
| | | GenericModuleImpl helperModule = new GenericModuleImpl(getTransaction()); |
| | | |
| | | String[] dependQueries = new String[] { |