org.alfresco.repo.imap
Class AlfrescoImapFolder.GenerateUidValidityWork

java.lang.Object
  extended by org.alfresco.repo.imap.AlfrescoImapFolder.GenerateUidValidityWork
All Implemented Interfaces:
org.alfresco.repo.security.authentication.AuthenticationUtil.RunAsWork
Enclosing class:
AlfrescoImapFolder

public class AlfrescoImapFolder.GenerateUidValidityWork
extends java.lang.Object
implements org.alfresco.repo.security.authentication.AuthenticationUtil.RunAsWork

Generate UID validity In general this class will return a long UID value but if there is no ASPECT_IMAP_FOLDER then running this method will add the aspect and add initial values. Needs to be run in a read/write transaction


Constructor Summary
AlfrescoImapFolder.GenerateUidValidityWork(org.alfresco.service.cmr.repository.NodeRef folderNodeRef, org.alfresco.service.cmr.repository.NodeService nodeService)
           
 
Method Summary
 java.lang.Long doWork()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlfrescoImapFolder.GenerateUidValidityWork

public AlfrescoImapFolder.GenerateUidValidityWork(org.alfresco.service.cmr.repository.NodeRef folderNodeRef,
                                                  org.alfresco.service.cmr.repository.NodeService nodeService)
Method Detail

doWork

public java.lang.Long doWork()
                      throws java.lang.Exception
Specified by:
doWork in interface org.alfresco.repo.security.authentication.AuthenticationUtil.RunAsWork
Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.