public interface ObjectLifecycleRoleMetadataCollectionResponse
ObjectLifecycleRoleMetadata
collection.Modifier and Type | Method and Description |
---|---|
boolean |
containsRole(String roleName)
Given the object lifecycle role name, checks to see if an
ObjectLifecycleRoleMetadata exists with the
name. |
ObjectLifecycleRoleMetadata |
getRole(String roleName)
Given the object lifecycle role name, retrieves the
ObjectLifecycleRoleMetadata . |
List<ObjectLifecycleRoleMetadata> |
getRoles()
Retrieves all the object lifecycle roles in this collection as a list of
ObjectLifecycleRoleMetadata . |
ObjectLifecycleRoleMetadata getRole(String roleName)
ObjectLifecycleRoleMetadata
. This value is never null.roleName
- name of the object lifecycle role. Cannot be null or empty. Object lifecycle role must exist.
For example, reviewer__c
ObjectLifecycleRoleMetadata
with the given nameRuntimeException
- if the operation fails to find an object lifecycle role for the given name in this
responseboolean containsRole(String roleName)
ObjectLifecycleRoleMetadata
exists with the
name.roleName
- name of the object lifecycle role. Cannot be null or empty. Object lifecycle role must exist.
For example, reviewer__c
ObjectLifecycleRoleMetadata
exists with the given name, false otherwiseList<ObjectLifecycleRoleMetadata> getRoles()
ObjectLifecycleRoleMetadata
.ObjectLifecycleRoleMetadata
in this collectionCopyright © Veeva Systems 2017–2023. All rights reserved.