Class ActionRequest

java.lang.Object
com.morpheusdata.core.action.ActionRequest

public class ActionRequest extends Object
Describes a request to evaluate or run an ActionProvider. Carries the provider coordinates (namespace/key), the target reference (refType/refId the provider loads its model from), the invoking user, and a free-form data map. For bulk actions the request can carry multiple target ids in refIds; refId remains the single-target convenience and stays populated with the first id when a bulk list is supplied.
  • Field Details

  • Constructor Details

    • ActionRequest

      public ActionRequest()
  • Method Details

    • getNamespace

      public String getNamespace()
    • setNamespace

      public void setNamespace(String namespace)
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • getRefType

      public String getRefType()
    • setRefType

      public void setRefType(String refType)
    • getRefId

      public Long getRefId()
    • setRefId

      public void setRefId(Long refId)
    • getRefIds

      public List<Long> getRefIds()
    • setRefIds

      public void setRefIds(List<Long> refIds)
    • getUser

      public UserIdentity getUser()
    • setUser

      public void setUser(UserIdentity user)
    • getData

      public Map getData()
    • setData

      public void setData(Map data)