Class ProjectTemplateBean.EntitySelectModelImpl

    • Constructor Detail

      • EntitySelectModelImpl

        public EntitySelectModelImpl()
    • Method Detail

      • save

        public String save​(String targetView,
                           boolean addSuccessMessage,
                           boolean addErrorMessage)
        Description copied from interface: IEntitySelectModel
        Saves the currently selected model to the database. If it IEntitySelectModel.isNew(), creates a new entry in the database, otherwise updates the existing entry. Performs a redirect to the view, if given.
        Specified by:
        save in interface IEntitySelectModel<Projekt>
        Overrides:
        save in class EntitySelectModel<Projekt>
        Parameters:
        targetView - If given, performs a redirect to this view if the action succeeds. Must be a name of Enum.name(), or a relative link.
        addSuccessMessage - Whether a success message is added to the faces context (in case of success).
        addErrorMessage - Whether an error message is added to the faces context (in case of an error).
        Returns:
        Outcome for the redirection.