Interface WorkflowBusinessItem
public interface WorkflowBusinessItem
A bean to provide easy access to business item related variables and operations of the running process. Don't use
this bean outside of a workflow. The bean will be accessible by using 'item' in your workflow expressions.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve the community id of the business item if present.Retrieve the UUID of the vocabulary of the business item, if possible, otherwise return null.getId()Retrieve the id of the business item.getName()Retrieve the verbalised form the the item.com.collibra.dgc.core.api.model.ResourceRetrieve the actualResourceobject of the business item.com.collibra.dgc.core.api.model.ResourceTypegetType()Retrieve theResourceTypeof the business item.Get the name of the Type of the business item.getUrl()Retrieve the url to be able to consult the business item directly in the application ornullif none.
-
Method Details
-
getId
UUID getId()Retrieve the id of the business item.- Returns:
- the id of the business item or
nullif not present
-
getType
com.collibra.dgc.core.api.model.ResourceType getType()Retrieve theResourceTypeof the business item.- Returns:
- the
ResourceTypeof the business item
-
getTypeName
String getTypeName()Get the name of the Type of the business item. Only returns a result if the current item is a Domain or Asset. Ifnullwill be returned.- Returns:
- The name of the type if possible.
-
getName
String getName()Retrieve the verbalised form the the item.- Returns:
- The string representation of the business item or empty string if none
-
getResource
com.collibra.dgc.core.api.model.Resource getResource()Retrieve the actualResourceobject of the business item. Returnsnullif none.- Returns:
- The resource object of the business item or
nullif none
-
getDomainId
UUID getDomainId()Retrieve the UUID of the vocabulary of the business item, if possible, otherwise return null.- Returns:
- the id of the vocabulary or
nullif none
-
getCommunityId
UUID getCommunityId()Retrieve the community id of the business item if present. It will only return the first parent community in the hierarchy.- Returns:
- The community of the business item or
nullif none
-
getUrl
String getUrl()Retrieve the url to be able to consult the business item directly in the application ornullif none.- Returns:
- The url
-