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 Boolean
getAllowAlter()
Is "ALTER" allowed?Boolean
getAllowCreate()
Is "CREATE" allowed?Boolean
getAllowDelete()
Is "DELETE" allowed?Boolean
getAllowExecute()
Is "EXECUTE" allowed?Boolean
getAllowLanguage()
Is "LANGUAGE" allowed?Boolean
getAllowRead()
Is "SELECT" allowed?Boolean
getAllowUpdate()
Is "INSERT/UPDATE" allowed?String
getCondition()
The condition stringBoolean
getConstraint()
If the condition acts as a constraint.String
getMask()
The column mask stringInteger
getOrder()
The column mask orderString
getResourceName()
Get the Resource Name that the Data Permission representsDataPolicy.ResourceType
getResourceType()
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.
-
-