Class ViewModel<T>

  • Type Parameters:
    T - Type of object in the model.

    public class ViewModel<T>
    extends java.lang.Object
    This model will be provided from Morpheus-ui to the plugin controller. It contains the request/response
    • Field Summary

      Modifier and Type Field Description
      T object  
      java.util.Map<java.lang.String,​java.lang.Object> opts  
      javax.servlet.ServletRequest request  
      javax.servlet.ServletResponse response  
      java.lang.Integer status  
      User user  
    • Constructor Summary

      Constructor Description
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • object

        public T object
      • request

        public javax.servlet.ServletRequest request
      • response

        public javax.servlet.ServletResponse response
      • status

        public java.lang.Integer status
      • user

        public User user
      • opts

        public java.util.Map<java.lang.String,​java.lang.Object> opts
    • Constructor Detail

      • ViewModel

        public ViewModel()