Interface Transformer<From,​To>

  • Type Parameters:
    From - the original type
    To - the target type

    public interface Transformer<From,​To>
    Defines method to transform an item in another one.
    Since:
    8.1.0
    Version:
    $Revision$ $Date$
    • Method Detail

      • transform

        To transform​(From from)
              throws PortalException
        Returns the transformed object.
        Parameters:
        from - the original object.
        Returns:
        the transformed object.
        Throws:
        PortalException
        Since:
        8.1.0