| java.lang.Object com.liferay.portlet.documentlibrary.service.base.DLFileEntryLocalServiceBaseImpl com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl
DLFileEntryLocalServiceImpl | public class DLFileEntryLocalServiceImpl extends DLFileEntryLocalServiceBaseImpl (Code) | | View Source
For DLFileEntries, the naming convention for some of the variables is not
very informative, due to legacy code. Each DLFileEntry has a corresponding
name and title. The "name" is a unique identifier for a given file and
usually follows the format "DLFE-1234.xls" whereas the "title" is the actual
name specified by the user (e.g., "Budget.xls").
author: Brian Wing Shun Chan author: Harry Mark |
Method Summary | |
public DLFileEntry | addFileEntry(long userId, long folderId, String name, String title, String description, String[] tagsEntries, String extraSettings, File file, boolean addCommunityPermissions, boolean addGuestPermissions) | public DLFileEntry | addFileEntry(long userId, long folderId, String name, String title, String description, String[] tagsEntries, String extraSettings, byte[] byteArray, boolean addCommunityPermissions, boolean addGuestPermissions) | public DLFileEntry | addFileEntry(String uuid, long userId, long folderId, String name, String title, String description, String[] tagsEntries, String extraSettings, byte[] byteArray, boolean addCommunityPermissions, boolean addGuestPermissions) | public DLFileEntry | addFileEntry(long userId, long folderId, String name, String title, String description, String[] tagsEntries, String extraSettings, File file, String[] communityPermissions, String[] guestPermissions) | public DLFileEntry | addFileEntry(long userId, long folderId, String name, String title, String description, String[] tagsEntries, String extraSettings, byte[] byteArray, String[] communityPermissions, String[] guestPermissions) | public DLFileEntry | addFileEntry(long userId, long folderId, String name, String title, String description, String[] tagsEntries, String extraSettings, File file, Boolean addCommunityPermissions, Boolean addGuestPermissions, String[] communityPermissions, String[] guestPermissions) | public DLFileEntry | addFileEntry(String uuid, long userId, long folderId, String name, String title, String description, String[] tagsEntries, String extraSettings, byte[] byteArray, Boolean addCommunityPermissions, Boolean addGuestPermissions, String[] communityPermissions, String[] guestPermissions) | public DLFileEntry | addFileEntry(String uuid, long userId, long folderId, String name, String title, String description, String[] tagsEntries, String extraSettings, InputStream is, long size, Boolean addCommunityPermissions, Boolean addGuestPermissions, String[] communityPermissions, String[] guestPermissions) | public void | addFileEntryResources(long folderId, String name, boolean addCommunityPermissions, boolean addGuestPermissions) | public void | addFileEntryResources(DLFolder folder, DLFileEntry fileEntry, boolean addCommunityPermissions, boolean addGuestPermissions) | public void | addFileEntryResources(long folderId, String name, String[] communityPermissions, String[] guestPermissions) | public void | addFileEntryResources(DLFolder folder, DLFileEntry fileEntry, String[] communityPermissions, String[] guestPermissions) | public DLFileEntry | addOrOverwriteFileEntry(long userId, long folderId, String name, String sourceName, String title, String description, String[] tagsEntries, String extraSettings, File file, boolean addCommunityPermissions, boolean addGuestPermissions) | public void | deleteFileEntries(long folderId) | public void | deleteFileEntry(long folderId, String name) | public void | deleteFileEntry(long folderId, String name, double version) | public void | deleteFileEntry(DLFileEntry fileEntry) | public List | getCompanyFileEntries(long companyId, int begin, int end) | public List | getCompanyFileEntries(long companyId, int begin, int end, OrderByComparator obc) | public int | getCompanyFileEntriesCount(long companyId) | public InputStream | getFileAsStream(long companyId, long userId, long folderId, String name) | public InputStream | getFileAsStream(long companyId, long userId, long folderId, String name, double version) | public List | getFileEntries(long folderId) | public List | getFileEntries(long folderId, int begin, int end) | public List | getFileEntries(long folderId, int begin, int end, OrderByComparator obc) | public List | getFileEntriesAndShortcuts(long folderId, int begin, int end) | public List | getFileEntriesAndShortcuts(List folderIds, int begin, int end) | public int | getFileEntriesAndShortcutsCount(long folderId) | public int | getFileEntriesAndShortcutsCount(List folderIds) | public int | getFileEntriesCount(long folderId) | public DLFileEntry | getFileEntry(long fileEntryId) | public DLFileEntry | getFileEntry(long folderId, String name) | public DLFileEntry | getFileEntryByTitle(long folderId, String titleWithExtension) | public DLFileEntry | getFileEntryByUuidAndGroupId(String uuid, long groupId) | protected long | getFolderId(long companyId, long folderId) | public int | getFoldersFileEntriesCount(List folderIds) | public List | getGroupFileEntries(long groupId, int begin, int end) | public List | getGroupFileEntries(long groupId, int begin, int end, OrderByComparator obc) | public List | getGroupFileEntries(long groupId, long userId, int begin, int end) | public List | getGroupFileEntries(long groupId, long userId, int begin, int end, OrderByComparator obc) | public int | getGroupFileEntriesCount(long groupId) | public int | getGroupFileEntriesCount(long groupId, long userId) | protected String | getName(String name) | public List | getNoAssetFileEntries() | public DLFileEntry | updateFileEntry(long userId, long folderId, long newFolderId, String name, String sourceFileName, String title, String description, String[] tagsEntries, String extraSettings, File file) | public DLFileEntry | updateFileEntry(long userId, long folderId, long newFolderId, String name, String sourceFileName, String title, String description, String[] tagsEntries, String extraSettings, byte[] byteArray) | public DLFileEntry | updateFileEntry(long userId, long folderId, long newFolderId, String name, String sourceFileName, String title, String description, String[] tagsEntries, String extraSettings, InputStream is, long size) | public void | updateTagsAsset(long userId, DLFileEntry fileEntry, String[] tagsEntries) | protected void | validate(long groupId, long folderId, long newFolderId, String name, String title, String sourceFileName, InputStream is) | protected void | validate(long groupId, long folderId, String name, String title, InputStream is) |
addFileEntry | public DLFileEntry addFileEntry(long userId, long folderId, String name, String title, String description, String[] tagsEntries, String extraSettings, File file, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException(Code) | | |
addFileEntry | public DLFileEntry addFileEntry(long userId, long folderId, String name, String title, String description, String[] tagsEntries, String extraSettings, byte[] byteArray, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException(Code) | | |
addFileEntry | public DLFileEntry addFileEntry(String uuid, long userId, long folderId, String name, String title, String description, String[] tagsEntries, String extraSettings, byte[] byteArray, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException(Code) | | |
addFileEntry | public DLFileEntry addFileEntry(long userId, long folderId, String name, String title, String description, String[] tagsEntries, String extraSettings, File file, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException(Code) | | |
addFileEntry | public DLFileEntry addFileEntry(long userId, long folderId, String name, String title, String description, String[] tagsEntries, String extraSettings, byte[] byteArray, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException(Code) | | |
addFileEntry | public DLFileEntry addFileEntry(long userId, long folderId, String name, String title, String description, String[] tagsEntries, String extraSettings, File file, Boolean addCommunityPermissions, Boolean addGuestPermissions, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException(Code) | | |
addFileEntry | public DLFileEntry addFileEntry(String uuid, long userId, long folderId, String name, String title, String description, String[] tagsEntries, String extraSettings, byte[] byteArray, Boolean addCommunityPermissions, Boolean addGuestPermissions, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException(Code) | | |
addFileEntry | public DLFileEntry addFileEntry(String uuid, long userId, long folderId, String name, String title, String description, String[] tagsEntries, String extraSettings, InputStream is, long size, Boolean addCommunityPermissions, Boolean addGuestPermissions, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException(Code) | | |
addOrOverwriteFileEntry | public DLFileEntry addOrOverwriteFileEntry(long userId, long folderId, String name, String sourceName, String title, String description, String[] tagsEntries, String extraSettings, File file, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException(Code) | | |
getCompanyFileEntriesCount | public int getCompanyFileEntriesCount(long companyId) throws SystemException(Code) | | |
getFileEntriesAndShortcuts | public List getFileEntriesAndShortcuts(long folderId, int begin, int end) throws SystemException(Code) | | |
getFileEntriesAndShortcutsCount | public int getFileEntriesAndShortcutsCount(long folderId) throws SystemException(Code) | | |
getGroupFileEntries | public List getGroupFileEntries(long groupId, long userId, int begin, int end) throws SystemException(Code) | | |
getGroupFileEntriesCount | public int getGroupFileEntriesCount(long groupId, long userId) throws SystemException(Code) | | |
updateFileEntry | public DLFileEntry updateFileEntry(long userId, long folderId, long newFolderId, String name, String sourceFileName, String title, String description, String[] tagsEntries, String extraSettings, File file) throws PortalException, SystemException(Code) | | |
updateFileEntry | public DLFileEntry updateFileEntry(long userId, long folderId, long newFolderId, String name, String sourceFileName, String title, String description, String[] tagsEntries, String extraSettings, byte[] byteArray) throws PortalException, SystemException(Code) | | |
updateFileEntry | public DLFileEntry updateFileEntry(long userId, long folderId, long newFolderId, String name, String sourceFileName, String title, String description, String[] tagsEntries, String extraSettings, InputStream is, long size) throws PortalException, SystemException(Code) | | |
|
|