public static class DataPolicyMetadata.PermissionMetaData extends Object implements DataPolicy.DataPermission, Serializable
Modifier and Type | Field and Description |
---|---|
protected byte |
bits |
protected byte |
bitsSet |
Constructor and Description |
---|
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 |
getAllowLanguage()
Is "LANGUAGE" allowed?
|
Boolean |
getAllowRead()
Is "SELECT" allowed?
|
Boolean |
getAllowUpdate()
Is "INSERT/UPDATE" allowed?
|
String |
getCondition()
The condition string
|
Boolean |
getConstraint()
If the condition acts as a constraint.
|
String |
getMask()
The column mask string
|
Integer |
getOrder()
The column mask order
|
Object |
getResolvedCondition() |
Object |
getResolvedMask() |
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 |
setAllowLanguage(Boolean value) |
void |
setAllowRead(Boolean value) |
void |
setAllowUpdate(Boolean value) |
void |
setCondition(String filter) |
void |
setConstraint(Boolean constraint) |
void |
setMask(String mask) |
void |
setOrder(Integer order) |
void |
setResolvedCondition(Object resolvedCondition) |
void |
setResolvedMask(Object resolvedMask) |
void |
setResourceName(String value) |
String |
toString() |
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)
public Boolean getAllowLanguage()
DataPolicy.DataPermission
getAllowLanguage
in interface DataPolicy.DataPermission
public void setAllowLanguage(Boolean value)
public String getCondition()
DataPolicy.DataPermission
getCondition
in interface DataPolicy.DataPermission
public void setCondition(String filter)
public String getMask()
DataPolicy.DataPermission
getMask
in interface DataPolicy.DataPermission
public void setMask(String mask)
public Integer getOrder()
DataPolicy.DataPermission
getOrder
in interface DataPolicy.DataPermission
public void setOrder(Integer order)
public Object getResolvedCondition()
public void setResolvedCondition(Object resolvedCondition)
public Object getResolvedMask()
public void setResolvedMask(Object resolvedMask)
public Boolean getConstraint()
DataPolicy.DataPermission
getConstraint
in interface DataPolicy.DataPermission
public void setConstraint(Boolean constraint)
Copyright © 2016 JBoss by Red Hat. All rights reserved.