Package org.teiid.adminapi
Interface DataPolicy.DataPermission
-
- All Known Implementing Classes:
DataPolicyMetadata.PermissionMetaData
- Enclosing interface:
- DataPolicy
public static interface DataPolicy.DataPermission
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BooleangetAllowAlter()Is "ALTER" allowed?BooleangetAllowCreate()Is "CREATE" allowed?BooleangetAllowDelete()Is "DELETE" allowed?BooleangetAllowExecute()Is "EXECUTE" allowed?BooleangetAllowLanguage()Is "LANGUAGE" allowed?BooleangetAllowRead()Is "SELECT" allowed?BooleangetAllowUpdate()Is "INSERT/UPDATE" allowed?StringgetCondition()The condition stringBooleangetConstraint()If the condition acts as a constraint.StringgetMask()The column mask stringIntegergetOrder()The column mask orderStringgetResourceName()Get the Resource Name that the Data Permission representsDataPolicy.ResourceTypegetResourceType()Get the type of resource the Data Permission is represents
-
-
-
Method Detail
-
getResourceName
String getResourceName()
Get the Resource Name that the Data Permission represents- Returns:
-
getResourceType
DataPolicy.ResourceType getResourceType()
Get the type of resource the Data Permission is represents- Returns:
-
getAllowCreate
Boolean getAllowCreate()
Is "CREATE" allowed?- Returns:
-
getAllowRead
Boolean getAllowRead()
Is "SELECT" allowed?- Returns:
-
getAllowUpdate
Boolean getAllowUpdate()
Is "INSERT/UPDATE" allowed?- Returns:
-
getAllowDelete
Boolean getAllowDelete()
Is "DELETE" allowed?- Returns:
-
getAllowAlter
Boolean getAllowAlter()
Is "ALTER" allowed?- Returns:
-
getAllowExecute
Boolean getAllowExecute()
Is "EXECUTE" allowed?- Returns:
-
getAllowLanguage
Boolean getAllowLanguage()
Is "LANGUAGE" allowed?- Returns:
-
getCondition
String getCondition()
The condition string
-
getMask
String getMask()
The column mask string
-
getOrder
Integer getOrder()
The column mask order
-
getConstraint
Boolean getConstraint()
If the condition acts as a constraint.
-
-