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 the Data Permission represents
|
DataPolicy.ResourceType |
getResourceType()
Get the type of resource the Data Permission is represents
|
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) |
void |
setResourceType(DataPolicy.ResourceType resourceType) |
String |
toString() |
public String getResourceName()
DataPolicy.DataPermissiongetResourceName in interface DataPolicy.DataPermissionpublic void setResourceName(String value)
public void setResourceType(DataPolicy.ResourceType resourceType)
public DataPolicy.ResourceType getResourceType()
DataPolicy.DataPermissiongetResourceType in interface DataPolicy.DataPermissionpublic 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)
public Boolean getAllowLanguage()
DataPolicy.DataPermissiongetAllowLanguage in interface DataPolicy.DataPermissionpublic void setAllowLanguage(Boolean value)
public String getCondition()
DataPolicy.DataPermissiongetCondition in interface DataPolicy.DataPermissionpublic void setCondition(String filter)
public String getMask()
DataPolicy.DataPermissiongetMask in interface DataPolicy.DataPermissionpublic void setMask(String mask)
public Integer getOrder()
DataPolicy.DataPermissiongetOrder in interface DataPolicy.DataPermissionpublic void setOrder(Integer order)
public Object getResolvedCondition()
public void setResolvedCondition(Object resolvedCondition)
public Object getResolvedMask()
public void setResolvedMask(Object resolvedMask)
public Boolean getConstraint()
DataPolicy.DataPermissiongetConstraint in interface DataPolicy.DataPermissionpublic void setConstraint(Boolean constraint)
Copyright © 2017 JBoss by Red Hat. All rights reserved.