java.lang.Object
org.apache.polaris.extension.persistence.impl.eclipselink.models.ModelGrantRecord

@Entity public class ModelGrantRecord extends Object
GrantRecord model representing a privilege record of a securable granted to grantee. This is used to exchange the information with GRANT_RECORDS table
  • Constructor Details

    • ModelGrantRecord

      public ModelGrantRecord()
  • Method Details

    • getSecurableCatalogId

      public long getSecurableCatalogId()
    • getSecurableId

      public long getSecurableId()
    • getGranteeCatalogId

      public long getGranteeCatalogId()
    • getGranteeId

      public long getGranteeId()
    • getPrivilegeCode

      public int getPrivilegeCode()
    • builder

      public static ModelGrantRecord.Builder builder()
    • fromGrantRecord

      public static ModelGrantRecord fromGrantRecord(org.apache.polaris.core.entity.PolarisGrantRecord record)
    • toGrantRecord

      public static org.apache.polaris.core.entity.PolarisGrantRecord toGrantRecord(ModelGrantRecord model)