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: 17593 $ $Date: 2015-07-17 11:21:36 -0300 (Fri, 17 Jul 2015) $
    • 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