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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.UUID
getCommunityId()
Retrieve the community id of the business item if present.java.util.UUID
getDomainId()
Retrieve the UUID of the vocabulary of the business item, if possible, otherwise return null.java.util.UUID
getId()
Retrieve the id of the business item.java.lang.String
getName()
Retrieve the verbalised form the the item.com.collibra.dgc.core.api.model.Resource
getResource()
Retrieve the actualResource
object of the business item.com.collibra.dgc.core.api.model.ResourceType
getType()
Retrieve theResourceType
of the business item.java.lang.String
getTypeName()
Get the name of the Type of the business item.java.lang.String
getUrl()
Retrieve the url to be able to consult the business item directly in the application ornull
if none.
-
-
-
Method Detail
-
getId
java.util.UUID getId()
Retrieve the id of the business item.- Returns:
- the id of the business item or
null
if not present
-
getType
com.collibra.dgc.core.api.model.ResourceType getType()
Retrieve theResourceType
of the business item.- Returns:
- the
ResourceType
of the business item
-
getTypeName
java.lang.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. Ifnull
will be returned.- Returns:
- The name of the type if possible.
-
getName
java.lang.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 actualResource
object of the business item. Returnsnull
if none.- Returns:
- The resource object of the business item or
null
if none
-
getDomainId
java.util.UUID getDomainId()
Retrieve the UUID of the vocabulary of the business item, if possible, otherwise return null.- Returns:
- the id of the vocabulary or
null
if none
-
getCommunityId
java.util.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
null
if none
-
getUrl
java.lang.String getUrl()
Retrieve the url to be able to consult the business item directly in the application ornull
if none.- Returns:
- The url
-
-