Class VOFiller<VO extends EntityVO>


  • public abstract class VOFiller<VO extends EntityVO>
    extends Object
    Marks vos to be filled in a batch
    • Constructor Detail

      • VOFiller

        public VOFiller​(Class<VO> voType)
    • Method Detail

      • add

        public VO add​(Long id)
        Adds a VO to be filled. The VO should contain only the id.
      • add

        public <T extends VO> T add​(Long id,
                                    Class<T> clazz)
        Adds a VO to be filled. The VO should contain only the id.
      • fill

        public void fill()
        Fills all added VOs
      • fetch

        protected abstract List<VO> fetch​(Set<Long> ids)
        Must be implemented to fetch VOS with the given ids