Class DefaultPresentationModelFactory

    • Constructor Detail

      • DefaultPresentationModelFactory

        public DefaultPresentationModelFactory()
    • Method Detail

      • createPresentationModel

        @Nonnull
        public PresentationModel createPresentationModel​(@Nonnull
                                                         java.lang.Object owner,
                                                         @Nonnull
                                                         java.util.Collection<java.lang.Object> localRoles)
        Creates a new instance of PresentationModel with some roles or role factories.
        Specified by:
        createPresentationModel in interface PresentationModelFactory
        Parameters:
        owner - the related datum
        localRoles - roles or RoleFactory instances to put in the presentation model
        Returns:
        the new instance