com.liferay.portlet.documentlibrary.service
Class DLFileEntryServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLFileEntryServiceWrapper
All Implemented Interfaces:
DLFileEntryService

public class DLFileEntryServiceWrapper
extends java.lang.Object
implements DLFileEntryService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for DLFileEntryService.

Author:
Brian Wing Shun Chan
See Also:
DLFileEntryService
Generated:

Constructor Summary
DLFileEntryServiceWrapper(DLFileEntryService dlFileEntryService)
           
 
Method Summary
 DLFileEntry addFileEntry(long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String[] tagsEntries, java.lang.String extraSettings, byte[] bytes, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 DLFileEntry addFileEntry(long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String[] tagsEntries, java.lang.String extraSettings, byte[] bytes, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 DLFileEntry addFileEntry(long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String[] tagsEntries, java.lang.String extraSettings, java.io.File file, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 DLFileEntry addFileEntry(long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String[] tagsEntries, java.lang.String extraSettings, java.io.File file, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void deleteFileEntry(long folderId, java.lang.String name)
           
 void deleteFileEntry(long folderId, java.lang.String name, double version)
           
 void deleteFileEntryByTitle(long folderId, java.lang.String titleWithExtension)
           
 java.util.List<DLFileEntry> getFileEntries(long folderId)
           
 DLFileEntry getFileEntry(long folderId, java.lang.String name)
           
 DLFileEntry getFileEntryByTitle(long folderId, java.lang.String titleWithExtension)
           
 Lock getFileEntryLock(long folderId, java.lang.String name)
           
 DLFileEntryService getWrappedDLFileEntryService()
           
 Lock lockFileEntry(long folderId, java.lang.String name)
           
 Lock lockFileEntry(long folderId, java.lang.String name, java.lang.String owner, long expirationTime)
           
 Lock refreshFileEntryLock(java.lang.String lockUuid, long expirationTime)
           
 void unlockFileEntry(long folderId, java.lang.String name)
           
 void unlockFileEntry(long folderId, java.lang.String name, java.lang.String lockUuid)
           
 DLFileEntry updateFileEntry(long folderId, long newFolderId, java.lang.String name, java.lang.String sourceFileName, java.lang.String title, java.lang.String description, java.lang.String[] tagsEntries, java.lang.String extraSettings, byte[] bytes)
           
 DLFileEntry updateFileEntry(long folderId, long newFolderId, java.lang.String name, java.lang.String sourceFileName, java.lang.String title, java.lang.String description, java.lang.String[] tagsEntries, java.lang.String extraSettings, java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileEntryServiceWrapper

public DLFileEntryServiceWrapper(DLFileEntryService dlFileEntryService)
Method Detail

addFileEntry

public DLFileEntry addFileEntry(long folderId,
                                java.lang.String name,
                                java.lang.String title,
                                java.lang.String description,
                                java.lang.String[] tagsEntries,
                                java.lang.String extraSettings,
                                byte[] bytes,
                                boolean addCommunityPermissions,
                                boolean addGuestPermissions)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException,
                                java.rmi.RemoteException
Specified by:
addFileEntry in interface DLFileEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addFileEntry

public DLFileEntry addFileEntry(long folderId,
                                java.lang.String name,
                                java.lang.String title,
                                java.lang.String description,
                                java.lang.String[] tagsEntries,
                                java.lang.String extraSettings,
                                byte[] bytes,
                                java.lang.String[] communityPermissions,
                                java.lang.String[] guestPermissions)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException,
                                java.rmi.RemoteException
Specified by:
addFileEntry in interface DLFileEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addFileEntry

public DLFileEntry addFileEntry(long folderId,
                                java.lang.String name,
                                java.lang.String title,
                                java.lang.String description,
                                java.lang.String[] tagsEntries,
                                java.lang.String extraSettings,
                                java.io.File file,
                                boolean addCommunityPermissions,
                                boolean addGuestPermissions)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException,
                                java.rmi.RemoteException
Specified by:
addFileEntry in interface DLFileEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addFileEntry

public DLFileEntry addFileEntry(long folderId,
                                java.lang.String name,
                                java.lang.String title,
                                java.lang.String description,
                                java.lang.String[] tagsEntries,
                                java.lang.String extraSettings,
                                java.io.File file,
                                java.lang.String[] communityPermissions,
                                java.lang.String[] guestPermissions)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException,
                                java.rmi.RemoteException
Specified by:
addFileEntry in interface DLFileEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

deleteFileEntry

public void deleteFileEntry(long folderId,
                            java.lang.String name)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException,
                            java.rmi.RemoteException
Specified by:
deleteFileEntry in interface DLFileEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

deleteFileEntry

public void deleteFileEntry(long folderId,
                            java.lang.String name,
                            double version)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException,
                            java.rmi.RemoteException
Specified by:
deleteFileEntry in interface DLFileEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

deleteFileEntryByTitle

public void deleteFileEntryByTitle(long folderId,
                                   java.lang.String titleWithExtension)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException,
                                   java.rmi.RemoteException
Specified by:
deleteFileEntryByTitle in interface DLFileEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getFileEntries

public java.util.List<DLFileEntry> getFileEntries(long folderId)
                                           throws com.liferay.portal.PortalException,
                                                  com.liferay.portal.SystemException,
                                                  java.rmi.RemoteException
Specified by:
getFileEntries in interface DLFileEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getFileEntry

public DLFileEntry getFileEntry(long folderId,
                                java.lang.String name)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException,
                                java.rmi.RemoteException
Specified by:
getFileEntry in interface DLFileEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getFileEntryByTitle

public DLFileEntry getFileEntryByTitle(long folderId,
                                       java.lang.String titleWithExtension)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException,
                                       java.rmi.RemoteException
Specified by:
getFileEntryByTitle in interface DLFileEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getFileEntryLock

public Lock getFileEntryLock(long folderId,
                             java.lang.String name)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException,
                             java.rmi.RemoteException
Specified by:
getFileEntryLock in interface DLFileEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

lockFileEntry

public Lock lockFileEntry(long folderId,
                          java.lang.String name)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException,
                          java.rmi.RemoteException
Specified by:
lockFileEntry in interface DLFileEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

lockFileEntry

public Lock lockFileEntry(long folderId,
                          java.lang.String name,
                          java.lang.String owner,
                          long expirationTime)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException,
                          java.rmi.RemoteException
Specified by:
lockFileEntry in interface DLFileEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

refreshFileEntryLock

public Lock refreshFileEntryLock(java.lang.String lockUuid,
                                 long expirationTime)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException,
                                 java.rmi.RemoteException
Specified by:
refreshFileEntryLock in interface DLFileEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

unlockFileEntry

public void unlockFileEntry(long folderId,
                            java.lang.String name)
                     throws com.liferay.portal.SystemException,
                            java.rmi.RemoteException
Specified by:
unlockFileEntry in interface DLFileEntryService
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

unlockFileEntry

public void unlockFileEntry(long folderId,
                            java.lang.String name,
                            java.lang.String lockUuid)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException,
                            java.rmi.RemoteException
Specified by:
unlockFileEntry in interface DLFileEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateFileEntry

public DLFileEntry updateFileEntry(long folderId,
                                   long newFolderId,
                                   java.lang.String name,
                                   java.lang.String sourceFileName,
                                   java.lang.String title,
                                   java.lang.String description,
                                   java.lang.String[] tagsEntries,
                                   java.lang.String extraSettings,
                                   byte[] bytes)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException,
                                   java.rmi.RemoteException
Specified by:
updateFileEntry in interface DLFileEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateFileEntry

public DLFileEntry updateFileEntry(long folderId,
                                   long newFolderId,
                                   java.lang.String name,
                                   java.lang.String sourceFileName,
                                   java.lang.String title,
                                   java.lang.String description,
                                   java.lang.String[] tagsEntries,
                                   java.lang.String extraSettings,
                                   java.io.File file)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException,
                                   java.rmi.RemoteException
Specified by:
updateFileEntry in interface DLFileEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getWrappedDLFileEntryService

public DLFileEntryService getWrappedDLFileEntryService()