public class DossierFileImpl extends Object implements DossierFile
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowedMultiple |
protected String |
code |
protected boolean |
hidden |
protected String |
name |
protected Dossier |
parent |
protected boolean |
readonly |
protected boolean |
required |
protected Store |
store |
protected Map<String,DossierFileVariation> |
variations |
protected List<DossierFileVersion> |
versions |
| 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 Dossier parent
protected Store store
protected final String code
protected final String name
protected final boolean required
protected final boolean readonly
protected final boolean hidden
protected final boolean allowedMultiple
protected List<DossierFileVersion> versions
protected Map<String,DossierFileVariation> variations
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 © 2021. All rights reserved.