Class AiAccessReport

java.lang.Object
com.kingsrook.qqq.backend.core.actions.ai.AiAccessReport
All Implemented Interfaces:
Serializable

public class AiAccessReport extends Object implements Serializable
What the AI tool kernel may do with a table (and optionally one record) for one user - built by AiToolKernel.describeAccess(com.kingsrook.qqq.backend.core.model.session.QSession, java.lang.String, java.io.Serializable), e.g. for the record Developer screen. Field entries map the shared FieldAccessHelper decisions. Permission-scoped: for a table the user can't see (or read), or a record the user can't read, it says "not available" and holds nothing else about the table or record.
See Also:
  • Constructor Details

    • AiAccessReport

      public AiAccessReport()
  • Method Details

    • getTableName

      public String getTableName()
      Getter for tableName
    • setTableName

      public void setTableName(String tableName)
      Setter for tableName
    • withTableName

      public AiAccessReport withTableName(String tableName)
      Fluent setter for tableName
    • getTableLabel

      public String getTableLabel()
      Getter for tableLabel
    • setTableLabel

      public void setTableLabel(String tableLabel)
      Setter for tableLabel
    • withTableLabel

      public AiAccessReport withTableLabel(String tableLabel)
      Fluent setter for tableLabel
    • getPrimaryKey

      public Serializable getPrimaryKey()
      Getter for primaryKey
    • setPrimaryKey

      public void setPrimaryKey(Serializable primaryKey)
      Setter for primaryKey
    • withPrimaryKey

      public AiAccessReport withPrimaryKey(Serializable primaryKey)
      Fluent setter for primaryKey
    • getRecordLabel

      public String getRecordLabel()
      Getter for recordLabel
    • setRecordLabel

      public void setRecordLabel(String recordLabel)
      Setter for recordLabel
    • withRecordLabel

      public AiAccessReport withRecordLabel(String recordLabel)
      Fluent setter for recordLabel
    • getRecordReadable

      public Boolean getRecordReadable()
      Getter for recordReadable
    • setRecordReadable

      public void setRecordReadable(Boolean recordReadable)
      Setter for recordReadable
    • withRecordReadable

      public AiAccessReport withRecordReadable(Boolean recordReadable)
      Fluent setter for recordReadable
    • getTableExposure

      public AiExposure getTableExposure()
      Getter for tableExposure
    • setTableExposure

      public void setTableExposure(AiExposure tableExposure)
      Setter for tableExposure
    • withTableExposure

      public AiAccessReport withTableExposure(AiExposure tableExposure)
      Fluent setter for tableExposure
    • getReason

      public String getReason()
      Getter for reason
    • setReason

      public void setReason(String reason)
      Setter for reason
    • withReason

      public AiAccessReport withReason(String reason)
      Fluent setter for reason
    • getTools

      public List<AiToolApplicability> getTools()
      Getter for tools
    • setTools

      public void setTools(List<AiToolApplicability> tools)
      Setter for tools
    • withTools

      public AiAccessReport withTools(List<AiToolApplicability> tools)
      Fluent setter for tools
    • getFields

      public List<AiFieldAccess> getFields()
      Getter for fields
    • setFields

      public void setFields(List<AiFieldAccess> fields)
      Setter for fields
    • withFields

      public AiAccessReport withFields(List<AiFieldAccess> fields)
      Fluent setter for fields
    • getUserTablePermissions

      public Map<String,Boolean> getUserTablePermissions()
      Getter for userTablePermissions
    • setUserTablePermissions

      public void setUserTablePermissions(Map<String,Boolean> userTablePermissions)
      Setter for userTablePermissions
    • withUserTablePermissions

      public AiAccessReport withUserTablePermissions(Map<String,Boolean> userTablePermissions)
      Fluent setter for userTablePermissions