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 class
DataPolicy.Context
static interface
DataPolicy.DataPermission
static class
DataPolicy.PermissionType
static class
DataPolicy.ResourceType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription()
Get the description of the Data PolicyList<String>
getMappedRoleNames()
Mapped Container Role names for this Data PolicyString
getName()
Get the Name of the Data PolicyList<DataPolicy.DataPermission>
getPermissions()
Get the List of Permissions for this Data Policy.Boolean
isAllowCreateTemporaryTables()
If the policy allows for temporary table usageboolean
isAnyAuthenticated()
If the policy applies to any authenticated userboolean
isGrantAll()
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:
-
-