Package org.teiid.adminapi
Interface DataPolicy
-
- All Known Implementing Classes:
DataPolicyMetadata
public interface DataPolicy
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDataPolicy.Contextstatic interfaceDataPolicy.DataPermissionstatic classDataPolicy.PermissionTypestatic classDataPolicy.ResourceType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Get the description of the Data PolicyList<String>getMappedRoleNames()Mapped Container Role names for this Data PolicyStringgetName()Get the Name of the Data PolicyList<DataPolicy.DataPermission>getPermissions()Get the List of Permissions for this Data Policy.BooleanisAllowCreateTemporaryTables()If the policy allows for temporary table usagebooleanisAnyAuthenticated()If the policy applies to any authenticated userbooleanisGrantAll()If the policy grants all permissions
-
-
-
Method Detail
-
getName
String getName()
Get the Name of the Data Policy- Returns:
-
getDescription
String getDescription()
Get the description of the Data Policy- Returns:
-
getPermissions
List<DataPolicy.DataPermission> getPermissions()
Get the List of Permissions for this Data Policy.- Returns:
-
getMappedRoleNames
List<String> getMappedRoleNames()
Mapped Container Role names for this Data Policy- Returns:
-
isAnyAuthenticated
boolean isAnyAuthenticated()
If the policy applies to any authenticated user- Returns:
-
isGrantAll
boolean isGrantAll()
If the policy grants all permissions- Returns:
-
isAllowCreateTemporaryTables
Boolean isAllowCreateTemporaryTables()
If the policy allows for temporary table usage- Returns:
-
-