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
- Generated:
Method Summary |
DLFileEntry |
addFileEntry(long groupId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String versionDescription,
java.lang.String extraSettings,
byte[] bytes,
ServiceContext serviceContext)
|
DLFileEntry |
addFileEntry(long groupId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String versionDescription,
java.lang.String extraSettings,
java.io.File file,
ServiceContext serviceContext)
|
void |
deleteFileEntry(long groupId,
long folderId,
java.lang.String name)
|
void |
deleteFileEntry(long groupId,
long folderId,
java.lang.String name,
java.lang.String version)
|
void |
deleteFileEntryByTitle(long groupId,
long folderId,
java.lang.String titleWithExtension)
|
java.util.List<DLFileEntry> |
getFileEntries(long groupId,
long folderId)
|
DLFileEntry |
getFileEntry(long groupId,
long folderId,
java.lang.String name)
|
DLFileEntry |
getFileEntryByTitle(long groupId,
long folderId,
java.lang.String titleWithExtension)
|
DLFileEntryService |
getWrappedDLFileEntryService()
|
boolean |
hasFileEntryLock(long groupId,
long folderId,
java.lang.String name)
|
Lock |
lockFileEntry(long groupId,
long folderId,
java.lang.String name)
|
Lock |
lockFileEntry(long groupId,
long folderId,
java.lang.String name,
java.lang.String owner,
long expirationTime)
|
Lock |
refreshFileEntryLock(java.lang.String lockUuid,
long expirationTime)
|
void |
unlockFileEntry(long groupId,
long folderId,
java.lang.String name)
|
void |
unlockFileEntry(long groupId,
long folderId,
java.lang.String name,
java.lang.String lockUuid)
|
DLFileEntry |
updateFileEntry(long groupId,
long folderId,
long newFolderId,
java.lang.String name,
java.lang.String sourceFileName,
java.lang.String title,
java.lang.String description,
java.lang.String versionDescription,
boolean majorVersion,
java.lang.String extraSettings,
byte[] bytes,
ServiceContext serviceContext)
|
DLFileEntry |
updateFileEntry(long groupId,
long folderId,
long newFolderId,
java.lang.String name,
java.lang.String sourceFileName,
java.lang.String title,
java.lang.String description,
java.lang.String versionDescription,
boolean majorVersion,
java.lang.String extraSettings,
java.io.File file,
ServiceContext serviceContext)
|
boolean |
verifyFileEntryLock(long groupId,
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 groupId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String versionDescription,
java.lang.String extraSettings,
byte[] bytes,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addFileEntry
public DLFileEntry addFileEntry(long groupId,
long folderId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String versionDescription,
java.lang.String extraSettings,
java.io.File file,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteFileEntry
public void deleteFileEntry(long groupId,
long folderId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteFileEntry
public void deleteFileEntry(long groupId,
long folderId,
java.lang.String name,
java.lang.String version)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteFileEntryByTitle
public void deleteFileEntryByTitle(long groupId,
long folderId,
java.lang.String titleWithExtension)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteFileEntryByTitle
in interface DLFileEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getFileEntries
public java.util.List<DLFileEntry> getFileEntries(long groupId,
long folderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getFileEntries
in interface DLFileEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getFileEntry
public DLFileEntry getFileEntry(long groupId,
long folderId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getFileEntryByTitle
public DLFileEntry getFileEntryByTitle(long groupId,
long folderId,
java.lang.String titleWithExtension)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getFileEntryByTitle
in interface DLFileEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
hasFileEntryLock
public boolean hasFileEntryLock(long groupId,
long folderId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
hasFileEntryLock
in interface DLFileEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
lockFileEntry
public Lock lockFileEntry(long groupId,
long folderId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
lockFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
lockFileEntry
public Lock lockFileEntry(long groupId,
long folderId,
java.lang.String name,
java.lang.String owner,
long expirationTime)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
lockFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
refreshFileEntryLock
public Lock refreshFileEntryLock(java.lang.String lockUuid,
long expirationTime)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
refreshFileEntryLock
in interface DLFileEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
unlockFileEntry
public void unlockFileEntry(long groupId,
long folderId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
unlockFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.kernel.exception.SystemException
unlockFileEntry
public void unlockFileEntry(long groupId,
long folderId,
java.lang.String name,
java.lang.String lockUuid)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
unlockFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateFileEntry
public DLFileEntry updateFileEntry(long groupId,
long folderId,
long newFolderId,
java.lang.String name,
java.lang.String sourceFileName,
java.lang.String title,
java.lang.String description,
java.lang.String versionDescription,
boolean majorVersion,
java.lang.String extraSettings,
byte[] bytes,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateFileEntry
public DLFileEntry updateFileEntry(long groupId,
long folderId,
long newFolderId,
java.lang.String name,
java.lang.String sourceFileName,
java.lang.String title,
java.lang.String description,
java.lang.String versionDescription,
boolean majorVersion,
java.lang.String extraSettings,
java.io.File file,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateFileEntry
in interface DLFileEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
verifyFileEntryLock
public boolean verifyFileEntryLock(long groupId,
long folderId,
java.lang.String name,
java.lang.String lockUuid)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
verifyFileEntryLock
in interface DLFileEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getWrappedDLFileEntryService
public DLFileEntryService getWrappedDLFileEntryService()