Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.core.service
Class SetMailboxAclUnrestricted

java.lang.Object
  extended by org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
      extended by org.nuxeo.cm.core.service.SetMailboxAclUnrestricted

public class SetMailboxAclUnrestricted
extends org.nuxeo.ecm.core.api.UnrestrictedSessionRunner

Set the right WRITE for all the users of the mailbox, in unrestricted mode, and removes the whole local ACL when there are no users for this mailbox.

Author:
nulrich, ldoguin

Field Summary
 
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted
 
Constructor Summary
SetMailboxAclUnrestricted(org.nuxeo.ecm.core.api.CoreSession session, org.nuxeo.ecm.core.api.DocumentRef ref)
           
SetMailboxAclUnrestricted(org.nuxeo.ecm.core.api.CoreSession session, org.nuxeo.ecm.core.api.DocumentRef ref, String permission)
           
 
Method Summary
 void run()
           
 
Methods inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
getOriginatingUsername, runUnrestricted, setOriginatingUsername
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetMailboxAclUnrestricted

public SetMailboxAclUnrestricted(org.nuxeo.ecm.core.api.CoreSession session,
                                 org.nuxeo.ecm.core.api.DocumentRef ref,
                                 String permission)

SetMailboxAclUnrestricted

public SetMailboxAclUnrestricted(org.nuxeo.ecm.core.api.CoreSession session,
                                 org.nuxeo.ecm.core.api.DocumentRef ref)
Method Detail

run

public void run()
         throws org.nuxeo.ecm.core.api.ClientException
Specified by:
run in class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
Throws:
org.nuxeo.ecm.core.api.ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.