Name |
Description |
|
constructor(arg?: ViewStore.ViewDbCtorArgs): ViewStore.ViewDb |
|
|
addCategorySelector(args: { name?: string, owner?: string, selector: ViewStoreRpc.SelectorProps }): Promise<string> |
Add a category selector to a ViewStore. |
|
addDisplayStyle(args: { className: string, name?: string, owner?: string, settings: DisplayStyleSettingsProps }): Promise<string> |
Add a display style to a ViewStore. |
|
addModelSelector(args: { name?: string, owner?: string, selector: ViewStoreRpc.SelectorProps }): Promise<string> |
Add a model selector to a ViewStore. |
|
addOrReplaceThumbnail(args: { owner?: string, thumbnail: ThumbnailProps, viewId: RowIdOrString }): Promise<void> |
Add a thumbnail for a view. |
|
addTagsToView(args: { owner?: string, tags: string[], viewId: RowIdOrString }): Promise<void> |
Add tags to a view. |
|
addTimeline(args: { name?: string, owner?: string, timeline: RenderSchedule.ScriptProps }): Promise<string> |
Add a render timeline to a ViewStore. |
|
addView(args: ViewStoreRpc.AddViewArgs): Promise<string> |
Add a view to a ViewStore. |
|
addViewGroup(args: { name: string, owner?: string, parentId?: string }): Promise<string> |
Add a view group to a ViewStore. |
|
changeDefaultViewId(args: { defaultView: RowIdOrString, group?: string }): Promise<void> |
Change the default view for a view group. |
|
createDDL(): void Protected |
create all the tables for a new ViewDb |
|
deleteCategorySelector(args: { id: RowIdOrString }): Promise<void> |
Delete a category selector from a ViewStore. |
|
deleteCategorySelectorSync(id: RowIdOrString): void |
|
|
deleteDisplayStyle(args: { id: RowIdOrString }): Promise<void> |
Delete a display style from a ViewStore. |
|
deleteDisplayStyleSync(id: RowIdOrString): void |
|
|
deleteModelSelector(args: { id: RowIdOrString }): Promise<void> |
Delete a model selector from a ViewStore. |
|
deleteModelSelectorSync(id: RowIdOrString): void |
|
|
deleteSearch(id: number): void |
|
|
deleteTag(arg: { name: string }): Promise<void> |
Delete a tag. |
|
deleteTagSync(arg: { name: string }): void |
|
|
deleteThumbnail(arg: { viewId: string }): Promise<void> |
Delete the thumbnail for a view. |
|
deleteThumbnailSync(id: string): void |
|
|
deleteTimeline(args: { id: RowIdOrString }): Promise<void> |
Delete a render timeline from a ViewStore. |
|
deleteTimelineSync(id: RowIdOrString): void |
|
|
deleteView(arg: { viewId: RowIdOrString }): Promise<void> |
Delete a view from a ViewStore. |
|
deleteViewGroup(args: { name: string }): Promise<void> |
Delete a view group from a ViewStore. |
|
findViewGroup(groupName: string): number |
find a group with the specified name using path syntax (e.g., "group1/design/issues"). |
|
findViewsByOwner(args: { owner: string }): Promise<ViewStoreRpc.ViewInfo[]> |
Find all views owned by the supplied owner name. |
|
getCategorySelector(args: ViewStoreRpc.NameOrId & ViewStoreRpc.QueryBindings): Promise<CategorySelectorProps> |
Get a category selector by Id. |
|
getDisplayStyle(args: ViewStoreRpc.NameOrId & { opts?: DisplayStyleLoadProps }): Promise<DisplayStyleProps> |
Get a display style by Id. |
|
getDisplayStyleSync(args: ViewStoreRpc.NameOrId & { opts?: DisplayStyleLoadProps }): DisplayStyleProps |
|
|
getModelSelector(args: ViewStoreRpc.NameOrId & ViewStoreRpc.QueryBindings): Promise<ModelSelectorProps> |
Get a model selector by Id. |
|
getModelSelectorSync(args: ViewStoreRpc.NameOrId & ViewStoreRpc.QueryBindings): ModelSelectorProps |
|
|
getTagsForView(viewId: RowIdOrString): undefined | string[] |
get the array of tags for the specified view. |
|
getThumbnail(args: { viewId: RowIdOrString }): Promise<undefined | ThumbnailProps> |
Get a thumbnail for a view. |
|
getThumbnailSync(args: { viewId: RowIdOrString }): undefined | ThumbnailProps |
|
|
getTimeline(args: ViewStoreRpc.NameOrId): Promise<RenderTimelineProps> |
Get a render timeline by Id. |
|
getTimelineSync(args: ViewStoreRpc.NameOrId): RenderTimelineProps |
|
|
getViewByName(arg: { groupId?: RowIdOrString, name: string }): Promise<undefined | ViewStoreRpc.ViewInfo> |
Get a view by name. |
|
getViewByNameSync(arg: { groupId?: RowIdOrString, name: string }): undefined | ViewStoreRpc.ViewInfo |
|
|
getViewDefinition(args: { viewId: RowIdOrString }): Promise<ViewDefinitionProps> |
Get a view definition by viewId. |
|
getViewDefinitionSync(args: { viewId: RowIdOrString }): ViewDefinitionProps |
|
|
getViewGroupInfo(args: { groupId?: string }): Promise<undefined | ViewStoreRpc.ViewGroupInfo> |
get the properties of a ViewGroup by id. |
|
getViewGroups(args: { parent?: string }): Promise<{ id: string, name: string }[]> |
Get a list of ViewGroups that are children of the supplied parent. |
|
getViewInfo(args: { viewId: RowIdOrString }): Promise<undefined | ViewStoreRpc.ViewInfo> |
Get the ViewInfo for a view by Id. |
|
queryViews(queryParams: ViewStoreRpc.QueryParams): Promise<ViewStoreRpc.ViewInfo[]> |
Query for a list of ViewInfos for views that match the supplied QueryParams. |
|
queryViewsSync(queryParams: ViewStoreRpc.QueryParams): ViewStoreRpc.ViewInfo[] |
|
|
removeTagFromView(args: { tag: string, viewId: RowIdOrString }): Promise<void> |
remove a tag from a view. |
|
renameCategorySelector(args: { id: RowIdOrString, name?: string }): Promise<void> |
Set the name of a category selector. |
|
renameDisplayStyle(args: { id: RowIdOrString, name?: string }): Promise<void> |
Set the name of a display style. |
|
renameModelSelector(args: { id: RowIdOrString, name?: string }): Promise<void> |
Set the name of a model selector. |
|
renameSearch(args: { id: RowIdOrString, name: string }): Promise<void> |
|
|
renameTag(args: { newName: string, oldName: string }): Promise<void> |
rename an existing tag. |
|
renameTimeline(args: { id: RowIdOrString, name?: string }): Promise<void> |
Set the name of a render timeline. |
|
renameView(args: { name: string, viewId: RowIdOrString }): Promise<void> |
Set the name of a view. |
|
renameViewGroup(args: { groupId: RowIdOrString, name: string }): Promise<void> |
Set the name of a view group. |
|
updateCategorySelector(args: ViewStoreRpc.NameOrId & { selector: ViewStoreRpc.SelectorProps }): Promise<void> |
Update the properties of a category selector. |
|
updateDisplayStyle(args: ViewStoreRpc.NameOrId & { className: string, settings: DisplayStyleSettingsProps }): Promise<void> |
Update the properties of a display style. |
|
updateModelSelector(args: ViewStoreRpc.NameOrId & { selector: ViewStoreRpc.SelectorProps }): Promise<void> |
Update the properties of a model selector. |
|
updateTimeline(args: ViewStoreRpc.NameOrId & { timeline: RenderSchedule.ScriptProps }): Promise<void> |
Update the properties of a render timeline. |
|
updateViewDefinition(args: { viewDefinition: ViewDefinitionProps, viewId: RowIdOrString }): Promise<void> |
Update the properties of a view definition. |
|
updateViewShared(arg: { isShared: boolean, owner?: string, viewId: RowIdOrString }): Promise<void> |
Change a view from shared to private, or vice versa. |
|