public class ModelValidatorLocalRepositoryWrapper extends LocalRepositoryWrapper
Constructor and Description |
---|
ModelValidatorLocalRepositoryWrapper(com.liferay.portal.kernel.repository.LocalRepository localRepository,
com.liferay.portal.kernel.repository.model.ModelValidator<com.liferay.portal.kernel.repository.model.FileContentReference> modelValidator) |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.repository.model.FileEntry |
addFileEntry(long userId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
File file,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.repository.model.FileEntry |
addFileEntry(long userId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
InputStream is,
long size,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.repository.model.FileEntry |
updateFileEntry(long userId,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease,
File file,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.repository.model.FileEntry |
updateFileEntry(long userId,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease,
InputStream is,
long size,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
addFileShortcut, addFolder, checkInFileEntry, checkInFileEntry, copyFileEntry, deleteAll, deleteFileEntry, deleteFileShortcut, deleteFileShortcuts, deleteFileVersion, deleteFolder, getCapability, getFileEntries, getFileEntries, getFileEntries, getFileEntriesAndFileShortcuts, getFileEntriesAndFileShortcutsCount, getFileEntriesCount, getFileEntriesCount, getFileEntriesCount, getFileEntry, getFileEntry, getFileEntryByUuid, getFileShortcut, getFileVersion, getFolder, getFolder, getFolders, getFolders, getFoldersAndFileEntriesAndFileShortcuts, getFoldersAndFileEntriesAndFileShortcutsCount, getFoldersCount, getFoldersCount, getRepositoryFileEntries, getRepositoryId, isCapabilityProvided, moveFileEntry, moveFolder, revertFileEntry, setLocalRepository, updateFileShortcut, updateFileShortcuts, updateFolder
public ModelValidatorLocalRepositoryWrapper(com.liferay.portal.kernel.repository.LocalRepository localRepository, com.liferay.portal.kernel.repository.model.ModelValidator<com.liferay.portal.kernel.repository.model.FileContentReference> modelValidator)
public com.liferay.portal.kernel.repository.model.FileEntry addFileEntry(long userId, long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, File file, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addFileEntry
in interface com.liferay.portal.kernel.repository.DocumentRepository
addFileEntry
in class LocalRepositoryWrapper
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.model.FileEntry addFileEntry(long userId, long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, InputStream is, long size, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addFileEntry
in interface com.liferay.portal.kernel.repository.DocumentRepository
addFileEntry
in class LocalRepositoryWrapper
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease, File file, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateFileEntry
in interface com.liferay.portal.kernel.repository.DocumentRepository
updateFileEntry
in class LocalRepositoryWrapper
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease, InputStream is, long size, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateFileEntry
in interface com.liferay.portal.kernel.repository.DocumentRepository
updateFileEntry
in class LocalRepositoryWrapper
com.liferay.portal.kernel.exception.PortalException