public class DossierFileImpl extends Object implements DossierFile
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected boolean |
required |
| Modifier and Type | Method and Description |
|---|---|
DossierFileVersion |
createNewVersion(String mediaType) |
List<String> |
getAllowedMediaTypes() |
boolean |
getAllowedMultiple() |
String |
getCode() |
byte[] |
getContents() |
String |
getContextKey() |
boolean |
getExists() |
String |
getExtension() |
boolean |
getHidden() |
DossierFileVersion |
getLatestVersion() |
String |
getMediaType() |
String |
getName() |
Dossier |
getParent() |
boolean |
getReadonly() |
boolean |
getRequired() |
DossierFileVersion |
getVersion(int version) |
Integer |
getVersionsCount() |
LocalDateTime |
lastModified() |
void |
setContents(byte[] contents) |
void |
setParent(DossierPath parent) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFileNameprotected final String name
protected final boolean required
public String getCode()
getCode in interface DossierPathpublic String getName()
getName in interface DossierPathpublic boolean getRequired()
getRequired in interface DossierFilepublic boolean getReadonly()
getReadonly in interface DossierFilepublic boolean getHidden()
getHidden in interface DossierFilepublic boolean getAllowedMultiple()
getAllowedMultiple in interface DossierFilepublic boolean getExists()
getExists in interface DossierFilepublic String getContextKey()
getContextKey in interface DossierFilepublic LocalDateTime lastModified()
lastModified in interface DossierFilepublic Integer getVersionsCount()
getVersionsCount in interface DossierFilepublic List<String> getAllowedMediaTypes()
getAllowedMediaTypes in interface DossierContentspublic DossierFileVersion createNewVersion(String mediaType)
createNewVersion in interface DossierFilepublic DossierFileVersion getVersion(int version)
getVersion in interface DossierFilepublic DossierFileVersion getLatestVersion()
getLatestVersion in interface DossierFilepublic Dossier getParent()
getParent in interface DossierPathpublic void setParent(DossierPath parent)
setParent in interface DossierPathpublic byte[] getContents()
throws IOException
getContents in interface DossierContentsIOExceptionpublic void setContents(byte[] contents)
throws IOException
setContents in interface DossierContentsIOExceptionpublic String getMediaType()
getMediaType in interface DossierContentspublic String getExtension()
getExtension in interface DossierContentsCopyright © 2020. All rights reserved.