Class GomSiteOrMediaStoreRemoteProjectEntry
java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.access.store.templatestore.gom.GomSiteOrMediaStoreRemoteProjectEntry
- All Implemented Interfaces:
GomCheckable
,GomElement
,GomProjectEntry
,GomRemoteProjectProviding
,GomSingleProjectEntry
,Serializable
@Deprecated(since="5.2.241303")
@NonExtendable
public class GomSiteOrMediaStoreRemoteProjectEntry
extends AbstractGomElement
implements GomSingleProjectEntry, GomCheckable, GomRemoteProjectProviding
Deprecated.
since 5.2.241303 - no replacement
A remote project representation for sitestore- and mediastore-based folder restrictions
- Since:
- 4.2.5
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomCheckable
GomCheckable.Context
-
Field Summary
FieldsFields inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomSingleProjectEntry
LOCAL_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get a constraint representation of this entry.boolean
Deprecated.Convenience API forgetAutoReleaseAfterUpload()
returning a boolean valueboolean
Deprecated.Deprecated.Indicates if an automatic release should be performed after uploading the mediaprotected String
Deprecated.Return the default tag for a gom element.getName()
Deprecated.The name of this entry.@Nullable String
Deprecated.The name of a remote project configuration the uid references points to.Deprecated.Restrict access to specific folders (including sub-folders and store roots)Deprecated.Get the upload folder to be used for this project.int
hashCode()
Deprecated.boolean
isLocal()
Deprecated.Indicates the local project.Deprecated.Creates an instance for the remote project with the given namevoid
setAutoReleaseAfterUpload
(YesNo autoRelease) Deprecated.Indicates if an automatic release should be performed after uploading the mediavoid
Deprecated.Sets the symbolic name of the remote projectvoid
setUploadFolder
(String uploadFolder) Deprecated.Set the upload folder for this project.void
validate
(GomCheckable.Context context) Deprecated.Validate the element against the given context.void
verify()
Deprecated.Verify the element to be fulfill its syntactic constraints.Methods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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.2.5
- See Also:
-
-
Constructor Details
-
GomSiteOrMediaStoreRemoteProjectEntry
public GomSiteOrMediaStoreRemoteProjectEntry()Deprecated.
-
-
Method Details
-
on
Deprecated.Creates an instance for the remote project with the given name- Parameters:
remote
- the name of the remote project- Since:
- 4.2.5
-
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.
-
getName
Deprecated.Description copied from interface:GomSingleProjectEntry
The name of this entry.- Specified by:
getName
in interfaceGomSingleProjectEntry
- Returns:
- The name of the project.
-
setName
Deprecated.Sets the symbolic name of the remote project- Since:
- 4.2.5
-
getRemoteProjectName
Deprecated.Description copied from interface:GomRemoteProjectProviding
The name of a remote project configuration the uid references points to.- Specified by:
getRemoteProjectName
in interfaceGomRemoteProjectProviding
- Returns:
- The associated remote project configuration name, or
null
for the local project.
-
getUploadFolder
Deprecated.Description copied from interface:GomSingleProjectEntry
Get the upload folder to be used for this project.- Specified by:
getUploadFolder
in interfaceGomSingleProjectEntry
- Returns:
- The name of the upload folder.
-
setUploadFolder
Deprecated.Description copied from interface:GomSingleProjectEntry
Set the upload folder for this project.- Specified by:
setUploadFolder
in interfaceGomSingleProjectEntry
- Parameters:
uploadFolder
- The name of the upload folder.
-
getAutoReleaseAfterUpload
Deprecated.Indicates if an automatic release should be performed after uploading the media- Since:
- 4.2.9
-
setAutoReleaseAfterUpload
Deprecated.Indicates if an automatic release should be performed after uploading the media- Since:
- 4.2.9
-
getSources
Deprecated.Restrict access to specific folders (including sub-folders and store roots)- Since:
- 4.2.9
-
asConstraint
Deprecated.Description copied from interface:GomProjectEntry
Get a constraint representation of this entry.- Specified by:
asConstraint
in interfaceGomProjectEntry
- Returns:
- The entry's constraint representation.
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
isLocal
public boolean isLocal()Deprecated.Description copied from interface:GomSingleProjectEntry
Indicates the local project.- Specified by:
isLocal
in interfaceGomSingleProjectEntry
- Returns:
true
iff this entry represents the local project.
-
autoReleaseAfterUpload
public boolean autoReleaseAfterUpload()Deprecated.Convenience API forgetAutoReleaseAfterUpload()
returning a boolean value- Since:
- 4.2.9
-
verify
Deprecated.Description copied from interface:GomCheckable
Verify the element to be fulfill its syntactic constraints.- Specified by:
verify
in interfaceGomCheckable
- Throws:
IllegalStateException
- If the element is not correctly set up.
-
validate
Deprecated.Description copied from interface:GomCheckable
Validate the element against the given context.- Specified by:
validate
in interfaceGomCheckable
- Parameters:
context
- The context to validate for, must not benull
.- Throws:
GomValidationError
- If the element is not plausible wrt. its context.
-