Class PersonalizationFactory

    • Constructor Detail

      • PersonalizationFactory

        public PersonalizationFactory()
    • Method Detail

      • getInstance

        public final Object getInstance​(int id,
                                        Class targetClass)
        Description copied from interface: WrapperFactory
        Returns an instance of the specified class wrapping the specified id.
        Specified by:
        getInstance in interface WrapperFactory
        Overrides:
        getInstance in class SiteWorksWrapperFactory
        Parameters:
        id - The identifier for the new instance.
        targetClass - The type of the new instance
        Returns:
        The new instance of the specified type, with the specified id.
      • getInstance

        public final Object getInstance​(String uuid,
                                        Class targetClass)
        Description copied from interface: NodeFactory
        Creates an instance of the specified class, with the specified id.
        Specified by:
        getInstance in interface NodeFactory
        Parameters:
        uuid - The identifier for the new instance.
        targetClass - The type of the new instance
        Returns:
        The new instance of the specified type, with the specified id.
      • getInstance

        public final Object getInstance​(javax.jcr.Node node,
                                        Class targetClass)
        Description copied from interface: NodeFactory
        Creates an instance of the specified class.
        Specified by:
        getInstance in interface NodeFactory
        Parameters:
        node - the node that should be given to the constructor
        targetClass - The type of the new instance
        Returns:
        The new instance of the specified type