/hostadmiral/trunk/src/ak/hostadmiral/core/model/UserManager.java |
---|
287,9 → 287,6 |
Collection cascade = new ArrayList(); |
for(Iterator i = subusers.iterator(); i.hasNext(); ) { |
User u = (User)i.next(); |
if(known.contains(u)) continue; |
known.add(u); |
if(u.viewableBy(editor)) { |
if(u.deleteableBy(editor)) |
cascade.add(new CascadeDeleteElement(u, CascadeDeleteElement.DELETE, |
/hostadmiral/trunk/src/ak/hostadmiral/core/model/InetDomainManager.java |
---|
231,9 → 231,6 |
Collection cascade = new ArrayList(); |
for(Iterator i = domains.iterator(); i.hasNext(); ) { |
InetDomain d = (InetDomain)i.next(); |
if(known.contains(d)) continue; |
known.add(d); |
if(d.viewableBy(editor)) { |
if(d.deleteableBy(editor)) |
cascade.add(new CascadeDeleteElement(d, CascadeDeleteElement.DELETE, |
/hostadmiral/trunk/src/ak/hostadmiral/core/model/MailboxManager.java |
---|
295,9 → 295,6 |
Collection cascade = new ArrayList(); |
for(Iterator i = mailboxes.iterator(); i.hasNext(); ) { |
Mailbox mailbox = (Mailbox)i.next(); |
if(known.contains(mailbox)) continue; |
known.add(mailbox); |
if(mailbox.viewableBy(editor)) { |
if(mailbox.deleteableBy(editor)) |
cascade.add(new CascadeDeleteElement(mailbox, CascadeDeleteElement.DELETE, |
/hostadmiral/trunk/src/ak/hostadmiral/core/model/SystemUserManager.java |
---|
247,9 → 247,6 |
Collection cascade = new ArrayList(); |
for(Iterator i = systemUsers.iterator(); i.hasNext(); ) { |
SystemUser u = (SystemUser)i.next(); |
if(known.contains(u)) continue; |
known.add(u); |
if(u.viewableBy(editor)) { |
if(u.deleteableBy(editor)) |
cascade.add(new CascadeDeleteElement(u, CascadeDeleteElement.DELETE, |
/hostadmiral/trunk/src/ak/hostadmiral/core/model/MailAliasManager.java |
---|
271,9 → 271,6 |
Collection cascade = new ArrayList(); |
for(Iterator i = mailAliases.iterator(); i.hasNext(); ) { |
MailAlias mailAlias = (MailAlias)i.next(); |
if(known.contains(mailAlias)) continue; |
known.add(mailAlias); |
if(mailAlias.viewableBy(editor)) { |
if(mailAlias.deleteableBy(editor)) |
cascade.add(new CascadeDeleteElement(mailAlias, CascadeDeleteElement.DELETE, |