fferpcore.SObjectFieldPathglobal with sharing class SObjectFieldPath Contains a list of SObject fields connected via lookups. Methods
SObjectFieldPathglobal SObjectFieldPath(SObjectType origin, String queryString) SObjectFieldPathglobal SObjectFieldPath(SObjectType origin, SObjectField field) SObjectFieldPathglobal SObjectFieldPath(SObjectType origin, List<SObjectField> path) getRootSObjectTypeglobal SObjectType getRootSObjectType() Return ValueThe SObjectType at which the path begins. getQueryStringglobal String getQueryString() Return ValueA SOQL field string that can be used to read all necessary fields in order to reach the data. appendglobal fferpcore.SObjectFieldPath append(SObjectField newField) Return ValueA copy of the path with the given field added to the end. appendglobal fferpcore.SObjectFieldPath append(List<SObjectField> additionalPath) Return ValueA copy of the path with the given fields added to the end. readValueglobal Object readValue(SObject record) Return ValueThe data contained in the last field of the path on the given record. isAccessibleglobal Boolean isAccessible() Return ValueTrue if the user has permission to read all of the fields in the path. isUpdateableglobal Boolean isUpdateable() Return ValueTrue if the user has read permission for all the fields in the path, and write permission for the last field in the path. |