Class GomFile
java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomFormElement
de.espirit.firstspirit.access.store.templatestore.gom.GomFile
- All Implemented Interfaces:
GomCheckable
,GomElement
,GomFormElement
,GomHideable
,GomLangInfoProvider
,GomProjectProvider
,GomSearchRelevancy
,LineBreakable
,Serializable
- Direct Known Subclasses:
GomImageMap
,GomMultipleMediaChooser
,GomPicture
@Deprecated(since="5.0")
public class GomFile
extends AbstractGomFormElement
implements GomProjectProvider
Deprecated.
since 5.0, use FS_REFERENCE instead
GOM element implementing a file.
- Since:
- 2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomCheckable
GomCheckable.Context
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Convenience API forgetAllowFolder()
returning a boolean valueboolean
Deprecated.Convenience API forgetAllowLanguageDependentUpload()
returning a boolean valueboolean
Deprecated.Convenience API forgetUpload()
returning a boolean valueboolean
Deprecated.since 4.2.17 - no replacementDeprecated.Indicates if folders are allowed as selectionDeprecated.Indicates if it is allowed to upload language-dependent mediaDeprecated.since 4.2.17 - no replacementprotected String
Deprecated.Return the default tag for a gom element.Deprecated.since 4.0 - no replacementDeprecated.Projects to be used as sourcesDeprecated.since 4.2.5 - no replacementDeprecated.since 4.2.5 - no replacementDeprecated.since 4.2.5 - no replacementDeprecated.since 4.2 - usegetProjects()
Deprecated.Indicates if it is allowed to upload media.Deprecated.since 4.2.5 - no replacementDeprecated.Get the list of defined constraints.boolean
Deprecated.since 4.2.5 - no replacementvoid
setAllowFolder
(YesNo allowFolder) Deprecated.Sets if folders are allowed as selectionvoid
setAllowLanguageDependentUpload
(YesNo allowLanguageDependentUpload) Deprecated.Sets if it is allowed to upload language-dependent mediavoid
setAutoReleaseRemote
(YesNo autoReleaseRemote) Deprecated.since 4.2.17 - no replacementvoid
setFolders
(String csv) Deprecated.since 4.0 - no replacementvoid
Deprecated.since 4.2.5 - no replacementvoid
setRemoteOnly
(YesNo remoteOnly) Deprecated.since 4.2.5 - no replacementvoid
setRemoteUploadFolder
(String remoteUploadFolder) Deprecated.since 4.2.5 - no replacementvoid
Deprecated.Sets if it is allowed to upload media.void
setUploadFolder
(String uploadFolder) Deprecated.since 4.2.5 - no replacementsources()
Deprecated.Convenience API forgetSources()
returning a list of source names in the same iteration orderMethods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomFormElement
allowsEmpty, breaks, clone, convertEntities, description, fillsHorizontally, getAllowEmpty, getConvertEntities, getDefaultValue, getHFill, getHidden, getLabel, getLangInfos, getName, getNoBreak, getPreset, getSearchRelevancy, getUseLanguages, isHidden, label, name, preset, setAllowEmpty, setConvertEntities, setDefaultValue, setHFill, setHidden, setLabel, setLabelAndDescription, setName, setNoBreak, setPreset, setSearchRelevancy, setUseLanguages, usesLanguages, validate, verify
Methods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
-
Field Details
-
TAG
Deprecated.The tag of this component- Since:
- 4.0
- See Also:
-
-
Constructor Details
-
GomFile
public GomFile()Deprecated.
-
-
Method Details
-
getDefaultTag
Deprecated.Description copied from class:AbstractGomElement
Return the default tag for a gom element.- Specified by:
getDefaultTag
in classAbstractGomElement
- Returns:
- The elements default tag.
-
getUpload
Deprecated.Indicates if it is allowed to upload media.- Since:
- 4.0
-
setUpload
Deprecated.Sets if it is allowed to upload media.- Since:
- 4.0
-
getUploadFolder
Deprecated.since 4.2.5 - no replacementStore folder used for uploads, if upload is allowed- Since:
- 4.0
-
setUploadFolder
Deprecated.since 4.2.5 - no replacementSets the store folder used for uploads, if upload is allowed- Since:
- 4.0
-
getAllowFolder
Deprecated.Indicates if folders are allowed as selection- Since:
- 3.0
-
setAllowFolder
Deprecated.Sets if folders are allowed as selection- Since:
- 3.0
-
getSources
Deprecated.since 4.2 - usegetProjects()
Restrict access to specific folders (including sub-folders)- Since:
- 4.0
-
getAllowLanguageDependentUpload
Deprecated.Indicates if it is allowed to upload language-dependent media- Since:
- 3.1
-
setAllowLanguageDependentUpload
Deprecated.Sets if it is allowed to upload language-dependent media- Since:
- 3.1
-
getRemote
Deprecated.since 4.2.5 - no replacementSymbolic remote project name- Since:
- 3.1
-
setRemote
Deprecated.since 4.2.5 - no replacementSets the remote project name- Since:
- 3.1
-
getRemoteOnly
Deprecated.since 4.2.5 - no replacementIndicates if only the remote project should be shown as valid selection source- Since:
- 3.1
-
setRemoteOnly
Deprecated.since 4.2.5 - no replacementSets if only the remote project should be shown as valid selection source- Since:
- 3.1
-
getRemoteUploadFolder
Deprecated.since 4.2.5 - no replacementFixed folder for upload in the remote project- Since:
- 3.1
-
setRemoteUploadFolder
Deprecated.since 4.2.5 - no replacementSets the fixed folder for upload in the remote project- Since:
- 3.1
-
getAutoReleaseRemote
Deprecated.since 4.2.17 - no replacementIndicates if the release behavior in the remote project is overridden to automatic release- Since:
- 3.1
-
setAutoReleaseRemote
Deprecated.since 4.2.17 - no replacementSets if the release behavior in the remote project is overridden to automatic release- Since:
- 3.1
-
getProjects
Deprecated.Description copied from interface:GomProjectProvider
Projects to be used as sources- Specified by:
getProjects
in interfaceGomProjectProvider
-
allowsFolder
public boolean allowsFolder()Deprecated.Convenience API forgetAllowFolder()
returning a boolean value- Since:
- 3.0
-
allowsUpload
public boolean allowsUpload()Deprecated.Convenience API forgetUpload()
returning a boolean value- Since:
- 3.0
-
allowsLanguageDependentUpload
public boolean allowsLanguageDependentUpload()Deprecated.Convenience API forgetAllowLanguageDependentUpload()
returning a boolean value- Since:
- 3.1
-
sources
Deprecated.Convenience API forgetSources()
returning a list of source names in the same iteration order- Since:
- 4.0
-
remoteOnly
Deprecated.since 4.2.5 - no replacementConvenience API forgetRemoteOnly()
returning a boolean value- Since:
- 3.1
-
autoReleaseRemote
Deprecated.since 4.2.17 - no replacementConvenience API forgetAutoReleaseRemote()
returning a boolean value- Since:
- 3.1
-
projectConstraints
Deprecated.Description copied from interface:GomProjectProvider
Get the list of defined constraints.- Specified by:
projectConstraints
in interfaceGomProjectProvider
- Returns:
- The list of project constraints.
-
getFolders
Deprecated.since 4.0 - no replacementFolder-restriction from comma-separated list- Since:
- 2.0
-
setFolders
Deprecated.since 4.0 - no replacementParse folder-restrictions from CSV- Since:
- 2.0
-