org.openxava.session
Class LiferayLibrary

java.lang.Object
  extended by org.openxava.session.LiferayLibrary

public class LiferayLibrary
extends java.lang.Object

Author:
Oscar Caro

Constructor Summary
LiferayLibrary()
           
 
Method Summary
 void addDocument(java.lang.String dlFileEntryId, java.lang.String title, java.lang.String name)
           
 LiferayDocument getDocument(java.lang.String uuid)
           
 java.util.Collection getDocuments()
           
 DLFolder getFolder()
           
 DLFileEntry getLRDocument(java.lang.String uuid)
           
 java.lang.String getOid()
           
 DLFolder getRootFolder()
           
 boolean isAlsoDeleteFile()
           
 boolean isEmpty()
           
 void loadAllDocuments(LiferayLibrary library)
           
 void removeDocument(java.lang.String uuid)
           
 void setAlsoDeleteFile(boolean alsoDeleteFile)
           
 void setDocuments(java.util.Map documents)
           
 void setFolder(DLFolder folder)
           
 void setOid(java.lang.String oid)
           
 void setRootFolder(DLFolder rootFolder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiferayLibrary

public LiferayLibrary()
Method Detail

loadAllDocuments

public void loadAllDocuments(LiferayLibrary library)
                      throws SystemException
Throws:
SystemException

addDocument

public void addDocument(java.lang.String dlFileEntryId,
                        java.lang.String title,
                        java.lang.String name)

removeDocument

public void removeDocument(java.lang.String uuid)

getDocuments

public java.util.Collection getDocuments()

getDocument

public LiferayDocument getDocument(java.lang.String uuid)

getLRDocument

public DLFileEntry getLRDocument(java.lang.String uuid)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getOid

public java.lang.String getOid()

setOid

public void setOid(java.lang.String oid)

isEmpty

public boolean isEmpty()

getRootFolder

public DLFolder getRootFolder()

setRootFolder

public void setRootFolder(DLFolder rootFolder)

getFolder

public DLFolder getFolder()

setFolder

public void setFolder(DLFolder folder)

isAlsoDeleteFile

public boolean isAlsoDeleteFile()

setAlsoDeleteFile

public void setAlsoDeleteFile(boolean alsoDeleteFile)

setDocuments

public void setDocuments(java.util.Map documents)