Package com.veeva.vault.sdk.api.workflow
Interface AvailableWorkflowMetadataCollectionResponse
public interface AvailableWorkflowMetadataCollectionResponse
Holds a list of
AvailableWorkflowMetadata.-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsWorkflow(String workflowName) Given the workflow name, checks to see if anAvailableWorkflowMetadataexists with the name.getWorkflow(String workflowName) Given the workflow name, obtains theAvailableWorkflowMetadata.Retrieves the list ofAvailableWorkflowMetadata.
-
Method Details
-
getWorkflow
Given the workflow name, obtains theAvailableWorkflowMetadata. This value is never null.- Parameters:
workflowName- public key name of the workflow. Cannot be null or empty. Workflow name must exist. For example,review_workflow__c.- Returns:
AvailableWorkflowMetadatafor the workflow
-
containsWorkflow
Given the workflow name, checks to see if anAvailableWorkflowMetadataexists with the name.- Parameters:
workflowName- public key name of the workflow. Cannot be null or empty. Workflow name must exist. For example,review_workflow__c.- Returns:
- true if the workflow is in this collection, otherwise false
-
getWorkflows
List<AvailableWorkflowMetadata> getWorkflows()Retrieves the list ofAvailableWorkflowMetadata.- Returns:
- a list of all the
AvailableWorkflowMetadata
-