public interface IField
Modifier and Type | Method and Description |
---|---|
boolean |
canRead()
For this field instance, evaluates any Field Level Security Rules that apply to the current user's Context and
returns true if the user has permission to read the field value.
|
boolean |
canWrite()
For this field instance, evaluates any Field Level Security Rules that apply to the current user's Context and
returns true if the user has permission to write to the field value during an update.
|
DataType |
getDataType()
Returns the data type for this field.
|
IFieldDefinition |
getFieldDefinition()
Returns the field definition.
|
Id |
getId()
Returns the id for this field.
|
java.lang.String |
getName()
Returns the system name for this field.
|
boolean |
hasChanged()
Checks if the field value has changed.
|
boolean |
isEncrypted()
Determines whether the field definition is configured to be encrypted in the database.
|
boolean |
isNull()
Checks if the field value is null.
|
IFieldDefinition getFieldDefinition()
DataType getDataType()
java.lang.String getName()
Id getId()
boolean isNull()
boolean hasChanged()
boolean canRead()
For this field instance, evaluates any Field Level Security Rules that apply to the current user's Context and returns true if the user has permission to read the field value. This evaluation is only performed on IField instances returned from IResourceService and related objects (e.g. IGRCObject), For an IField returned from IQueryService query, this method will not evaluate the permissions and the flag will return the default value of true. Field Level Security rules are still enforced at the Query Service layer to restrict read access to the data.
This method does not consider the user's Profile configuration or Field Dependencies for the field. This check is not applicable to System Fields, Name, Description, Created By, etc.
boolean canWrite()
For this field instance, evaluates any Field Level Security Rules that apply to the current user's Context and returns true if the user has permission to write to the field value during an update. This evaluation is only performed on IField instances returned from IResourceService and related interfaces (e.g. IGRCObject). For an IField returned from IQueryService query, this method will not evaluate the permissions and the flag will return the default value of true.
This method does not consider the user's Profile configuration or Field Dependencies for the field. This check is not applicable to System Fields, Name, Description, Created By, etc.
boolean isEncrypted()
Determines whether the field definition is configured to be encrypted in the database. Default is false.
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2019. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.