Class ModelGrantRecord
java.lang.Object
org.apache.polaris.extension.persistence.impl.eclipselink.models.ModelGrantRecord
GrantRecord model representing a privilege record of a securable granted to grantee. This is used
to exchange the information with GRANT_RECORDS table
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelGrantRecord.Builderbuilder()static ModelGrantRecordfromGrantRecord(org.apache.polaris.core.entity.PolarisGrantRecord record) longlongintlonglongstatic org.apache.polaris.core.entity.PolarisGrantRecordtoGrantRecord(ModelGrantRecord model)
-
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
-
fromGrantRecord
public static ModelGrantRecord fromGrantRecord(org.apache.polaris.core.entity.PolarisGrantRecord record) -
toGrantRecord
public static org.apache.polaris.core.entity.PolarisGrantRecord toGrantRecord(ModelGrantRecord model)
-