Class DispositionLifecycleGet

java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript

public class DispositionLifecycleGet extends DispositionAbstractBase
Implementation for Java backed webscript to return full details about a disposition lifecycle (next disposition action).
Author:
Gavin Cornwell
  • Constructor Details

    • DispositionLifecycleGet

      public DispositionLifecycleGet()
  • Method Details

    • setPersonService

      public void setPersonService(PersonService personService)
      Sets the PersonService instance
      Parameters:
      personService - The PersonService instance
    • executeImpl

      protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
      Overrides:
      executeImpl in class org.springframework.extensions.webscripts.DeclarativeWebScript
    • createEventModel

      protected Map<String,Object> createEventModel(EventCompletionDetails event)
      Helper to create a model to represent the given event execution.
      Parameters:
      event - The event to create a model for
      Returns:
      Map representing the model
    • addUsersRealName

      protected void addUsersRealName(Map<String,Object> model, String userName, String propertyPrefix)
      Adds the given username's first and last name to the given model.
      Parameters:
      model - The model to add the first and last name to
      userName - The username of the user to lookup
      propertyPrefix - The prefix of the property name to use when adding to the model