org.teiid.adminapi
Interface DataPolicy.DataPermission

All Known Implementing Classes:
DataPolicyMetadata.PermissionMetaData
Enclosing interface:
DataPolicy

public static interface DataPolicy.DataPermission


Method Summary
 java.lang.String getResourceName()
          Get the Resource Name that Data Permission representing
 boolean isAllowCreate()
          Is "CREATE" allowed?
 boolean isAllowDelete()
          Is "DELETE" allowed?
 boolean isAllowRead()
          Is "SELECT" allowed?
 boolean isAllowUpdate()
          Is "INSERT/UPDATE" allowed?
 

Method Detail

getResourceName

java.lang.String getResourceName()
Get the Resource Name that Data Permission representing

Returns:

isAllowCreate

boolean isAllowCreate()
Is "CREATE" allowed?

Returns:

isAllowRead

boolean isAllowRead()
Is "SELECT" allowed?

Returns:

isAllowUpdate

boolean isAllowUpdate()
Is "INSERT/UPDATE" allowed?

Returns:

isAllowDelete

boolean isAllowDelete()
Is "DELETE" allowed?

Returns:


Copyright © 2010. All Rights Reserved.