com.liferay.portlet.documentlibrary.service
Interface DLFileEntryLocalService


public interface DLFileEntryLocalService

View Source

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

This interface defines the service. The default implementation is com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
DLFileEntryLocalServiceFactory, DLFileEntryLocalServiceUtil

Method Summary
 DLFileEntry addDLFileEntry(DLFileEntry model)
           
 DLFileEntry addFileEntry(long userId, 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)
           
 DLFileEntry addFileEntry(long userId, 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)
           
 DLFileEntry addFileEntry(long userId, 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 userId, 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.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 DLFileEntry addFileEntry(long userId, 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)
           
 DLFileEntry addFileEntry(java.lang.String uuid, long userId, 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)
           
 DLFileEntry addFileEntry(java.lang.String uuid, long userId, 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.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 DLFileEntry addFileEntry(java.lang.String uuid, long userId, long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String[] tagsEntries, java.lang.String extraSettings, java.io.InputStream is, long size, java.lang.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addFileEntryResources(DLFolder folder, DLFileEntry fileEntry, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFileEntryResources(DLFolder folder, DLFileEntry fileEntry, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addFileEntryResources(long folderId, java.lang.String name, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFileEntryResources(long folderId, java.lang.String name, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 DLFileEntry addOrOverwriteFileEntry(long userId, long folderId, java.lang.String name, java.lang.String sourceName, java.lang.String title, java.lang.String description, java.lang.String[] tagsEntries, java.lang.String extraSettings, java.io.File file, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void afterPropertiesSet()
           
 void deleteFileEntries(long folderId)
           
 void deleteFileEntry(DLFileEntry fileEntry)
           
 void deleteFileEntry(long folderId, java.lang.String name)
           
 void deleteFileEntry(long folderId, java.lang.String name, double version)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List getCompanyFileEntries(long companyId, int begin, int end)
           
 java.util.List getCompanyFileEntries(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getCompanyFileEntriesCount(long companyId)
           
 DLFileEntryAndShortcutFinder getDLFileEntryAndShortcutFinder()
           
 DLFileEntryFinder getDLFileEntryFinder()
           
 DLFileEntryPersistence getDLFileEntryPersistence()
           
 DLFileRankFinder getDLFileRankFinder()
           
 DLFileRankPersistence getDLFileRankPersistence()
           
 DLFileShortcutFinder getDLFileShortcutFinder()
           
 DLFileShortcutPersistence getDLFileShortcutPersistence()
           
 DLFileVersionPersistence getDLFileVersionPersistence()
           
 DLFolderPersistence getDLFolderPersistence()
           
 java.io.InputStream getFileAsStream(long companyId, long userId, long folderId, java.lang.String name)
           
 java.io.InputStream getFileAsStream(long companyId, long userId, long folderId, java.lang.String name, double version)
           
 java.util.List getFileEntries(long folderId)
           
 java.util.List getFileEntries(long folderId, int begin, int end)
           
 java.util.List getFileEntries(long folderId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List getFileEntriesAndShortcuts(java.util.List folderIds, int begin, int end)
           
 java.util.List getFileEntriesAndShortcuts(long folderId, int begin, int end)
           
 int getFileEntriesAndShortcutsCount(java.util.List folderIds)
           
 int getFileEntriesAndShortcutsCount(long folderId)
           
 int getFileEntriesCount(long folderId)
           
 DLFileEntry getFileEntry(long fileEntryId)
           
 DLFileEntry getFileEntry(long folderId, java.lang.String name)
           
 DLFileEntry getFileEntryByTitle(long folderId, java.lang.String titleWithExtension)
           
 DLFileEntry getFileEntryByUuidAndGroupId(java.lang.String uuid, long groupId)
           
 int getFoldersFileEntriesCount(java.util.List folderIds)
           
 java.util.List getGroupFileEntries(long groupId, int begin, int end)
           
 java.util.List getGroupFileEntries(long groupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List getGroupFileEntries(long groupId, long userId, int begin, int end)
           
 java.util.List getGroupFileEntries(long groupId, long userId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getGroupFileEntriesCount(long groupId)
           
 int getGroupFileEntriesCount(long groupId, long userId)
           
 MBMessageFinder getMBMessageFinder()
           
 MBMessagePersistence getMBMessagePersistence()
           
 java.util.List getNoAssetFileEntries()
           
 RatingsStatsPersistence getRatingsStatsPersistence()
           
 ResourceFinder getResourceFinder()
           
 ResourcePersistence getResourcePersistence()
           
 TagsAssetFinder getTagsAssetFinder()
           
 TagsAssetPersistence getTagsAssetPersistence()
           
 UserFinder getUserFinder()
           
 UserPersistence getUserPersistence()
           
 WebDAVPropsPersistence getWebDAVPropsPersistence()
           
 void setDLFileEntryAndShortcutFinder(DLFileEntryAndShortcutFinder dlFileEntryAndShortcutFinder)
           
 void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder)
           
 void setDLFileEntryPersistence(DLFileEntryPersistence dlFileEntryPersistence)
           
 void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder)
           
 void setDLFileRankPersistence(DLFileRankPersistence dlFileRankPersistence)
           
 void setDLFileShortcutFinder(DLFileShortcutFinder dlFileShortcutFinder)
           
 void setDLFileShortcutPersistence(DLFileShortcutPersistence dlFileShortcutPersistence)
           
 void setDLFileVersionPersistence(DLFileVersionPersistence dlFileVersionPersistence)
           
 void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence)
           
 void setMBMessageFinder(MBMessageFinder mbMessageFinder)
           
 void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
           
 void setRatingsStatsPersistence(RatingsStatsPersistence ratingsStatsPersistence)
           
 void setResourceFinder(ResourceFinder resourceFinder)
           
 void setResourcePersistence(ResourcePersistence resourcePersistence)
           
 void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder)
           
 void setTagsAssetPersistence(TagsAssetPersistence tagsAssetPersistence)
           
 void setUserFinder(UserFinder userFinder)
           
 void setUserPersistence(UserPersistence userPersistence)
           
 void setWebDAVPropsPersistence(WebDAVPropsPersistence webDAVPropsPersistence)
           
 DLFileEntry updateDLFileEntry(DLFileEntry model)
           
 DLFileEntry updateFileEntry(long userId, 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)
           
 DLFileEntry updateFileEntry(long userId, 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)
           
 DLFileEntry updateFileEntry(long userId, 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.InputStream is, long size)
           
 void updateTagsAsset(long userId, DLFileEntry fileEntry, java.lang.String[] tagsEntries)
           
 

Method Detail

addDLFileEntry

public DLFileEntry addDLFileEntry(DLFileEntry model)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateDLFileEntry

public DLFileEntry updateDLFileEntry(DLFileEntry model)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDLFileEntryPersistence

public DLFileEntryPersistence getDLFileEntryPersistence()

setDLFileEntryPersistence

public void setDLFileEntryPersistence(DLFileEntryPersistence dlFileEntryPersistence)

getDLFileEntryFinder

public DLFileEntryFinder getDLFileEntryFinder()

setDLFileEntryFinder

public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder)

getDLFileEntryAndShortcutFinder

public DLFileEntryAndShortcutFinder getDLFileEntryAndShortcutFinder()

setDLFileEntryAndShortcutFinder

public void setDLFileEntryAndShortcutFinder(DLFileEntryAndShortcutFinder dlFileEntryAndShortcutFinder)

getDLFileRankPersistence

public DLFileRankPersistence getDLFileRankPersistence()

setDLFileRankPersistence

public void setDLFileRankPersistence(DLFileRankPersistence dlFileRankPersistence)

getDLFileRankFinder

public DLFileRankFinder getDLFileRankFinder()

setDLFileRankFinder

public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder)

getDLFileShortcutPersistence

public DLFileShortcutPersistence getDLFileShortcutPersistence()

setDLFileShortcutPersistence

public void setDLFileShortcutPersistence(DLFileShortcutPersistence dlFileShortcutPersistence)

getDLFileShortcutFinder

public DLFileShortcutFinder getDLFileShortcutFinder()

setDLFileShortcutFinder

public void setDLFileShortcutFinder(DLFileShortcutFinder dlFileShortcutFinder)

getDLFileVersionPersistence

public DLFileVersionPersistence getDLFileVersionPersistence()

setDLFileVersionPersistence

public void setDLFileVersionPersistence(DLFileVersionPersistence dlFileVersionPersistence)

getDLFolderPersistence

public DLFolderPersistence getDLFolderPersistence()

setDLFolderPersistence

public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence)

getResourcePersistence

public ResourcePersistence getResourcePersistence()

setResourcePersistence

public void setResourcePersistence(ResourcePersistence resourcePersistence)

getResourceFinder

public ResourceFinder getResourceFinder()

setResourceFinder

public void setResourceFinder(ResourceFinder resourceFinder)

getUserPersistence

public UserPersistence getUserPersistence()

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)

getUserFinder

public UserFinder getUserFinder()

setUserFinder

public void setUserFinder(UserFinder userFinder)

getWebDAVPropsPersistence

public WebDAVPropsPersistence getWebDAVPropsPersistence()

setWebDAVPropsPersistence

public void setWebDAVPropsPersistence(WebDAVPropsPersistence webDAVPropsPersistence)

getMBMessagePersistence

public MBMessagePersistence getMBMessagePersistence()

setMBMessagePersistence

public void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)

getMBMessageFinder

public MBMessageFinder getMBMessageFinder()

setMBMessageFinder

public void setMBMessageFinder(MBMessageFinder mbMessageFinder)

getRatingsStatsPersistence

public RatingsStatsPersistence getRatingsStatsPersistence()

setRatingsStatsPersistence

public void setRatingsStatsPersistence(RatingsStatsPersistence ratingsStatsPersistence)

getTagsAssetPersistence

public TagsAssetPersistence getTagsAssetPersistence()

setTagsAssetPersistence

public void setTagsAssetPersistence(TagsAssetPersistence tagsAssetPersistence)

getTagsAssetFinder

public TagsAssetFinder getTagsAssetFinder()

setTagsAssetFinder

public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder)

afterPropertiesSet

public void afterPropertiesSet()

addFileEntry

public DLFileEntry addFileEntry(long userId,
                                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.SystemException,
                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFileEntry

public DLFileEntry addFileEntry(long userId,
                                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.SystemException,
                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFileEntry

public DLFileEntry addFileEntry(java.lang.String uuid,
                                long userId,
                                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.SystemException,
                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFileEntry

public DLFileEntry addFileEntry(long userId,
                                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.SystemException,
                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFileEntry

public DLFileEntry addFileEntry(long userId,
                                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.SystemException,
                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFileEntry

public DLFileEntry addFileEntry(long userId,
                                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.Boolean addCommunityPermissions,
                                java.lang.Boolean addGuestPermissions,
                                java.lang.String[] communityPermissions,
                                java.lang.String[] guestPermissions)
                         throws com.liferay.portal.SystemException,
                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFileEntry

public DLFileEntry addFileEntry(java.lang.String uuid,
                                long userId,
                                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.Boolean addCommunityPermissions,
                                java.lang.Boolean addGuestPermissions,
                                java.lang.String[] communityPermissions,
                                java.lang.String[] guestPermissions)
                         throws com.liferay.portal.SystemException,
                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFileEntry

public DLFileEntry addFileEntry(java.lang.String uuid,
                                long userId,
                                long folderId,
                                java.lang.String name,
                                java.lang.String title,
                                java.lang.String description,
                                java.lang.String[] tagsEntries,
                                java.lang.String extraSettings,
                                java.io.InputStream is,
                                long size,
                                java.lang.Boolean addCommunityPermissions,
                                java.lang.Boolean addGuestPermissions,
                                java.lang.String[] communityPermissions,
                                java.lang.String[] guestPermissions)
                         throws com.liferay.portal.SystemException,
                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFileEntryResources

public void addFileEntryResources(long folderId,
                                  java.lang.String name,
                                  boolean addCommunityPermissions,
                                  boolean addGuestPermissions)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFileEntryResources

public void addFileEntryResources(DLFolder folder,
                                  DLFileEntry fileEntry,
                                  boolean addCommunityPermissions,
                                  boolean addGuestPermissions)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFileEntryResources

public void addFileEntryResources(long folderId,
                                  java.lang.String name,
                                  java.lang.String[] communityPermissions,
                                  java.lang.String[] guestPermissions)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFileEntryResources

public void addFileEntryResources(DLFolder folder,
                                  DLFileEntry fileEntry,
                                  java.lang.String[] communityPermissions,
                                  java.lang.String[] guestPermissions)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addOrOverwriteFileEntry

public DLFileEntry addOrOverwriteFileEntry(long userId,
                                           long folderId,
                                           java.lang.String name,
                                           java.lang.String sourceName,
                                           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.SystemException,
                                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteFileEntries

public void deleteFileEntries(long folderId)
                       throws com.liferay.portal.SystemException,
                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteFileEntry

public void deleteFileEntry(long folderId,
                            java.lang.String name)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteFileEntry

public void deleteFileEntry(long folderId,
                            java.lang.String name,
                            double version)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteFileEntry

public void deleteFileEntry(DLFileEntry fileEntry)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getCompanyFileEntries

public java.util.List getCompanyFileEntries(long companyId,
                                            int begin,
                                            int end)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getCompanyFileEntries

public java.util.List getCompanyFileEntries(long companyId,
                                            int begin,
                                            int end,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getCompanyFileEntriesCount

public int getCompanyFileEntriesCount(long companyId)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFileAsStream

public java.io.InputStream getFileAsStream(long companyId,
                                           long userId,
                                           long folderId,
                                           java.lang.String name)
                                    throws com.liferay.portal.SystemException,
                                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getFileAsStream

public java.io.InputStream getFileAsStream(long companyId,
                                           long userId,
                                           long folderId,
                                           java.lang.String name,
                                           double version)
                                    throws com.liferay.portal.SystemException,
                                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getFileEntries

public java.util.List getFileEntries(long folderId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFileEntries

public java.util.List getFileEntries(long folderId,
                                     int begin,
                                     int end)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFileEntries

public java.util.List getFileEntries(long folderId,
                                     int begin,
                                     int end,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFileEntriesAndShortcuts

public java.util.List getFileEntriesAndShortcuts(long folderId,
                                                 int begin,
                                                 int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFileEntriesAndShortcuts

public java.util.List getFileEntriesAndShortcuts(java.util.List folderIds,
                                                 int begin,
                                                 int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFileEntriesAndShortcutsCount

public int getFileEntriesAndShortcutsCount(long folderId)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFileEntriesAndShortcutsCount

public int getFileEntriesAndShortcutsCount(java.util.List folderIds)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFileEntriesCount

public int getFileEntriesCount(long folderId)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFileEntry

public DLFileEntry getFileEntry(long fileEntryId)
                         throws com.liferay.portal.SystemException,
                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getFileEntry

public DLFileEntry getFileEntry(long folderId,
                                java.lang.String name)
                         throws com.liferay.portal.SystemException,
                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getFileEntryByUuidAndGroupId

public DLFileEntry getFileEntryByUuidAndGroupId(java.lang.String uuid,
                                                long groupId)
                                         throws com.liferay.portal.SystemException,
                                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getFileEntryByTitle

public DLFileEntry getFileEntryByTitle(long folderId,
                                       java.lang.String titleWithExtension)
                                throws com.liferay.portal.SystemException,
                                       com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getFoldersFileEntriesCount

public int getFoldersFileEntriesCount(java.util.List folderIds)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupFileEntries

public java.util.List getGroupFileEntries(long groupId,
                                          int begin,
                                          int end)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupFileEntries

public java.util.List getGroupFileEntries(long groupId,
                                          int begin,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupFileEntries

public java.util.List getGroupFileEntries(long groupId,
                                          long userId,
                                          int begin,
                                          int end)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupFileEntries

public java.util.List getGroupFileEntries(long groupId,
                                          long userId,
                                          int begin,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupFileEntriesCount

public int getGroupFileEntriesCount(long groupId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupFileEntriesCount

public int getGroupFileEntriesCount(long groupId,
                                    long userId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getNoAssetFileEntries

public java.util.List getNoAssetFileEntries()
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateFileEntry

public DLFileEntry updateFileEntry(long userId,
                                   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.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateFileEntry

public DLFileEntry updateFileEntry(long userId,
                                   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.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateFileEntry

public DLFileEntry updateFileEntry(long userId,
                                   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.InputStream is,
                                   long size)
                            throws com.liferay.portal.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateTagsAsset

public void updateTagsAsset(long userId,
                            DLFileEntry fileEntry,
                            java.lang.String[] tagsEntries)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException