public static class DataPolicyMetadata.PermissionMetaData extends Object implements DataPolicy.DataPermission, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
allowAlter |
protected Boolean |
allowCreate |
protected Boolean |
allowDelete |
protected Boolean |
allowExecute |
protected Boolean |
allowRead |
protected Boolean |
allowUpdate |
| Constructor and Description |
|---|
DataPolicyMetadata.PermissionMetaData() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allows(DataPolicy.PermissionType type) |
Boolean |
getAllowAlter()
Is "ALTER" allowed?
|
Boolean |
getAllowCreate()
Is "CREATE" allowed?
|
Boolean |
getAllowDelete()
Is "DELETE" allowed?
|
Boolean |
getAllowExecute()
Is "EXECUTE" allowed?
|
Boolean |
getAllowRead()
Is "SELECT" allowed?
|
Boolean |
getAllowUpdate()
Is "INSERT/UPDATE" allowed?
|
String |
getResourceName()
Get the Resource Name that Data Permission representing
|
String |
getType() |
void |
setAllowAlter(Boolean allowAlter) |
void |
setAllowCreate(Boolean value) |
void |
setAllowDelete(Boolean value) |
void |
setAllowExecute(Boolean allowExecute) |
void |
setAllowRead(Boolean value) |
void |
setAllowUpdate(Boolean value) |
void |
setResourceName(String value) |
String |
toString() |
protected Boolean allowCreate
protected Boolean allowRead
protected Boolean allowUpdate
protected Boolean allowDelete
protected Boolean allowExecute
protected Boolean allowAlter
public DataPolicyMetadata.PermissionMetaData()
public String getResourceName()
DataPolicy.DataPermissiongetResourceName in interface DataPolicy.DataPermissionpublic void setResourceName(String value)
public Boolean getAllowCreate()
DataPolicy.DataPermissiongetAllowCreate in interface DataPolicy.DataPermissionpublic void setAllowCreate(Boolean value)
public Boolean getAllowRead()
DataPolicy.DataPermissiongetAllowRead in interface DataPolicy.DataPermissionpublic void setAllowRead(Boolean value)
public Boolean getAllowUpdate()
DataPolicy.DataPermissiongetAllowUpdate in interface DataPolicy.DataPermissionpublic void setAllowUpdate(Boolean value)
public Boolean getAllowDelete()
DataPolicy.DataPermissiongetAllowDelete in interface DataPolicy.DataPermissionpublic void setAllowDelete(Boolean value)
public String getType()
public Boolean allows(DataPolicy.PermissionType type)
public Boolean getAllowAlter()
DataPolicy.DataPermissiongetAllowAlter in interface DataPolicy.DataPermissionpublic Boolean getAllowExecute()
DataPolicy.DataPermissiongetAllowExecute in interface DataPolicy.DataPermissionpublic void setAllowAlter(Boolean allowAlter)
public void setAllowExecute(Boolean allowExecute)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.