Package | Description |
---|---|
com.liferay.portal.kernel.repository.model | |
com.liferay.portal.kernel.repository.util |
Modifier and Type | Method and Description |
---|---|
static FileContentReference |
FileContentReference.fromBytes(long fileEntryId,
String sourceFileName,
String extension,
String mimeType,
byte[] bytes) |
static FileContentReference |
FileContentReference.fromBytes(String sourceFileName,
String extension,
String mimeType,
byte[] bytes) |
static FileContentReference |
FileContentReference.fromFile(long fileEntryId,
String sourceFileName,
String extension,
String mimeType,
File file) |
static FileContentReference |
FileContentReference.fromFile(String sourceFileName,
String extension,
String mimeType,
File file) |
static FileContentReference |
FileContentReference.fromInputStream(long fileEntryId,
String sourceFileName,
String extension,
String mimeType,
InputStream inputStream,
long size) |
static FileContentReference |
FileContentReference.fromInputStream(String sourceFileName,
String extension,
String mimeType,
InputStream inputStream,
long size) |
Modifier and Type | Method and Description |
---|---|
static ModelValidator<FileContentReference> |
ModelValidatorUtil.getDefaultDLFileEntryModelValidator()
Deprecated.
|
static ModelValidator<FileContentReference> |
ModelValidatorUtil.getDefaultFileExtensionModelValidator()
Deprecated.
|
static ModelValidator<FileContentReference> |
ModelValidatorUtil.getDefaultFileNameModelValidator()
Deprecated.
|
static ModelValidator<FileContentReference> |
ModelValidatorUtil.getDefaultFileSizeModelValidator()
Deprecated.
|