org.opencrx.kernel.backend
Class Documents

java.lang.Object
  extended by org.opencrx.kernel.backend.AbstractImpl
      extended by org.opencrx.kernel.backend.Documents

public class Documents
extends AbstractImpl


Constructor Summary
protected Documents()
           
 
Method Summary
 Document findDocument(String documentName, Segment segment)
           
 DocumentFolder findDocumentFolder(String documentFolderName, Segment segment)
           
static Documents getInstance()
           
 Document initDocument(String documentName, String documentTitle, URL revisionURL, String revisionMimeType, String revisionName, DocumentFolder documentFolder, Segment segment, List<PrincipalGroup> allUsers)
           
 DocumentFolder initDocumentFolder(String documentFolderName, Segment segment, List<PrincipalGroup> allUsers)
           
static void register()
           
 
Methods inherited from class org.opencrx.kernel.backend.AbstractImpl
getInstance, getUidAsString, registerImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Documents

protected Documents()
Method Detail

register

public static void register()

getInstance

public static Documents getInstance()
                             throws ServiceException
Throws:
ServiceException

findDocumentFolder

public DocumentFolder findDocumentFolder(String documentFolderName,
                                         Segment segment)

initDocumentFolder

public DocumentFolder initDocumentFolder(String documentFolderName,
                                         Segment segment,
                                         List<PrincipalGroup> allUsers)

initDocument

public Document initDocument(String documentName,
                             String documentTitle,
                             URL revisionURL,
                             String revisionMimeType,
                             String revisionName,
                             DocumentFolder documentFolder,
                             Segment segment,
                             List<PrincipalGroup> allUsers)

findDocument

public Document findDocument(String documentName,
                             Segment segment)


This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.