com.liferay.portlet.documentlibrary.service
Class DLFileEntryLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceWrapper
All Implemented Interfaces:
DLFileEntryLocalService

public class DLFileEntryLocalServiceWrapper
extends java.lang.Object
implements DLFileEntryLocalService

View Source

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

This class is a wrapper for DLFileEntryLocalService.

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

Constructor Summary
DLFileEntryLocalServiceWrapper(DLFileEntryLocalService dlFileEntryLocalService)
           
 
Method Summary
 DLFileEntry addDLFileEntry(DLFileEntry dlFileEntry)
           
 DLFileEntry addFileEntry(java.lang.String uuid, long userId, 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(java.lang.String uuid, long userId, 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)
           
 DLFileEntry addFileEntry(java.lang.String uuid, long userId, 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.InputStream is, long size, ServiceContext serviceContext)
           
 void addFileEntryResources(DLFileEntry fileEntry, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFileEntryResources(DLFileEntry fileEntry, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addFileEntryResources(long fileEntryId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFileEntryResources(long fileEntryId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 DLFileEntry addOrOverwriteFileEntry(long userId, long groupId, long folderId, java.lang.String name, java.lang.String sourceName, java.lang.String title, java.lang.String description, java.lang.String versionDescription, java.lang.String extraSettings, java.io.File file, ServiceContext serviceContext)
           
 DLFileEntry createDLFileEntry(long fileEntryId)
           
 void deleteDLFileEntry(DLFileEntry dlFileEntry)
           
 void deleteDLFileEntry(long fileEntryId)
           
 void deleteFileEntries(long groupId, long folderId)
           
 void deleteFileEntry(DLFileEntry fileEntry)
           
 void deleteFileEntry(long groupId, long folderId, java.lang.String name)
           
 void deleteFileEntry(long groupId, long folderId, java.lang.String name, java.lang.String version)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 java.util.List<DLFileEntry> getCompanyFileEntries(long companyId, int start, int end)
           
 java.util.List<DLFileEntry> getCompanyFileEntries(long companyId, int start, int end, OrderByComparator obc)
           
 int getCompanyFileEntriesCount(long companyId)
           
 java.util.List<DLFileEntry> getDLFileEntries(int start, int end)
           
 int getDLFileEntriesCount()
           
 DLFileEntry getDLFileEntry(long fileEntryId)
           
 DLFileEntry getDLFileEntryByUuidAndGroupId(java.lang.String uuid, long groupId)
           
 java.io.InputStream getFileAsStream(long companyId, long userId, long groupId, long folderId, java.lang.String name)
           
 java.io.InputStream getFileAsStream(long companyId, long userId, long groupId, long folderId, java.lang.String name, java.lang.String version)
           
 java.util.List<DLFileEntry> getFileEntries(long groupId, long folderId)
           
 java.util.List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end)
           
 java.util.List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end, OrderByComparator obc)
           
 int getFileEntriesCount(long groupId, long folderId)
           
 DLFileEntry getFileEntry(long fileEntryId)
           
 DLFileEntry getFileEntry(long groupId, long folderId, java.lang.String name)
           
 DLFileEntry getFileEntryByTitle(long groupId, long folderId, java.lang.String title)
           
 DLFileEntry getFileEntryByUuidAndGroupId(java.lang.String uuid, long groupId)
           
 int getFoldersFileEntriesCount(long groupId, java.util.List<java.lang.Long> folderIds, int status)
           
 java.util.List<DLFileEntry> getGroupFileEntries(long groupId, int start, int end)
           
 java.util.List<DLFileEntry> getGroupFileEntries(long groupId, int start, int end, OrderByComparator obc)
           
 java.util.List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end)
           
 java.util.List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end, OrderByComparator obc)
           
 int getGroupFileEntriesCount(long groupId)
           
 int getGroupFileEntriesCount(long groupId, long userId)
           
 java.util.List<DLFileEntry> getNoAssetFileEntries()
           
 DLFileEntryLocalService getWrappedDLFileEntryLocalService()
           
 void updateAsset(long userId, DLFileEntry fileEntry, DLFileVersion fileVersion, long[] assetCategoryIds, java.lang.String[] assetTagNames)
           
 DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry)
           
 DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry, boolean merge)
           
 DLFileEntry updateFileEntry(long userId, 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 userId, 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)
           
 DLFileEntry updateFileEntry(long userId, 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.InputStream is, long size, ServiceContext serviceContext)
           
 DLFileEntry updateStatus(long userId, long fileEntryId, int status, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileEntryLocalServiceWrapper

public DLFileEntryLocalServiceWrapper(DLFileEntryLocalService dlFileEntryLocalService)
Method Detail

addDLFileEntry

public DLFileEntry addDLFileEntry(DLFileEntry dlFileEntry)
                           throws SystemException
Specified by:
addDLFileEntry in interface DLFileEntryLocalService
Throws:
SystemException

createDLFileEntry

public DLFileEntry createDLFileEntry(long fileEntryId)
Specified by:
createDLFileEntry in interface DLFileEntryLocalService

deleteDLFileEntry

public void deleteDLFileEntry(long fileEntryId)
                       throws PortalException,
                              SystemException
Specified by:
deleteDLFileEntry in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

deleteDLFileEntry

public void deleteDLFileEntry(DLFileEntry dlFileEntry)
                       throws SystemException
Specified by:
deleteDLFileEntry in interface DLFileEntryLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Specified by:
dynamicQuery in interface DLFileEntryLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws SystemException
Specified by:
dynamicQuery in interface DLFileEntryLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Specified by:
dynamicQuery in interface DLFileEntryLocalService
Throws:
SystemException

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Specified by:
dynamicQueryCount in interface DLFileEntryLocalService
Throws:
SystemException

getDLFileEntry

public DLFileEntry getDLFileEntry(long fileEntryId)
                           throws PortalException,
                                  SystemException
Specified by:
getDLFileEntry in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

getDLFileEntryByUuidAndGroupId

public DLFileEntry getDLFileEntryByUuidAndGroupId(java.lang.String uuid,
                                                  long groupId)
                                           throws PortalException,
                                                  SystemException
Specified by:
getDLFileEntryByUuidAndGroupId in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

getDLFileEntries

public java.util.List<DLFileEntry> getDLFileEntries(int start,
                                                    int end)
                                             throws SystemException
Specified by:
getDLFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

getDLFileEntriesCount

public int getDLFileEntriesCount()
                          throws SystemException
Specified by:
getDLFileEntriesCount in interface DLFileEntryLocalService
Throws:
SystemException

updateDLFileEntry

public DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry)
                              throws SystemException
Specified by:
updateDLFileEntry in interface DLFileEntryLocalService
Throws:
SystemException

updateDLFileEntry

public DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry,
                                     boolean merge)
                              throws SystemException
Specified by:
updateDLFileEntry in interface DLFileEntryLocalService
Throws:
SystemException

addFileEntry

public DLFileEntry addFileEntry(java.lang.String uuid,
                                long userId,
                                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 PortalException,
                                SystemException
Specified by:
addFileEntry in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

addFileEntry

public DLFileEntry addFileEntry(java.lang.String uuid,
                                long userId,
                                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 PortalException,
                                SystemException
Specified by:
addFileEntry in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

addFileEntry

public DLFileEntry addFileEntry(java.lang.String uuid,
                                long userId,
                                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.InputStream is,
                                long size,
                                ServiceContext serviceContext)
                         throws PortalException,
                                SystemException
Specified by:
addFileEntry in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

addFileEntryResources

public void addFileEntryResources(DLFileEntry fileEntry,
                                  boolean addCommunityPermissions,
                                  boolean addGuestPermissions)
                           throws PortalException,
                                  SystemException
Specified by:
addFileEntryResources in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

addFileEntryResources

public void addFileEntryResources(DLFileEntry fileEntry,
                                  java.lang.String[] communityPermissions,
                                  java.lang.String[] guestPermissions)
                           throws PortalException,
                                  SystemException
Specified by:
addFileEntryResources in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

addFileEntryResources

public void addFileEntryResources(long fileEntryId,
                                  boolean addCommunityPermissions,
                                  boolean addGuestPermissions)
                           throws PortalException,
                                  SystemException
Specified by:
addFileEntryResources in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

addFileEntryResources

public void addFileEntryResources(long fileEntryId,
                                  java.lang.String[] communityPermissions,
                                  java.lang.String[] guestPermissions)
                           throws PortalException,
                                  SystemException
Specified by:
addFileEntryResources in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

addOrOverwriteFileEntry

public DLFileEntry addOrOverwriteFileEntry(long userId,
                                           long groupId,
                                           long folderId,
                                           java.lang.String name,
                                           java.lang.String sourceName,
                                           java.lang.String title,
                                           java.lang.String description,
                                           java.lang.String versionDescription,
                                           java.lang.String extraSettings,
                                           java.io.File file,
                                           ServiceContext serviceContext)
                                    throws PortalException,
                                           SystemException
Specified by:
addOrOverwriteFileEntry in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

deleteFileEntries

public void deleteFileEntries(long groupId,
                              long folderId)
                       throws PortalException,
                              SystemException
Specified by:
deleteFileEntries in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

deleteFileEntry

public void deleteFileEntry(DLFileEntry fileEntry)
                     throws PortalException,
                            SystemException
Specified by:
deleteFileEntry in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

deleteFileEntry

public void deleteFileEntry(long groupId,
                            long folderId,
                            java.lang.String name)
                     throws PortalException,
                            SystemException
Specified by:
deleteFileEntry in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

deleteFileEntry

public void deleteFileEntry(long groupId,
                            long folderId,
                            java.lang.String name,
                            java.lang.String version)
                     throws PortalException,
                            SystemException
Specified by:
deleteFileEntry in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

getCompanyFileEntries

public java.util.List<DLFileEntry> getCompanyFileEntries(long companyId,
                                                         int start,
                                                         int end)
                                                  throws SystemException
Specified by:
getCompanyFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

getCompanyFileEntries

public java.util.List<DLFileEntry> getCompanyFileEntries(long companyId,
                                                         int start,
                                                         int end,
                                                         OrderByComparator obc)
                                                  throws SystemException
Specified by:
getCompanyFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

getCompanyFileEntriesCount

public int getCompanyFileEntriesCount(long companyId)
                               throws SystemException
Specified by:
getCompanyFileEntriesCount in interface DLFileEntryLocalService
Throws:
SystemException

getFileAsStream

public java.io.InputStream getFileAsStream(long companyId,
                                           long userId,
                                           long groupId,
                                           long folderId,
                                           java.lang.String name)
                                    throws PortalException,
                                           SystemException
Specified by:
getFileAsStream in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

getFileAsStream

public java.io.InputStream getFileAsStream(long companyId,
                                           long userId,
                                           long groupId,
                                           long folderId,
                                           java.lang.String name,
                                           java.lang.String version)
                                    throws PortalException,
                                           SystemException
Specified by:
getFileAsStream in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

getFileEntries

public java.util.List<DLFileEntry> getFileEntries(long groupId,
                                                  long folderId)
                                           throws SystemException
Specified by:
getFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

getFileEntries

public java.util.List<DLFileEntry> getFileEntries(long groupId,
                                                  long folderId,
                                                  int start,
                                                  int end)
                                           throws SystemException
Specified by:
getFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

getFileEntries

public java.util.List<DLFileEntry> getFileEntries(long groupId,
                                                  long folderId,
                                                  int start,
                                                  int end,
                                                  OrderByComparator obc)
                                           throws SystemException
Specified by:
getFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

getFileEntriesCount

public int getFileEntriesCount(long groupId,
                               long folderId)
                        throws SystemException
Specified by:
getFileEntriesCount in interface DLFileEntryLocalService
Throws:
SystemException

getFileEntry

public DLFileEntry getFileEntry(long fileEntryId)
                         throws PortalException,
                                SystemException
Specified by:
getFileEntry in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

getFileEntry

public DLFileEntry getFileEntry(long groupId,
                                long folderId,
                                java.lang.String name)
                         throws PortalException,
                                SystemException
Specified by:
getFileEntry in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

getFileEntryByTitle

public DLFileEntry getFileEntryByTitle(long groupId,
                                       long folderId,
                                       java.lang.String title)
                                throws PortalException,
                                       SystemException
Specified by:
getFileEntryByTitle in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

getFileEntryByUuidAndGroupId

public DLFileEntry getFileEntryByUuidAndGroupId(java.lang.String uuid,
                                                long groupId)
                                         throws PortalException,
                                                SystemException
Specified by:
getFileEntryByUuidAndGroupId in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

getFoldersFileEntriesCount

public int getFoldersFileEntriesCount(long groupId,
                                      java.util.List<java.lang.Long> folderIds,
                                      int status)
                               throws SystemException
Specified by:
getFoldersFileEntriesCount in interface DLFileEntryLocalService
Throws:
SystemException

getGroupFileEntries

public java.util.List<DLFileEntry> getGroupFileEntries(long groupId,
                                                       int start,
                                                       int end)
                                                throws SystemException
Specified by:
getGroupFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

getGroupFileEntries

public java.util.List<DLFileEntry> getGroupFileEntries(long groupId,
                                                       int start,
                                                       int end,
                                                       OrderByComparator obc)
                                                throws SystemException
Specified by:
getGroupFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

getGroupFileEntries

public java.util.List<DLFileEntry> getGroupFileEntries(long groupId,
                                                       long userId,
                                                       int start,
                                                       int end)
                                                throws SystemException
Specified by:
getGroupFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

getGroupFileEntries

public java.util.List<DLFileEntry> getGroupFileEntries(long groupId,
                                                       long userId,
                                                       int start,
                                                       int end,
                                                       OrderByComparator obc)
                                                throws SystemException
Specified by:
getGroupFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

getGroupFileEntriesCount

public int getGroupFileEntriesCount(long groupId)
                             throws SystemException
Specified by:
getGroupFileEntriesCount in interface DLFileEntryLocalService
Throws:
SystemException

getGroupFileEntriesCount

public int getGroupFileEntriesCount(long groupId,
                                    long userId)
                             throws SystemException
Specified by:
getGroupFileEntriesCount in interface DLFileEntryLocalService
Throws:
SystemException

getNoAssetFileEntries

public java.util.List<DLFileEntry> getNoAssetFileEntries()
                                                  throws SystemException
Specified by:
getNoAssetFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

updateAsset

public void updateAsset(long userId,
                        DLFileEntry fileEntry,
                        DLFileVersion fileVersion,
                        long[] assetCategoryIds,
                        java.lang.String[] assetTagNames)
                 throws PortalException,
                        SystemException
Specified by:
updateAsset in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

updateFileEntry

public DLFileEntry updateFileEntry(long userId,
                                   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 PortalException,
                                   SystemException
Specified by:
updateFileEntry in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

updateFileEntry

public DLFileEntry updateFileEntry(long userId,
                                   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 PortalException,
                                   SystemException
Specified by:
updateFileEntry in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

updateFileEntry

public DLFileEntry updateFileEntry(long userId,
                                   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.InputStream is,
                                   long size,
                                   ServiceContext serviceContext)
                            throws PortalException,
                                   SystemException
Specified by:
updateFileEntry in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

updateStatus

public DLFileEntry updateStatus(long userId,
                                long fileEntryId,
                                int status,
                                ServiceContext serviceContext)
                         throws PortalException,
                                SystemException
Specified by:
updateStatus in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

getWrappedDLFileEntryLocalService

public DLFileEntryLocalService getWrappedDLFileEntryLocalService()