Interface AssetSearchStoreFacade interface AssetSearchStoreFacade { innerColumnsStore : undefined | AbstractSearchColumnsStore ; isDataLoadedInner : boolean ; isLoadingInner : boolean ; isQueryInvalid : boolean ; metaSearchStore : AssetTypeMetaSearchStoreFacade ; routerStore : RouterStoreType ; savedSearchStore : SavedSearchStore < JsonData > ; searchEntityKey : SearchEntityKey ; searchPanel : AbstractSearchPanelStore ; searchResult : AbstractSearchResultStore ; viewVariant : undefined | string ; get columns () : ISearchColumn [] ; get columnsStore () : undefined | C ; get displayName () : string ; get isDataLoaded () : boolean ; get isLoading () : boolean ; get isSilent () : boolean ; get namespaceId () : keyof INamespace ; get savedSearchId () : string ; get savedSearchNamespaces () : SearchNamespaceId [] ; get searchHits () : SearchHit [] ; get searchNamespaceId () : SearchNamespaceId ; get tableColumns () : (
| TableColumnWithoutData < SearchHit , undefined > | (
TableColumnWithoutData<SearchHit, ISearchColumn> & { data: ISearchColumn; }
)
)
[] ; get totalRecords () : number ; get typeName () : string ; addSearchTerms ( terms : JsonData [] , defaultSearchPayloadKey : keyof ISearchPayload , ) : void ; changeShow ( column : ISearchColumn , checked : boolean ) : void ; changeShowAll ( checked : boolean ) : void ; checkResourceRight ( item : ILastSearchItem < JsonData > ) : boolean ; clearSearch () : void ; clearSearchEntityKey () : void ; createColumnStore ( metaModel : undefined | IMetaModel , ) : undefined | AbstractSearchColumnsStore ; doSearch () : Promise < void > ; doSearch ( namespaceId : SearchNamespaceId , typeName : string , displayName : string , ) : Promise < void > ; getSavedSearchItems ( isSystem ?: boolean , ) : Map < string , ILastSearchItem < JsonData > [] > ; initialize () : Promise < void > ; initSearchResult ( mainResponseKey : keyof ISearchPayload , searchResultCtor : ClassCtor < AbstractSearchResultStore < AbstractSearchPanelStore < AbstractSearchTerm , JsonData > , > , > , opts ?: SearchStoreOpts , ) : AbstractSearchResultStore ; loadData () : Promise < void > ; loadFromSelectedSearch () : void ; loadFromState () : void ; loadMeta () : Promise < undefined | IMetaModel > ; registerSearchQuery () : void ; searchData () : Promise < void > ; setIsQueryInvalid ( isInvalid : boolean ) : void ; setLoading ( isLoading : boolean ) : void ; setOpenSelectionGraph ( ids ?: string [] ) : void ; setSavedIndexByTerms ( searchTerms : JsonData [] , typeName : string ) : void ; setSortFields () : void ; setUrlQuery () : void ; setViewVariant ( variant : string ) : void ; toggleAdvancedMode ( advanced : boolean ) : void ; validateSearchTerms () : Promise < void > ; } Defined in app-sdk/index.d.ts:3836 Properties Protected
inner Columns Store is Data Loaded Inner isDataLoadedInner : boolean
Protected
is Loading Inner isLoadingInner : boolean
is Query Invalid isQueryInvalid : boolean
view Variant viewVariant : undefined | string
Accessors columns Store get columnsStore () : undefined | C Protected
saved Search Namespaces Methods Protected
add Search Terms addSearchTerms ( terms : JsonData [] , defaultSearchPayloadKey : keyof ISearchPayload , ) : void Parameters terms : JsonData [] defaultSearchPayloadKey : keyof ISearchPayload Returns void change Show All changeShowAll ( checked : boolean ) : void Protected
Abstract
check Resource Right clear Search Entity Key clearSearchEntityKey () : void Protected
Abstract
create Column Store do Search doSearch () : Promise < void > doSearch ( namespaceId : SearchNamespaceId , typeName : string , displayName : string , ) : Promise < void > Parameters namespaceId : SearchNamespaceId typeName : string displayName : string Returns Promise < void > get Saved Search Items Parameters Optional
isSystem : boolean initialize initialize () : Promise < void > Protected
init Search Result Protected
Abstract
load Data loadData () : Promise < void > Protected
load From Selected Search loadFromSelectedSearch () : void Protected
register Search Query registerSearchQuery () : void search Data searchData () : Promise < void > set Is Query Invalid setIsQueryInvalid ( isInvalid : boolean ) : void Protected
set Loading setLoading ( isLoading : boolean ) : void set Open Selection Graph setOpenSelectionGraph ( ids ?: string [] ) : void Returns void Defined in app-sdk/index.d.ts:3837 Protected
set Saved Index By Terms setSavedIndexByTerms ( searchTerms : JsonData [] , typeName : string ) : void set View Variant setViewVariant ( variant : string ) : void toggle Advanced Mode toggleAdvancedMode ( advanced : boolean ) : void Protected
validate Search Terms validateSearchTerms () : Promise < void > Returns Promise < void > Promise.resolve() в случае успешной валидации и Promise.reject() с ValidationException в случае неуспешной.
Public