Uses of Class
com.almworks.jira.structure.api.error.StructureException
Packages that use StructureException
Package
Description
This package provides Attribute API.
This package features
StructureManager service,
which is used to create structures and change their properties (but not the forest), and
Structure interface, which represents structures.-
Uses of StructureException in com.almworks.jira.structure.api.attribute
Methods in com.almworks.jira.structure.api.attribute that throw StructureExceptionModifier and TypeMethodDescriptionStructureAttributeService.getConsistentAttributeValues(ForestSpec spec, boolean strictSpec, Function<ItemForest, LongList> rowsSupplier, Collection<? extends AttributeSpec<?>> attributes) Performs consistent loading of values for the given rows and attributes.default ConsistentRowValuesStructureAttributeService.getConsistentAttributeValues(ForestSpec spec, Function<ItemForest, LongList> rowsSupplier, Collection<? extends AttributeSpec<?>> attributes) Performs consistent loading of values for the given rows and attributes. -
Uses of StructureException in com.almworks.jira.structure.api.attribute.subscription
Methods in com.almworks.jira.structure.api.attribute.subscription that throw StructureExceptionModifier and TypeMethodDescriptionvoidAttributeSubscriptionService.dropSubscription(Long subscriptionId) Deletes the subscription.AttributeSubscriptionService.getSubscription(Long subscriptionId) Retrieves a previously created subscription. -
Uses of StructureException in com.almworks.jira.structure.api.effect
Methods in com.almworks.jira.structure.api.effect that throw StructureExceptionModifier and TypeMethodDescriptionEffect.apply()Performs the actual changes in the state of the world. -
Uses of StructureException in com.almworks.jira.structure.api.effector.instance
Methods in com.almworks.jira.structure.api.effector.instance that throw StructureExceptionModifier and TypeMethodDescriptionlongEffectorInstanceManager.createEffectorInstance(String moduleKey, Map<String, Object> parameters, Long owningStructure) Creates a new effector instance and returns its ID.voidEffectorInstanceManager.deleteEffectorInstance(long id) Deletes an effector instance with the given ID.EffectorInstanceManager.getEffectorInstance(long id) Returns an effector instance by its ID.voidEffectorInstanceManager.updateEffectorInstance(long id, String moduleKey, Map<String, Object> parameters, Long owningStructure) Updates an effector instance with the given ID. -
Uses of StructureException in com.almworks.jira.structure.api.effector.process
Methods in com.almworks.jira.structure.api.effector.process that throw StructureExceptionModifier and TypeMethodDescriptionvoidEffectorProcessManager.acknowledgeFinished(long processId) Sets the "acknowledged" flag for a finished process, so it is no longer shown in the list of current processes.voidEffectorProcessManager.cancel(long processId) Asks a process to stop.voidEffectorProcessManager.confirm(long processId) Starts applying effects for an existing process with a calculated preview.voidEffectorProcessManager.confirm(long processId, Collection<Integer> effectIndices) Deprecated.voidEffectorProcessManager.deleteCalculated(long processId) Deletes a calculated process so that it is no longer shown in the list of processes.EffectorProcessManager.getEffectRecords(long processId) Retrieves the list of effect records that describe the changes made by the given effector process or the errors that occurred while applying effects.EffectorProcessManager.getProcess(long processId) Retrieves the current state of the process.voidEffectorProcessManager.resumeInterrupted(long processId) Moves an interrupted process back to the apply queue to resume applying previously calculated effects in its preview.longEffectorProcessManager.startProcess(String moduleKey, Map<String, Object> parameters, ForestSpec forestSpec, boolean requiresConfirmation) Starts a one-off effector process.longEffectorProcessManager.startProcess(List<EffectorInstance> effectorInstances, long structureId, boolean requiresConfirmation) Starts a new effector process for installed effector instances.longEffectorProcessManager.startUndoProcess(long processId, Collection<Integer> recordIndexes) Starts a new process which undoes the effects performed by an earlier process.voidEffectorProcessManager.validateStartProcess(String moduleKey, Map<String, Object> parameters, ForestSpec forestSpec) Checks whether an effector process can be started, as if by callingEffectorProcessManager.startProcess(String, Map, ForestSpec, boolean), without actually starting it.voidEffectorProcessManager.validateStartProcess(List<EffectorInstance> effectorInstances, long structureId) Checks whether an effector process can be started, as if by callingEffectorProcessManager.startProcess(List, long, boolean), without actually starting it. -
Uses of StructureException in com.almworks.jira.structure.api.error
Methods in com.almworks.jira.structure.api.error that return StructureExceptionModifier and TypeMethodDescriptiondefault StructureExceptionStructureError.withLocalizedMessage(String messageKey, Object... messageParameters) A shortcut to calling the same method onStructureExceptionbuilder.StructureException.Builder.withLocalizedMessage(I18nText message) StructureException.Builder.withLocalizedMessage(String messageKey, Object... messageParameters) default StructureExceptionStructureError.withMessage(String message) A shortcut to calling the same method onStructureExceptionbuilder.StructureException.Builder.withMessage(String message) default StructureExceptionStructureError.withoutMessage()A shortcut to calling the same method onStructureExceptionbuilder.StructureException.Builder.withoutMessage() -
Uses of StructureException in com.almworks.jira.structure.api.folder
Methods in com.almworks.jira.structure.api.folder that throw StructureExceptionModifier and TypeMethodDescriptionlongFolderManager.createFolder(Folder folder) voidFolderManager.deleteFolder(long id) voidFolderManager.updateFolder(long id, Folder folder) -
Uses of StructureException in com.almworks.jira.structure.api.forest
Methods in com.almworks.jira.structure.api.forest that throw StructureExceptionModifier and TypeMethodDescription<T> TForestSpec.accept(ForestSpec.Visitor<T> visitor) AppliesForestSpec.Visitorto this spec.default ActionResultForestSource.apply(ForestAction action) Convenient method to callForestSource.apply(ForestAction, Map)with an empty parameter map.ForestSource.apply(ForestAction action, Map<String, Object> parameters) Applies a forest action to this source.voidSQuerySkeletonFactory.createSkeleton(String query, ItemForestBuilder itemForestBuilder) ForestService.getForestSource(ForestSpec spec) Creates a forest source based on the forest spec.ForestSpec.Visitor.visitClipboard(ForestSpec clipboardSpec) ForestSpec.Visitor.visitSecured(ForestSpec securedSpec) ForestSpec.Visitor.visitSQuery(ForestSpec querySpec) ForestSpec.Visitor.visitStructure(ForestSpec structureSpec) ForestSpec.Visitor.visitTransformation(ForestSpec transformSpec) -
Uses of StructureException in com.almworks.jira.structure.api.forest.action
Subclasses of StructureException in com.almworks.jira.structure.api.forest.actionMethods in com.almworks.jira.structure.api.forest.action that throw StructureExceptionModifier and TypeMethodDescriptionabstract voidForestAction.accept(ForestAction.Visitor visitor) voidForestAction.Add.accept(ForestAction.Visitor visitor) voidForestAction.Copy.accept(ForestAction.Visitor visitor) voidForestAction.Move.accept(ForestAction.Visitor visitor) voidForestAction.Remove.accept(ForestAction.Visitor visitor) voidForestAction.Visitor.visit(ForestAction.Add add) voidForestAction.Visitor.visit(ForestAction.Copy copy) voidForestAction.Visitor.visit(ForestAction.Move move) voidForestAction.Visitor.visit(ForestAction.Remove remove) -
Uses of StructureException in com.almworks.jira.structure.api.forest.raw
Subclasses of StructureException in com.almworks.jira.structure.api.forest.rawMethods in com.almworks.jira.structure.api.forest.raw that throw StructureExceptionModifier and TypeMethodDescriptionvoidArrayForest.addForestMutuallyExclusive(Forest forest, long under, long after) Adds a forest to this forest.booleanArrayForest.addRow(long row, long under, long after) Adds a single row at the specified position.voidArrayForest.mergeForest(Forest forest, long under, long after) Convenience method to callArrayForest.mergeForest(Forest, long, long, ForestChangeEventHandler)without event handler.voidArrayForest.mergeForest(Forest forest, long under, long after, ForestChangeEventHandler eventHandler) Merges another forest into this forest.booleanArrayForest.moveSubtree(long row, long under, long after) Convenience method to callArrayForest.moveSubtree(long, long, long, ForestChangeEventHandler)without event handler.booleanArrayForest.moveSubtree(long row, long under, long after, ForestChangeEventHandler eventHandler) Moves sub-tree rooted at the specified row to a position specified by(under, after)coordinates.intArrayForest.moveSubtreeAtIndex(int index, long under, long after, ForestChangeEventHandler eventHandler) Moves sub-tree rooted at the specified index to a position specified by(under, after)coordinates. -
Uses of StructureException in com.almworks.jira.structure.api.generator
Method parameters in com.almworks.jira.structure.api.generator with type arguments of type StructureExceptionModifier and TypeMethodDescriptionvoidStructureGenerator.EffectContext.effect(String explanation, RunnableE<? extends StructureException> effect) Methods in com.almworks.jira.structure.api.generator that throw StructureExceptionModifier and TypeMethodDescriptionlongGeneratorManager.createGenerator(String moduleKey, Map<String, Object> parameters, Long owningStructure) longGeneratorManager.createTransientGenerator(String moduleKey, Map<String, Object> parameters) voidGeneratorManager.deleteGenerator(long id) GeneratorManager.getGenerator(long id) voidGeneratorManager.updateGenerator(long id, String moduleKey, Map<String, Object> parameters, Long owningStructure) -
Uses of StructureException in com.almworks.jira.structure.api.item
Methods in com.almworks.jira.structure.api.item that throw StructureExceptionModifier and TypeMethodDescriptionCreatableItemType.createDummyRow(long rowId, long semantics, Map<String, Object> values, ErrorCollection errors) CreatableItemType.createItem(Map<String, Object> values, ErrorCollection errors) StructureOwnedItemType.getOwnedItem(ItemIdentity itemId, long structureId, boolean copyIfSame) Associate an item with a structure, or create a copy of the given item and associate the copy with the structure.voidUpdatableItemType.updateItem(ItemIdentity itemId, Map<String, Object> values, ErrorCollection errors) -
Uses of StructureException in com.almworks.jira.structure.api.item.generic
Methods in com.almworks.jira.structure.api.item.generic that return StructureExceptionMethods in com.almworks.jira.structure.api.item.generic that throw StructureExceptionModifier and TypeMethodDescriptionGenericItemType.createDummyRow(long rowId, long semantics, Map<String, Object> values, ErrorCollection errors) GenericItemManager.createItem(String itemType, GenericItem genericItem) GenericItemType.createItem(Map<String, Object> values, ErrorCollection errors) voidGenericItemManager.deleteItem(ItemIdentity itemId) GenericItemManager.getOwnedItem(ItemIdentity itemId, long structureId, boolean copyIfSame) GenericItemType.getOwnedItem(ItemIdentity itemId, long structureId, boolean copyIfSame) voidGenericItemManager.updateItem(ItemIdentity itemId, GenericItem genericItem) voidGenericItemType.updateItem(ItemIdentity itemId, Map<String, Object> values, ErrorCollection errors) Constructors in com.almworks.jira.structure.api.item.generic with parameters of type StructureExceptionModifierConstructorDescriptionCreateValidationResult(ErrorCollection errors, StructureException exception, String itemType, GenericItem genericItem) DeleteValidationResult(ErrorCollection errors, StructureException exception, ItemIdentity itemId) GenericItemResult(ErrorCollection errors, StructureException exception, ItemIdentity itemId, GenericItem genericItem) UpdateValidationResult(ErrorCollection errors, StructureException exception, ItemIdentity itemId, GenericItem genericItem) -
Uses of StructureException in com.almworks.jira.structure.api.memo
Methods in com.almworks.jira.structure.api.memo that throw StructureException -
Uses of StructureException in com.almworks.jira.structure.api.planningtask
Methods in com.almworks.jira.structure.api.planningtask that throw StructureException -
Uses of StructureException in com.almworks.jira.structure.api.query
Methods in com.almworks.jira.structure.api.query that throw StructureException -
Uses of StructureException in com.almworks.jira.structure.api.structure
Methods in com.almworks.jira.structure.api.structure that throw StructureExceptionModifier and TypeMethodDescriptionStructureManager.copyStructure(Long structureId, ApplicationUser newOwner, boolean copyPermissions) Copies the structure and the forest it contains into a new structure.StructureManager.copyStructureWithoutForest(Long structureId, ApplicationUser newOwner, boolean copyPermissions) Copies the structure into a new structure - only the properties (such as name, description, permissions) are copied, not the forest.voidStructureManager.deleteStructure(Long id) Deletes the specified structure and its content.StructureManager.getStructure(Long structureId, PermissionLevel requiredLevel) Retrieves a structure given structure ID.Structure.saveChanges()Call this method to save the changes made withset...methods and update the database. -
Uses of StructureException in com.almworks.jira.structure.api.structure.history
Methods in com.almworks.jira.structure.api.structure.history that throw StructureException -
Uses of StructureException in com.almworks.jira.structure.api.sync
Methods in com.almworks.jira.structure.api.sync that throw StructureExceptionModifier and TypeMethodDescriptionprotected abstract AbstractSynchronizer.SyncRunAuditEntryAbstractSynchronizer.doResync(SyncInstance instance, ForestSource forestSource) protected abstract AbstractSynchronizer.SyncRunAuditEntryAbstractSynchronizer.doSync(SyncInstance instance, IncrementalSyncData data, ForestSource forestSource) Structure2xBackwardCompatibleSynchronizer.migrateParameters(byte[] params) static <P> PStructure2xBackwardCompatibleSynchronizer.SyncMigrationUtil.restoreStructure2xParameters(byte[] data, Class<P> paramsClazz) voidAbstractSynchronizer.resync(SyncInstance instance, ForestSource forestSource) voidStructureSynchronizer.resync(SyncInstance instance, ForestSource forestSource) Perform full resync.voidAbstractSynchronizer.sync(SyncInstance instance, IncrementalSyncData syncData, ForestSource forestSource) voidStructureSynchronizer.sync(SyncInstance instance, IncrementalSyncData data, ForestSource forestSource) Perform incremental synchronization. -
Uses of StructureException in com.almworks.jira.structure.api.sync.util
Methods in com.almworks.jira.structure.api.sync.util with parameters of type StructureExceptionModifier and TypeMethodDescriptionSyncLogger.warnStructureException(StructureException e) Contains standard error descriptions for common StructureExceptions -
Uses of StructureException in com.almworks.jira.structure.api.view
Methods in com.almworks.jira.structure.api.view that throw StructureExceptionModifier and TypeMethodDescriptionvoidStructureViewManager.deleteView(Long viewId) Deletes a view.StructureViewManager.getAssociatedStructures(Long viewId) Retrieves all structures that are "associated" with the specified view, i.e.StructureViewManager.getView(Long viewId, PermissionLevel requiredLevel) Retrieves a view specified by the numeric view ID and checks if thecurrent userhas the specified access level for that view.StructureViewManager.getViewSettings(Long structureId) Retrieves view settings for the specified structure.voidStructureViewManager.makeDefaultForStructure(Long viewId, Long structureId, StructurePage page) Makes the specified view default for the given structure on the given pageStructureView.saveChanges()Call this method to save the changes made withset...methods and update the database.voidStructureViewManager.setDefaultViewSettings(ViewSettings settings) Updates the global default view settings, which apply to all structure that don't have view settings overridden.voidStructureViewManager.setViewSettings(Long structureId, ViewSettings settings) Updates view settings for the specified structure.