Uses of Class
de.espirit.firstspirit.access.store.LockException
Package
Description
-
Uses of LockException in de.espirit.firstspirit.access
Modifier and TypeMethodDescriptionvoid
Workflowable.delete()
Deletes this Workflowable.Task.doTransition
(@NotNull WorkflowContext context, @NotNull Transition transition) Perform transition execution on this task.void
Lockable.lock()
Locks this object. -
Uses of LockException in de.espirit.firstspirit.access.store
Modifier and TypeMethodDescriptionvoid
PackagePoolItem.addToPackage
(Package pck) Adds this node, all children andreferenced nodes
which arePackagePoolItem
s to the specified package.void
StoreElement.delete()
Deletes this storeelement.void
IDProvider.moveChild
(IDProvider child) Insert child at last position.void
IDProvider.moveChild
(IDProvider child, int nextSiblingIndex) Insert child at index position.void
PackagePoolItem.removeFromPackage
(Package pck) Removes this node, all children andnodes referencing this nodes
which arePackagePoolItems's
from the specified package.
This node needn't to belocked
when calling this method.Store.restore
(ElementInfo elementInfo, @Nullable IDProvider parent) Restore the element defined by the given information.void
IDProvider.revert
(@NotNull Revision revision, boolean recursive, @NotNull EnumSet<IDProvider.RevertType> ignoreRevertTypes) Reverts this store element to the given FSRevision.void
StoreElement.setLock
(boolean lock) Lock or unlock this element and all children.void
StoreElement.setLock
(boolean lock, boolean recursive) Lock or unlock this element, ifrecursive == true
all children are also (un)locked. -
Uses of LockException in de.espirit.firstspirit.access.store.contentstore
Modifier and TypeMethodDescriptionContentFolder.addContent
(TableTemplate table, String name) Creates and returns a content2 node based on the given template.ContentFolder.createContent
(TableTemplate tableTemplate, String uidSuggestion, @Nullable Map<Language, String> language2displayNameMapping, boolean unifyUidOnServer) Creates a new content node in this folder.ContentFolder.createContentFolder
(String uidSuggestion) ContentFolder.createContentFolder
(String uidSuggestion, boolean unifyUid) Create a new ContentFolder as child of this folder.ContentFolder.createContentFolder
(String uidSuggestion, @Nullable Map<Language, String> lang2DisplayName, boolean unifyUid) Create a new ContentFolder as child of this folder.void
Deprecated.void
Deprecated.since 5.2.201 - useDataset#setLock(true)
instead.void
Deprecated.since 5.2.201 - useIDProvider.release()
instead.void
Deprecated.since 5.2.201 - useIDProvider.release()
instead.void
Deprecated.since 5.2.201 - useDataset#setLock(false)
instead. -
Uses of LockException in de.espirit.firstspirit.access.store.globalstore
Modifier and TypeMethodDescriptionGCAFolder.createGCAFolder
(String uidSuggestion) Create a new GCA-folder as a subfolder of this folder.GCAFolder.createGCAFolder
(String uidSuggestion, boolean unifyUid) Create a new GCA-folder as a subfolder of this folder.GCAFolder.createGCAFolder
(String uid, Map<Language, String> lang2DisplayName, boolean unifyUid) Create a new GCAFolder as a subfolder of this folder.GCAFolder.createGCAPage
(String uidSuggestion, Template pageTemplate) Create a new Page in the current GCA-folder based on the givenPageTemplate
GCAFolder.createGCAPage
(String uidSuggestion, Template pageTemplate, boolean unifyUid) Create a new Page in the current GCA-Folder based on the givenPageTemplate
GCAFolder.createGCAPage
(String uidSuggestion, Template pageTemplate, boolean unifyUid, Map<Language, String> lang2DisplayName) Create a new Page in the current GCA-Folder based on the givenPageTemplate
GCABody.createSection
(String name, Template template) Create a new GCASection for this body with given name and Section-Templatevoid
Set the name of the GCA-folder -
Uses of LockException in de.espirit.firstspirit.access.store.mediastore
Modifier and TypeMethodDescriptionMediaFolder.createMedia
(String uidSuggestion, String filename, int type, boolean languageDependent) Create a new media in the current MediaStore-folderMediaFolder.createMedia
(String uidSuggestion, String filename, int type, boolean languageDependent, boolean unifyIdentifierOnServer) Create a new media in thismediafolder
MediaFolder.createMedia
(String uidSuggestion, String filename, int type, boolean languageDependent, Map<Language, String> lang2DisplayName, boolean unifyIdentifierOnServer) Create a new media in thismediafolder
MediaFolder.createMediaFolder
(String uid) Create a new MediaStore-folder in the MediaStore and unifies the uid if necessary.MediaFolder.createMediaFolder
(String uid, boolean unifyIdentifierOnServer) Create a new MediaFolder as child of this media folder.MediaFolder.createMediaFolder
(String uid, Map<Language, String> lang2DisplayName, boolean unifyIdentifierOnServer) Create a new MediaFolder as child of this media folder.
The given uid is used as suggestion. -
Uses of LockException in de.espirit.firstspirit.access.store.pagestore
Modifier and TypeMethodDescriptionPageFolder.createPage
(String name, Template pageTemplate) Create a new Page in the current PageStore-folder based on the given PageTemplate.PageFolder.createPage
(String uid, Template pageTemplate, boolean ensureUnique) Create a new page in this folder with the given uid and template.PageFolder.createPage
(String uid, Template pageTemplate, boolean ensureUnique, Map<Language, String> lang2DisplayName) Create a new page in this folder with the given uid and template.PageFolder.createPageFolder
(String name) Create a new PageStore-folder as a subfolder of the current.PageFolder.createPageFolder
(String uid, boolean ensureUnique) Create a new PageFolder as child of this folder.PageFolder.createPageFolder
(String uid, Map<Language, String> lang2DisplayName, boolean ensureUnique) Create a new PageFolder as child of this folder.Body.createSection
(String name, Template template) Create a new section with the given name and template.Body.createSectionReference
(String name, Section sourceSection) Creates a section reference based on the given source section as new child of this body.void
Body.setHidden
(boolean hidden) Set the state of the body: hide/showvoid
Set the name of a body -
Uses of LockException in de.espirit.firstspirit.access.store.sitestore
Modifier and TypeMethodDescriptionSiteStoreFolder.createDocumentGroup
(String uid, boolean unifyNameOnServer) Creates a new document group in this folder.SiteStoreFolder.createPageRef
(String uid, Page page) Create a new page reference entry.SiteStoreFolder.createPageRef
(String uid, Page page, boolean unifyNameOnServer) Creates a new page reference in this folder.SiteStoreFolder.createPageRef
(String uid, Page page, Map<Language, String> lang2DisplayName, boolean unifyNameOnServer) Creates a new page reference in this folder.
The given uid is used as suggestion.SiteStoreFolder.createPageRefFolder
(String uid) Create a new SiteStore-folder in this folder.SiteStoreFolder.createPageRefFolder
(String uid, boolean unifyNameOnServer) Create a new PageRefFolder as child of this folder.SiteStoreFolder.createPageRefFolder
(String uid, Map<Language, String> lang2DisplayName, boolean unifyNameOnServer) Create a new PageRefFolder as child of this folder.@NotNull PageRefFolder
SiteStoreFolder.createPageRefFolder
(String uid, Map<Language, String> lang2DisplayName, boolean unifyNameOnServer, IDProvider nextSibling) Create a new PageRefFolder as child of this folder and place it before the given next sibling.void
Set the name of the page-group -
Uses of LockException in de.espirit.firstspirit.access.store.templatestore
Modifier and TypeClassDescriptionclass
This exception will be thrown if an operation on anelement
failed because the element is write locked by a workflow instance.Modifier and TypeMethodDescriptionCreates and adds a query based on this schema's definition to the store.Schema.addTableTemplate
(EntityType table, String uidSuggestion) Creates and adds a table template based on this schema's definition to the store.FormatTemplateContainer.createFormatTemplate
(String uid, Map<Language, String> lang2DisplayName, boolean unifyUid) Creates a new FormatTemplate as child of this FormatTemplateContainerFormatTemplateFolder.createFormatTemplate
(String name) Factory for a format template having the given name.FormatTemplates.createFormatTemplate
(String name) Create a new FormatTemplateFormatTemplateContainer.createFormatTemplateFolder
(String name, Map<Language, String> lang2DisplayName) Creates a newFormatTemplateFolder
with the given name as child of this FormatTemplateContainer.FormatTemplateFolder.createFormatTemplateFolder
(String name) Factory to create a subfolder with the given name.FormatTemplates.createFormatTemplateFolder
(String name) Create a new format template folder with the given name.Schema.createQuery
(String uidSuggestion, boolean unifyUidOnServer) Creates a new query under this schema with the given uidSuggestioni.SchemaContainer.createSchema
(String name, String layer) SchemaContainer.createSchema
(String name, String layer, boolean unifyName) Factory for a new schema.SchemaContainer.createSchemaFolder
(String name) Same ascreateSchemaFolder(name, null)
.SchemaContainer.createSchemaFolder
(String name, Map<Language, String> lang2DisplayName) Creates a newSchemaFolder
with the given name and displaynames as child of this SchemaContainer.ScriptContainer.createScript
(String uid, @Nullable Map<Language, String> lang2DisplayName, boolean unifyUid) Creates a new Script as child of this ScriptContainerScriptContainer.createScript
(String name, String description) CallsScriptContainer.createScript(String, java.util.Map, boolean)
and uses the given description as displayname for the defaulteditorial language
.ScriptContainer.createScriptFolder
(String name) ScriptContainer.createScriptFolder
(String name, @Nullable Map<Language, String> lang2DisplayName) Creates aScriptFolder
with the given name and displaynames as a child of this ScriptContainer.FormatTemplateContainer.createStyleTemplate
(String uid, boolean unifyNameOnServer, @Nullable Map<Language, String> lang2DisplayName) Factory for aStyleTemplate
based on a uid.FormatTemplateContainer.createTableFormatTemplate
(String uid, boolean unifyNameOnServer, @Nullable Map<Language, String> lang2DisplayName) Factory for aTableFormatTemplate
based on a uid.Schema.createTableTemplate
(EntityType entityType, String uidSuggestion, boolean unifyUidOnServer) Creates a table template under this schema for the given entity type.LinkTemplates.createTemplate
(@NotNull String uid) Create a new template in this folder.LinkTemplates.createTemplate
(@NotNull String uid, boolean unifyNamesOnServer) Create a new template in this folder.LinkTemplates.createTemplate
(@NotNull String uid, @Nullable Map<Language, String> lang2DisplayName, boolean unifyNamesOnServer) Create a new template in this folder.PageTemplates.createTemplate
(@NotNull String uid) Create a new template in this folder.PageTemplates.createTemplate
(@NotNull String uid, boolean unifyNamesOnServer) Create a new template in this folder.PageTemplates.createTemplate
(@NotNull String uid, @Nullable Map<Language, String> lang2DisplayName, boolean unifyNamesOnServer) Create a new template in this folder.SectionTemplates.createTemplate
(@NotNull String uid) Create a new template in this folder.SectionTemplates.createTemplate
(@NotNull String uid, boolean unifyNamesOnServer) Create a new template in this folder.SectionTemplates.createTemplate
(@NotNull String uid, @Nullable Map<Language, String> lang2DisplayName, boolean unifyNamesOnServer) Create a new template in this folder.TemplateContainer.createTemplate
(@NotNull String uid) Create a new template in this folder.TemplateContainer.createTemplate
(@NotNull String uid, boolean unifyNamesOnServer) Create a new template in this folder.TemplateContainer.createTemplate
(@NotNull String uid, @Nullable Map<Language, String> lang2DisplayName, boolean unifyNamesOnServer) Create a new template in this folder.LinkTemplates.createTemplateFolder
(@NotNull String name) Create a new sub-folder in this folderLinkTemplates.createTemplateFolder
(@NotNull String name, @Nullable Map<Language, String> lang2DisplayName) Create a new sub-folder in this folderPageTemplates.createTemplateFolder
(@NotNull String name) Create a new sub-folder in this folderPageTemplates.createTemplateFolder
(@NotNull String name, @Nullable Map<Language, String> lang2DisplayName) Create a new sub-folder in this folderSectionTemplates.createTemplateFolder
(@NotNull String name) Create a new sub-folder in this folderSectionTemplates.createTemplateFolder
(@NotNull String name, @Nullable Map<Language, String> lang2DisplayName) Create a new sub-folder in this folderTemplateContainer.createTemplateFolder
(@NotNull String name) Create a new sub-folder in this folderTemplateContainer.createTemplateFolder
(@NotNull String name, @Nullable Map<Language, String> lang2DisplayName) Create a new sub-folder in this folderWorkflowContainer.createWorkflow
(String uid, String description) Creates a new workflow with the given uid and description as child of this workflow container.WorkflowContainer.createWorkflow
(String name, String description, boolean unify) Creates a new workflow with the given uid and description as child of this workflow container.WorkflowContainer.createWorkflowFolder
(String name) Creates a new workflow folder with the given name as child of this workflow container.WorkflowContainer.createWorkflowFolder
(String name, @Nullable Map<Language, String> lang2DisplayName) Creates a newWorkflowFolder
with the given name and displaynames as child of this workflow container. -
Uses of LockException in de.espirit.firstspirit.agency
Modifier and TypeMethodDescriptionvoid
SearchIndexAgent.resetPathLengthToFollow()
Resets the project specific override forindexing.relationshipPathLengthToFollow
.void
MPPViewportAgent.set
(@NotNull MPPViewports viewports) Takes the givenconfiguration
and writes it back the the current project.void
SearchIndexAgent.setPathLengthToFollow
(int pathLengthToFollow) Sets the project specific value to override the server wide setting ofindexing.relationshipPathLengthToFollow
. -
Uses of LockException in de.espirit.firstspirit.common
Modifier and TypeMethodDescription@NotNull Session
GidAgent.migrateSchema
(@NotNull Schema schema) Migrates the given schema to supportfs_gid's
if necessary.
Attention:
Ensure to use the returnedor session
to request entities which should be passed to theadaptGid()
methods (GidAgent.adaptGid(Schema,List,boolean)
&GidAgent.adaptGid(Schema,Map,boolean)
) -
Uses of LockException in de.espirit.firstspirit.store.access.nexport.operations
Modifier and TypeMethodDescriptionImportOperation.perform
(@NotNull FileSystem<?> fileSystem) Perform the import on the givenfile system
. -
Uses of LockException in de.espirit.firstspirit.workflow
Modifier and TypeMethodDescriptionWorkflowAgent.process
(@NotNull Task task, @NotNull Transition transition) Processes the nextactivity
of the given task specified by given transition, wherefore given transitionmust be one of the outgoing transitions of the currenttask state
(task
.@NotNull WorkflowAgent.WorkflowProcessContext
WorkflowAgent.startWorkflow
(@NotNull Workflow workflow, @Nullable IDProvider element) Starts a new workflow process which context is based on the given element (mode isTask.Mode.ENTITY
, if given element is aDataset
, otherwiseTask.Mode.STORE_ELEMENT
).
StoreElement.delete()
instead.