Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.documentsLists
Class DocumentsListsPersistenceManager

java.lang.Object
  extended by org.nuxeo.ecm.webapp.documentsLists.DocumentsListsPersistenceManager

public class DocumentsListsPersistenceManager
extends Object

Manage DocumentsLists Persistence. Uses a SQL Directory as storage Backend.

Author:
tiry

Constructor Summary
DocumentsListsPersistenceManager()
           
 
Method Summary
 Boolean addDocumentToPersistentList(String userName, String listName, DocumentModel doc)
           
 Boolean clearPersistentList(String userName, String listName)
           
 List<DocumentModel> loadPersistentDocumentsLists(CoreSession currentSession, String userName, String listName)
           
 Boolean removeDocumentFromPersistentList(String userName, String listName, DocumentModel doc)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentsListsPersistenceManager

public DocumentsListsPersistenceManager()
Method Detail

loadPersistentDocumentsLists

public List<DocumentModel> loadPersistentDocumentsLists(CoreSession currentSession,
                                                        String userName,
                                                        String listName)

addDocumentToPersistentList

public Boolean addDocumentToPersistentList(String userName,
                                           String listName,
                                           DocumentModel doc)

removeDocumentFromPersistentList

public Boolean removeDocumentFromPersistentList(String userName,
                                                String listName,
                                                DocumentModel doc)

clearPersistentList

public Boolean clearPersistentList(String userName,
                                   String listName)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.