Modifier and Type | Method and Description |
---|---|
ConsistentRowValues |
StructureAttributeService.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 ConsistentRowValues |
StructureAttributeService.getConsistentAttributeValues(ForestSpec spec,
Function<ItemForest,LongList> rowsSupplier,
Collection<? extends AttributeSpec<?>> attributes)
Performs consistent loading of values for the given rows and attributes.
|
Modifier and Type | Method and Description |
---|---|
void |
AttributeSubscriptionService.dropSubscription(Long subscriptionId)
Deletes the subscription.
|
AttributeSubscription |
AttributeSubscriptionService.getSubscription(Long subscriptionId)
Retrieves a previously created subscription.
|
Modifier and Type | Method and Description |
---|---|
StoredEffect |
Effect.apply()
Performs the actual changes in the state of the world.
|
Modifier and Type | Method and Description |
---|---|
long |
EffectorInstanceManager.createEffectorInstance(String moduleKey,
Map<String,Object> parameters,
Long owningStructure)
Creates a new effector instance and returns its ID.
|
void |
EffectorInstanceManager.deleteEffectorInstance(long id)
Deletes an effector instance with the given ID.
|
EffectorInstance |
EffectorInstanceManager.getEffectorInstance(long id)
Returns an effector instance by its ID.
|
void |
EffectorInstanceManager.updateEffectorInstance(long id,
String moduleKey,
Map<String,Object> parameters,
Long owningStructure)
Updates an effector instance with the given ID.
|
Modifier and Type | Method and Description |
---|---|
void |
EffectorProcessManager.acknowledgeFinished(long processId)
Sets the "acknowledged" flag for a finished process, so it is no longer
shown in the list of current processes.
|
void |
EffectorProcessManager.cancel(long processId)
Asks a process to stop.
|
void |
EffectorProcessManager.confirm(long processId)
Starts applying effects for an existing process with a calculated
preview.
|
void |
EffectorProcessManager.confirm(long processId,
Collection<Integer> effectIndices)
Deprecated.
|
void |
EffectorProcessManager.deleteCalculated(long processId)
Deletes a calculated process so that it is no longer shown in the list
of processes.
|
List<EffectRecord> |
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.
|
EffectorProcess |
EffectorProcessManager.getProcess(long processId)
Retrieves the current state of the process.
|
void |
EffectorProcessManager.resumeInterrupted(long processId)
Moves an interrupted process back to the apply queue to resume applying
previously calculated effects in its preview.
|
long |
EffectorProcessManager.startProcess(List<EffectorInstance> effectorInstances,
long structureId,
boolean requiresConfirmation)
Starts a new effector process for installed effector instances.
|
long |
EffectorProcessManager.startProcess(String moduleKey,
Map<String,Object> parameters,
ForestSpec forestSpec,
boolean requiresConfirmation)
Starts a one-off effector process.
|
long |
EffectorProcessManager.startUndoProcess(long processId,
Collection<Integer> recordIndexes)
Starts a new process which undoes the effects performed by an earlier
process.
|
void |
EffectorProcessManager.validateStartProcess(List<EffectorInstance> effectorInstances,
long structureId)
Checks whether an effector process can be started, as if by calling
EffectorProcessManager.startProcess(List, long, boolean) , without actually starting it. |
void |
EffectorProcessManager.validateStartProcess(String moduleKey,
Map<String,Object> parameters,
ForestSpec forestSpec)
Checks whether an effector process can be started, as if by calling
EffectorProcessManager.startProcess(String, Map, ForestSpec, boolean) , without actually starting it. |
Modifier and Type | Method and Description |
---|---|
StructureException |
StructureException.Builder.withLocalizedMessage(I18nText message) |
StructureException |
StructureException.Builder.withLocalizedMessage(String messageKey,
Object... messageParameters) |
default StructureException |
StructureError.withLocalizedMessage(String messageKey,
Object... messageParameters)
A shortcut to calling the same method on
StructureException builder. |
StructureException |
StructureException.Builder.withMessage(String message) |
default StructureException |
StructureError.withMessage(String message)
A shortcut to calling the same method on
StructureException builder. |
StructureException |
StructureException.Builder.withoutMessage() |
default StructureException |
StructureError.withoutMessage()
A shortcut to calling the same method on
StructureException builder. |
Modifier and Type | Method and Description |
---|---|
long |
FolderManager.createFolder(Folder folder) |
void |
FolderManager.deleteFolder(long id) |
void |
FolderManager.updateFolder(long id,
Folder folder) |
Modifier and Type | Method and Description |
---|---|
<T> T |
ForestSpec.accept(ForestSpec.Visitor<T> visitor)
Applies
ForestSpec.Visitor to this spec. |
default ActionResult |
ForestSource.apply(ForestAction action)
Convenient method to call
ForestSource.apply(ForestAction, Map) with an empty parameter map. |
ActionResult |
ForestSource.apply(ForestAction action,
Map<String,Object> parameters)
Applies a forest action to this source.
|
void |
SQuerySkeletonFactory.createSkeleton(String query,
ItemForestBuilder itemForestBuilder) |
ForestSource |
ForestService.getForestSource(ForestSpec spec)
Creates a forest source based on the forest spec.
|
T |
ForestSpec.Visitor.visitClipboard(ForestSpec clipboardSpec) |
T |
ForestSpec.Visitor.visitSecured(ForestSpec securedSpec) |
T |
ForestSpec.Visitor.visitSQuery(ForestSpec querySpec) |
T |
ForestSpec.Visitor.visitStructure(ForestSpec structureSpec) |
T |
ForestSpec.Visitor.visitTransformation(ForestSpec transformSpec) |
Modifier and Type | Class and Description |
---|---|
class |
StructureInteractionException |
Modifier and Type | Method and Description |
---|---|
abstract void |
ForestAction.accept(ForestAction.Visitor visitor) |
void |
ForestAction.Remove.accept(ForestAction.Visitor visitor) |
void |
ForestAction.Move.accept(ForestAction.Visitor visitor) |
void |
ForestAction.Add.accept(ForestAction.Visitor visitor) |
void |
ForestAction.Copy.accept(ForestAction.Visitor visitor) |
void |
ForestAction.Visitor.visit(ForestAction.Add add) |
void |
ForestAction.Visitor.visit(ForestAction.Copy copy) |
void |
ForestAction.Visitor.visit(ForestAction.Move move) |
void |
ForestAction.Visitor.visit(ForestAction.Remove remove) |
Modifier and Type | Class and Description |
---|---|
class |
ForestMergeStructureException |
Modifier and Type | Method and Description |
---|---|
void |
ArrayForest.addForestMutuallyExclusive(Forest forest,
long under,
long after)
Adds a forest to this forest.
|
boolean |
ArrayForest.addRow(long row,
long under,
long after)
Adds a single row at the specified position.
|
void |
ArrayForest.mergeForest(Forest forest,
long under,
long after)
Convenience method to call
ArrayForest.mergeForest(Forest, long, long, ForestChangeEventHandler) without event handler. |
void |
ArrayForest.mergeForest(Forest forest,
long under,
long after,
ForestChangeEventHandler eventHandler)
Merges another forest into this forest.
|
boolean |
ArrayForest.moveSubtree(long row,
long under,
long after)
Convenience method to call
ArrayForest.moveSubtree(long, long, long, ForestChangeEventHandler) without event handler. |
boolean |
ArrayForest.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. |
int |
ArrayForest.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. |
Modifier and Type | Method and Description |
---|---|
void |
StructureGenerator.EffectContext.effect(String explanation,
RunnableE<? extends StructureException> effect) |
Modifier and Type | Method and Description |
---|---|
long |
GeneratorManager.createGenerator(String moduleKey,
Map<String,Object> parameters,
Long owningStructure) |
long |
GeneratorManager.createTransientGenerator(String moduleKey,
Map<String,Object> parameters) |
void |
GeneratorManager.deleteGenerator(long id) |
GeneratorSpec |
GeneratorManager.getGenerator(long id) |
void |
GeneratorManager.updateGenerator(long id,
String moduleKey,
Map<String,Object> parameters,
Long owningStructure) |
Modifier and Type | Method and Description |
---|---|
StructureRow |
CreatableItemType.createDummyRow(long rowId,
long semantics,
Map<String,Object> values,
ErrorCollection errors) |
ItemIdentity |
CreatableItemType.createItem(Map<String,Object> values,
ErrorCollection errors) |
ItemIdentity |
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.
|
void |
UpdatableItemType.updateItem(ItemIdentity itemId,
Map<String,Object> values,
ErrorCollection errors) |
Modifier and Type | Method and Description |
---|---|
StructureException |
GenericItemService.ExceptionSupportResult.getException() |
Modifier and Type | Method and Description |
---|---|
StructureRow |
GenericItemType.createDummyRow(long rowId,
long semantics,
Map<String,Object> values,
ErrorCollection errors) |
ItemIdentity |
GenericItemType.createItem(Map<String,Object> values,
ErrorCollection errors) |
ItemIdentity |
GenericItemManager.createItem(String itemType,
GenericItem genericItem) |
void |
GenericItemManager.deleteItem(ItemIdentity itemId) |
ItemIdentity |
GenericItemManager.getOwnedItem(ItemIdentity itemId,
long structureId,
boolean copyIfSame) |
ItemIdentity |
GenericItemType.getOwnedItem(ItemIdentity itemId,
long structureId,
boolean copyIfSame) |
void |
GenericItemManager.updateItem(ItemIdentity itemId,
GenericItem genericItem) |
void |
GenericItemType.updateItem(ItemIdentity itemId,
Map<String,Object> values,
ErrorCollection errors) |
Constructor and Description |
---|
CreateValidationResult(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) |
Modifier and Type | Method and Description |
---|---|
void |
MemoUpdateBuilder.update() |
Modifier and Type | Method and Description |
---|---|
void |
PlanningTaskUpdateBuilder.update() |
Modifier and Type | Method and Description |
---|---|
StructureQuery |
StructureQueryParser.parse(String query)
Parses
query and returns the corresponding StructureQuery . |
Modifier and Type | Method and Description |
---|---|
Structure |
StructureManager.copyStructure(Long structureId,
ApplicationUser newOwner,
boolean copyPermissions)
Copies the structure and the forest it contains into a new structure.
|
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.
|
void |
StructureManager.deleteStructure(Long id)
Deletes the specified structure and its content.
|
Structure |
StructureManager.getStructure(Long structureId,
PermissionLevel requiredLevel)
Retrieves a structure given structure ID.
|
Structure |
Structure.saveChanges()
Call this method to save the changes made with
set... methods and update the database. |
Modifier and Type | Method and Description |
---|---|
ForestVersion |
HistoryService.getForestVersion(long structureId,
int version) |
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractSynchronizer.SyncRunAuditEntry |
AbstractSynchronizer.doResync(SyncInstance instance,
ForestSource forestSource) |
protected abstract AbstractSynchronizer.SyncRunAuditEntry |
AbstractSynchronizer.doSync(SyncInstance instance,
IncrementalSyncData data,
ForestSource forestSource) |
Map<String,Object> |
Structure2xBackwardCompatibleSynchronizer.migrateParameters(byte[] params) |
static <P> P |
Structure2xBackwardCompatibleSynchronizer.SyncMigrationUtil.restoreStructure2xParameters(byte[] data,
Class<P> paramsClazz) |
void |
StructureSynchronizer.resync(SyncInstance instance,
ForestSource forestSource)
Perform full resync.
|
void |
AbstractSynchronizer.resync(SyncInstance instance,
ForestSource forestSource) |
void |
StructureSynchronizer.sync(SyncInstance instance,
IncrementalSyncData data,
ForestSource forestSource)
Perform incremental synchronization.
|
void |
AbstractSynchronizer.sync(SyncInstance instance,
IncrementalSyncData syncData,
ForestSource forestSource) |
Modifier and Type | Method and Description |
---|---|
String |
SyncLogger.warnStructureException(StructureException e)
Contains standard error descriptions for common StructureExceptions
|
Modifier and Type | Method and Description |
---|---|
void |
StructureViewManager.deleteView(Long viewId)
Deletes a view.
|
List<Structure> |
StructureViewManager.getAssociatedStructures(Long viewId)
Retrieves all structures that are "associated" with the specified view, i.e.
|
StructureView |
StructureViewManager.getView(Long viewId,
PermissionLevel requiredLevel)
Retrieves a view specified by the numeric view ID and checks if
the
current user has the specified access level for that view. |
ViewSettings |
StructureViewManager.getViewSettings(Long structureId)
Retrieves view settings for the specified structure.
|
void |
StructureViewManager.makeDefaultForStructure(Long viewId,
Long structureId,
StructurePage page)
Makes the specified view default for the given structure on the given page
|
StructureView |
StructureView.saveChanges()
Call this method to save the changes made with
set... methods and update the database. |
void |
StructureViewManager.setDefaultViewSettings(ViewSettings settings)
Updates the global default view settings, which apply to all structure that don't have
view settings overridden.
|
void |
StructureViewManager.setViewSettings(Long structureId,
ViewSettings settings)
Updates view settings for the specified structure.
|
Copyright © 2024 Tempo Software. All Rights Reserved.