Annotation Type Function


  • @Target({METHOD,TYPE})
    @Retention(RUNTIME)
    @Documented
    public @interface Function
    Annotation for mapping iKnowBase Classic Portlet to iKnowBase JavaSDK Portlet implementation method.
    • Function signature should be `public Map functionName(Map input)`.
    • Map input will never be null.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      Assign a name to this function.
    • Element Detail

      • value

        String value
        Assign a name to this function.

        The value must match expression ^[a-zA-Z][a-zA-Z0-9_$]+$.

        "value" is the default annotation property and supports using the @PortletMapping annotation with a simple String without explicitly using the "value" property.