com.liferay.portlet.documentlibrary.service
Class DLFileEntryServiceWrapper
java.lang.Object
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
Method Summary |
DLFileEntry |
addFileEntry(long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String extraSettings,
byte[] bytes,
ServiceContext serviceContext)
|
DLFileEntry |
addFileEntry(long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String extraSettings,
java.io.File file,
ServiceContext serviceContext)
|
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)
|
DLFileEntryService |
getWrappedDLFileEntryService()
|
boolean |
hasFileEntryLock(long folderId,
java.lang.String name)
|
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 extraSettings,
byte[] bytes,
ServiceContext serviceContext)
|
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 extraSettings,
java.io.File file,
ServiceContext serviceContext)
|
boolean |
verifyFileEntryLock(long folderId,
java.lang.String name,
java.lang.String lockUuid)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLFileEntryServiceWrapper
public DLFileEntryServiceWrapper(DLFileEntryService dlFileEntryService)
addFileEntry
public DLFileEntry addFileEntry(long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String extraSettings,
byte[] bytes,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFileEntry
public DLFileEntry addFileEntry(long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String extraSettings,
java.io.File file,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFileEntry
public void deleteFileEntry(long folderId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFileEntry
public void deleteFileEntry(long folderId,
java.lang.String name,
double version)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFileEntryByTitle
public void deleteFileEntryByTitle(long folderId,
java.lang.String titleWithExtension)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteFileEntryByTitle
in interface DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFileEntries
public java.util.List<DLFileEntry> getFileEntries(long folderId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getFileEntries
in interface DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFileEntry
public DLFileEntry getFileEntry(long folderId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFileEntryByTitle
public DLFileEntry getFileEntryByTitle(long folderId,
java.lang.String titleWithExtension)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getFileEntryByTitle
in interface DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
hasFileEntryLock
public boolean hasFileEntryLock(long folderId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
hasFileEntryLock
in interface DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
lockFileEntry
public Lock lockFileEntry(long folderId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
lockFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
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
- Specified by:
lockFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
refreshFileEntryLock
public Lock refreshFileEntryLock(java.lang.String lockUuid,
long expirationTime)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
refreshFileEntryLock
in interface DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
unlockFileEntry
public void unlockFileEntry(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Specified by:
unlockFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.SystemException
unlockFileEntry
public void unlockFileEntry(long folderId,
java.lang.String name,
java.lang.String lockUuid)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
unlockFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
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 extraSettings,
byte[] bytes,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
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 extraSettings,
java.io.File file,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
verifyFileEntryLock
public boolean verifyFileEntryLock(long folderId,
java.lang.String name,
java.lang.String lockUuid)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
verifyFileEntryLock
in interface DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getWrappedDLFileEntryService
public DLFileEntryService getWrappedDLFileEntryService()