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.DataPermission
getResourceName
in interface DataPolicy.DataPermission
public void setResourceName(String value)
public Boolean getAllowCreate()
DataPolicy.DataPermission
getAllowCreate
in interface DataPolicy.DataPermission
public void setAllowCreate(Boolean value)
public Boolean getAllowRead()
DataPolicy.DataPermission
getAllowRead
in interface DataPolicy.DataPermission
public void setAllowRead(Boolean value)
public Boolean getAllowUpdate()
DataPolicy.DataPermission
getAllowUpdate
in interface DataPolicy.DataPermission
public void setAllowUpdate(Boolean value)
public Boolean getAllowDelete()
DataPolicy.DataPermission
getAllowDelete
in interface DataPolicy.DataPermission
public void setAllowDelete(Boolean value)
public String getType()
public Boolean allows(DataPolicy.PermissionType type)
public Boolean getAllowAlter()
DataPolicy.DataPermission
getAllowAlter
in interface DataPolicy.DataPermission
public Boolean getAllowExecute()
DataPolicy.DataPermission
getAllowExecute
in interface DataPolicy.DataPermission
public void setAllowAlter(Boolean allowAlter)
public void setAllowExecute(Boolean allowExecute)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.