com.liferay.portlet.documentlibrary.service.impl
Class DLFileEntryServiceImpl
java.lang.Object
com.liferay.portal.service.impl.PrincipalBean
com.liferay.portlet.documentlibrary.service.impl.DLFileEntryServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.documentlibrary.service.DLFileEntryService
- public class DLFileEntryServiceImpl
- extends PrincipalBean
- implements com.liferay.portlet.documentlibrary.service.DLFileEntryService
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
com.liferay.portlet.documentlibrary.model.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[] byteArray,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
com.liferay.portlet.documentlibrary.model.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[] byteArray,
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)
|
com.liferay.portlet.documentlibrary.model.DLFileEntry |
getFileEntry(long folderId,
java.lang.String name)
|
void |
lockFileEntry(long folderId,
java.lang.String name)
|
void |
unlockFileEntry(long folderId,
java.lang.String name)
|
com.liferay.portlet.documentlibrary.model.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[] byteArray)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLFileEntryServiceImpl
public DLFileEntryServiceImpl()
addFileEntry
public com.liferay.portlet.documentlibrary.model.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[] byteArray,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addFileEntry
in interface com.liferay.portlet.documentlibrary.service.DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFileEntry
public com.liferay.portlet.documentlibrary.model.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[] byteArray,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addFileEntry
in interface com.liferay.portlet.documentlibrary.service.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,
java.rmi.RemoteException,
com.liferay.portal.SystemException
- Specified by:
deleteFileEntry
in interface com.liferay.portlet.documentlibrary.service.DLFileEntryService
- Throws:
com.liferay.portal.PortalException
java.rmi.RemoteException
com.liferay.portal.SystemException
deleteFileEntry
public void deleteFileEntry(long folderId,
java.lang.String name,
double version)
throws com.liferay.portal.PortalException,
java.rmi.RemoteException,
com.liferay.portal.SystemException
- Specified by:
deleteFileEntry
in interface com.liferay.portlet.documentlibrary.service.DLFileEntryService
- Throws:
com.liferay.portal.PortalException
java.rmi.RemoteException
com.liferay.portal.SystemException
getFileEntry
public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(long folderId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getFileEntry
in interface com.liferay.portlet.documentlibrary.service.DLFileEntryService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
lockFileEntry
public void lockFileEntry(long folderId,
java.lang.String name)
throws com.liferay.portal.PortalException,
java.rmi.RemoteException,
com.liferay.portal.SystemException
- Specified by:
lockFileEntry
in interface com.liferay.portlet.documentlibrary.service.DLFileEntryService
- Throws:
com.liferay.portal.PortalException
java.rmi.RemoteException
com.liferay.portal.SystemException
unlockFileEntry
public void unlockFileEntry(long folderId,
java.lang.String name)
throws com.liferay.portal.PortalException,
java.rmi.RemoteException,
com.liferay.portal.SystemException
- Specified by:
unlockFileEntry
in interface com.liferay.portlet.documentlibrary.service.DLFileEntryService
- Throws:
com.liferay.portal.PortalException
java.rmi.RemoteException
com.liferay.portal.SystemException
updateFileEntry
public com.liferay.portlet.documentlibrary.model.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[] byteArray)
throws com.liferay.portal.PortalException,
java.rmi.RemoteException,
com.liferay.portal.SystemException
- Specified by:
updateFileEntry
in interface com.liferay.portlet.documentlibrary.service.DLFileEntryService
- Throws:
com.liferay.portal.PortalException
java.rmi.RemoteException
com.liferay.portal.SystemException