Documentation ¶
Index ¶
- type Scope
- func (s Scope) Add(ctx domain.RequestContext, page page.Page) (err error)
- func (s Scope) Delete(ctx domain.RequestContext, page page.Page) (err error)
- func (s Scope) DeleteDocument(ctx domain.RequestContext, page page.Page) (err error)
- func (s Scope) Documents(ctx domain.RequestContext, keywords string) (results []search.DocumentSearch, err error)
- func (s Scope) Rebuild(ctx domain.RequestContext, p page.Page) (err error)
- func (s Scope) Update(ctx domain.RequestContext, page page.Page) (err error)
- func (s Scope) UpdateDocument(ctx domain.RequestContext, page page.Page) (err error)
- func (s Scope) UpdateLevel(ctx domain.RequestContext, page page.Page) (err error)
- func (s Scope) UpdateSequence(ctx domain.RequestContext, page page.Page) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scope ¶
Scope provides data access to MySQL.
func (Scope) DeleteDocument ¶
DeleteDocument removes document search entries (legacy name: searchDeleteDocument)
func (Scope) Documents ¶
func (s Scope) Documents(ctx domain.RequestContext, keywords string) (results []search.DocumentSearch, err error)
Documents searches the documents that the client is allowed to see, using the keywords search string, then audits that search. Visible documents include both those in the client's own organisation and those that are public, or whose visibility includes the client.
func (Scope) UpdateDocument ¶
UpdateDocument search entries for document (legacy name: searchUpdateDocument).
func (Scope) UpdateLevel ¶
UpdateLevel ... legacy name: searchUpdateLevel)
func (Scope) UpdateSequence ¶
UpdateSequence ... (legacy name: searchUpdateSequence)
Click to show internal directories.
Click to hide internal directories.