Class DefaultContentMetadataFunctionParameters


  • public class DefaultContentMetadataFunctionParameters
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addParameter​(java.lang.String parameterName, java.lang.String parameterValue)
      This function adds a parameter to the parameter Map.
      java.lang.String getParameter​(java.lang.String parameterName)
      This function returns a parameter value if a parameter was added in the addParameters function.
      • Methods inherited from class java.lang.Object

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

      • DefaultContentMetadataFunctionParameters

        public DefaultContentMetadataFunctionParameters()
        Can be used to send multiple parameters in one class
    • Method Detail

      • addParameter

        public void addParameter​(java.lang.String parameterName,
                                 java.lang.String parameterValue)
        This function adds a parameter to the parameter Map. After that you can read the parameters using the getParameters(String) function.
        Parameters:
        parameterName -
        This field is the parameter Name.
        It cannot be null.
        If you add a second parameter with the same name, the parameter value will be overwritten.
        parameterValue -
        This field is the parameter value.
      • getParameter

        public java.lang.String getParameter​(java.lang.String parameterName)
        This function returns a parameter value if a parameter was added in the addParameters function. If the parameter does not exist, "null" value will be returned.
        Parameters:
        parameterName -
        The parameter name which is used in the addParameters function.
        Returns:
        parameter