Class DefaultEmbeddedAspectran

    • Constructor Detail

      • DefaultEmbeddedAspectran

        public DefaultEmbeddedAspectran()
    • Method Detail

      • execute

        public <V> V execute​(InstantAction<V> instantAction)
        Description copied from interface: EmbeddedAspectran
        Executes an instant activity.
        Parameters:
        instantAction - the instant action
        Returns:
        An object that is the result of performing an instant activity
      • translate

        public Translet translate​(java.lang.String name)
        Description copied from interface: EmbeddedAspectran
        Executes the translet.
        Parameters:
        name - the translet name
        Returns:
        the Translet object
      • translate

        public Translet translate​(java.lang.String name,
                                  java.lang.String body)
        Description copied from interface: EmbeddedAspectran
        Executes the translet.
        Parameters:
        name - the translet name
        body - the request body
        Returns:
        the Translet object
      • translate

        public Translet translate​(java.lang.String name,
                                  ParameterMap parameterMap)
        Description copied from interface: EmbeddedAspectran
        Executes the translet with the given parameters.
        Parameters:
        name - the translet name
        parameterMap - the parameter map
        Returns:
        the Translet object
      • translate

        public Translet translate​(java.lang.String name,
                                  ParameterMap parameterMap,
                                  java.util.Map<java.lang.String,​java.lang.Object> attributeMap)
        Description copied from interface: EmbeddedAspectran
        Executes the translet with the given parameters and attributes.
        Parameters:
        name - the translet name
        parameterMap - the parameter map
        attributeMap - the attribute map
        Returns:
        the Translet object
      • translate

        public Translet translate​(java.lang.String name,
                                  java.util.Map<java.lang.String,​java.lang.Object> attributeMap)
        Description copied from interface: EmbeddedAspectran
        Executes the translet with the given parameters.
        Parameters:
        name - the translet name
        attributeMap - the attribute map
        Returns:
        the Translet object
      • translate

        public Translet translate​(java.lang.String name,
                                  MethodType method)
        Description copied from interface: EmbeddedAspectran
        Executes the translet without the supplied variables.
        Parameters:
        name - the translet name
        method - the request method
        Returns:
        the Translet object
      • translate

        public Translet translate​(java.lang.String name,
                                  MethodType method,
                                  ParameterMap parameterMap)
        Description copied from interface: EmbeddedAspectran
        Executes the translet with the given parameters.
        Parameters:
        name - the translet name
        method - the request method
        parameterMap - the parameter map
        Returns:
        the Translet object
      • translate

        public Translet translate​(java.lang.String name,
                                  MethodType method,
                                  java.util.Map<java.lang.String,​java.lang.Object> attributeMap)
        Description copied from interface: EmbeddedAspectran
        Executes the translet with the given attributes.
        Parameters:
        name - the translet name
        method - the request method
        attributeMap - the attribute map
        Returns:
        the Translet object
      • translate

        public Translet translate​(java.lang.String name,
                                  MethodType method,
                                  ParameterMap parameterMap,
                                  java.util.Map<java.lang.String,​java.lang.Object> attributeMap,
                                  java.lang.String body)
        Description copied from interface: EmbeddedAspectran
        Executes the translet with the given parameters and attributes.
        Parameters:
        name - the translet name
        method - the request method
        parameterMap - the parameter map
        attributeMap - the attribute map
        body - the request body
        Returns:
        the Translet object
      • render

        public java.lang.String render​(java.lang.String templateId)
        Description copied from interface: EmbeddedAspectran
        Renders the template without the supplied variables.
        Parameters:
        templateId - the template id
        Returns:
        the output string of the template
      • render

        public java.lang.String render​(java.lang.String templateId,
                                       ParameterMap parameterMap)
        Description copied from interface: EmbeddedAspectran
        Renders the template with the given parameters.
        Parameters:
        templateId - the template id
        parameterMap - the parameter map
        Returns:
        the output string of the template
      • render

        public java.lang.String render​(java.lang.String templateId,
                                       java.util.Map<java.lang.String,​java.lang.Object> attributeMap)
        Description copied from interface: EmbeddedAspectran
        Renders the template with the given attributes.
        Parameters:
        templateId - the template id
        attributeMap - the attribute map
        Returns:
        the output string of the template
      • render

        public java.lang.String render​(java.lang.String templateId,
                                       ParameterMap parameterMap,
                                       java.util.Map<java.lang.String,​java.lang.Object> attributeMap)
        Description copied from interface: EmbeddedAspectran
        Renders the template with the given parameters and attributes.
        Parameters:
        templateId - the template id
        parameterMap - the parameter map
        attributeMap - the attribute map
        Returns:
        the output string of the template